:root {
  --primary: #22c55e;
  --primary-hover: #16a34a;
  --secondary: #0d9488;
  --teal-gradient: linear-gradient(90deg, #32bb82 0%, #109489 100%);
  --bg-white: #ffffff;
  --bg-gray: #f1f1f1;
  --bg-green-light: #f0fdf4;
  --text-dark: #000;
  --text-gray: #1f1f1f;
  --text-muted: #6b7280;
  --border-color: #e5e7eb;
  --radius-lg: 48px;
  --radius-md: 16px;
  --container-width: 1920px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: var(--bg-white);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  font-size: 1.25rem;
  font-weight: 400;
}

main section,
header,
footer {
  padding-left: 160px !important;
  padding-right: 160px !important;
}

.sp-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.5;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(270deg, #00928f 4.8%, #cfdc34 156.59%);
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(90deg, #00928f 4.8%, #cfdc34 156.59%);
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 146, 143, 0.2);
}

.btn-primary-lg {
  background: linear-gradient(270deg, #00928f 4.8%, #cfdc34 156.59%);
  color: white;
}

.btn-primary-lg:hover {
  background: linear-gradient(90deg, #00928f 4.8%, #cfdc34 156.59%);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(34, 197, 94, 0.2);
}

.btn-link {
  color: var(--text-dark);
  font-weight: 600;
  padding: 10px 24px;
  border: 1.5px solid #000000;
  background: transparent;
  transition: var(--transition);
}

.btn-link:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: var(--primary);
  border-color: var(--primary);
}

/* Navbar */
#header-placeholder {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.sp-navbar {
  padding: 20px 0;
  width: 100%;
  border-bottom: 1px solid transparent;
  background-color: transparent;
  transition: 0.3s all;
}

.sp-navbar.sticky {
  background-color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--border-color);
}

.sp-navbar .sp-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sp-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sp-logo-icon {
  height: 66px;
  width: auto;
  object-fit: contain;
}

.sp-nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.sp-nav-links a {
  font-weight: 500;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
  padding: 8px 12px;
  z-index: 1;
}

.sp-nav-links a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  width: 45px;
  height: 45px;
  background: radial-gradient(
    circle,
    rgba(34, 197, 94, 0.2) 0%,
    rgba(34, 197, 94, 0) 70%
  );
  border-radius: 50%;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  opacity: 0;
  z-index: -1;
}

.sp-nav-links a:hover {
  color: var(--primary);
}

.sp-nav-links a.active {
  color: var(--primary);
}

.sp-nav-links a.active::before {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

body.menu-open {
  overflow: hidden;
}

.sp-mobile-auth {
  display: none;
}

.sp-nav-auth {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dark);
}

/* ==========================================================================
    HOME PAGE
========================================================================== */

.sp-hero {
  padding: 80px 0 80px;
  overflow: hidden;
  position: relative;
  min-height: calc(100dvh - 107px);
  display: flex;
  background: url(./assets/gero-bg-gradient.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 0 60%;
}

.sp-hero-grid {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-direction: column;
}

.sp-hero-content {
  width: 50%;
}

.sp-hero-content .subtitle {
  margin-bottom: 20px;
}

.sp-hero-content h1 {
  font-size: 3.75rem;
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 32px;
}

.sp-hero-content .description {
  margin-bottom: 40px;
}

.sp-hero-image {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: end;
  pointer-events: none;
}

.sp-hero-image img.hero-mockup {
  width: 60%;
  object-position: right bottom;
  object-fit: contain;
}

.hero-bg-decoration {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: auto;
  z-index: 1;
  opacity: 0.8;
}

/* Why Choose Sharepay */
.sp-why-choose {
  background: linear-gradient(270deg, #00928f 4.8%, #cfdc34 156.59%);
  color: white;
}

.sp-why-choose-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.sp-why-choose-text {
  flex: 1;
  padding: 52px 0;
}

.sp-why-choose-text .badge {
  display: inline-block;
  padding: 6px 16px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  font-size: 1.125rem;
  margin-bottom: 24px;
  font-weight: 600;
}

.sp-why-choose-text h2 {
  font-size: 2.5rem;
  line-height: 1.2;
  max-width: 500px;
}

.sp-features-summary {
  flex: 1.8;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 52px;
  background: rgb(255 255 255 / 13%);
}

.sp-feature-summary-item {
  color: var(--text-dark);
  padding: 20px;
  border-radius: var(--radius-md);
  transition: none !important;
}

.sp-feature-summary-item * {
  color: white;
}

.sp-feature-summary-item:hover {
  background-color: white;
}

.sp-feature-summary-item:hover * {
  color: var(--text-dark);
}

.sp-icon-box {
  width: 48px;
  height: 48px;
  background-color: #56c4ad;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  margin-bottom: 20px;
}

.sp-feature-summary-item:hover .sp-icon-box {
  background-color: #b7e1d8;
}

.sp-icon-box img {
  max-width: 24px;
  max-height: 24px;
  object-fit: contain;
}

.sp-feature-summary-item h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.sp-feature-summary-item p {
  font-size: 1.125rem;
  margin-bottom: 40px;
}

.sp-feature-row {
  margin-bottom: 20px;
  position: relative;
}

.sp-feature-row-1 {
  padding-top: 100px;
}

.sp-feature-row-1::before {
  content: "";
  position: absolute;
  inset: -5%;
  top: 0;
  bottom: 5%;
  border-radius: 45px;
  background: #8da49312;
}

.sp-feature-row-2::before {
  content: "";
  position: absolute;
  inset: -5%;
  top: 130px;
  bottom: -60%;
  border-radius: 45px;
  background: #8da49312;
}

.row-1-1 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.sp-feature-card {
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.large-card {
  background-color: #e0ece3;
  flex-direction: row;
}

.bg-green-light {
  background-color: #89ca9a;
}

.bg-gray-light {
  background-color: var(--bg-gray);
}

.sp-card-content {
  padding: 40px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sp-feature-card h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.sp-feature-card h3 {
  font-size: 1.875rem;
  margin-bottom: 16px;
}

.sp-feature-card p {
  color: var(--text-gray);
  margin-bottom: 24px;
}

.row-1-1 .sp-feature-card p,
.row-1-1 .sp-feature-card ul li,
.row-1-1 .tag {
  font-size: 1.125rem;
}

.sp-feature-card ul {
  margin-bottom: 30px;
}

.sp-feature-card ul li {
  position: relative;
  padding-left: 24px;
}

.sp-feature-card ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  font-size: 1rem;
  line-height: 1;
  top: 5px;
}

.tag {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  font-weight: 500;
  width: fit-content;
}

.sp-card-image {
  width: 40%;
  display: flex;
  align-items: end;
  justify-content: end;
  position: relative;
}

.sp-card-image img {
  height: auto;
  object-fit: contain;
}

.large-card .sp-card-image img:first-child {
  position: absolute;
  width: 60%;
  right: 60%;
  top: 0%;
  z-index: 2;
}

.large-card .sp-card-image img:last-child {
  width: 100%;
  position: relative;
  z-index: 2;
}

/* Specific Card Layouts */
.bg-green-light .sp-card-content,
.bg-gray-light .sp-card-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Card 1: Instant Sharing (Image Left, Content Right) */
.sp-feature-row:nth-child(2) .bg-green-light:first-of-type {
  flex-direction: row;
  align-items: center;
  min-height: 380px;
  padding: 0;
}

.sp-feature-row:nth-child(2) .bg-green-light:first-of-type .sp-card-image {
  width: 40%;
  margin: 0;
  padding: 30px 24px;
  display: flex;
  justify-content: center;
}

.sp-feature-row:nth-child(2) .bg-green-light:first-of-type .sp-card-image img {
  margin: 0;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.sp-feature-row:nth-child(2) .bg-green-light:first-of-type .sp-card-content {
  flex: 1.2;
  padding: 40px 40px 40px 0;
  justify-content: center;
}

/* Card 2: Use It Anywhere (Content Left, Image Right) */
.sp-feature-row:nth-child(2) .bg-gray-light:nth-child(2) {
  flex-direction: row;
  align-items: center;
  padding: 0;
}

.sp-feature-row:nth-child(2) .bg-gray-light:nth-child(2) .sp-card-content {
  flex: 1.2;
  padding: 30px 0 30px 28px;
  z-index: 1;
  width: auto;
  justify-content: center;
}

.sp-feature-row:nth-child(2) .bg-gray-light:nth-child(2) .sp-card-image {
  padding: 30px;
  padding-bottom: 0;
  width: 45%;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-self: flex-end;
}

.sp-feature-row:nth-child(2) .bg-gray-light:nth-child(2) .sp-card-image img {
  margin: 0;
  width: 100%;
  object-fit: contain;
}

.sp-feature-row-3 .bg-gray-light {
  background: #ddebe1;
}

.sp-feature-row:nth-child(3) .bg-gray-light:first-child .sp-card-image {
  margin-bottom: auto;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.sp-feature-row:nth-child(3) .bg-gray-light:first-child .sp-card-content h3,
.sp-feature-row:nth-child(3) .bg-gray-light:first-child .sp-card-content p,
.sp-feature-row:nth-child(3) .bg-gray-light:first-child .sp-card-content .tag {
  text-align: center;
}

.sp-feature-row:nth-child(3) .bg-gray-light:first-child .sp-card-content .tag {
  margin: 0 auto;
}

.sp-feature-row:nth-child(3) .bg-gray-light:first-child .sp-card-content ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 20px;
}

.sp-feature-row:nth-child(3) .bg-gray-light:first-child .sp-card-image img {
  width: 34%;
}

/* Card 4: Smart Reminders (Text Top-Left, Image Bottom-Right) */
.sp-feature-row:nth-child(3) .bg-green-light:last-child {
  display: flex;
  flex-direction: row;
  position: relative;
  min-height: 400px;
}

.sp-feature-row:nth-child(3) .bg-green-light:last-child .sp-card-content {
  padding: 40px 0 40px 30px;
  flex: 1;
  z-index: 2;
  justify-content: center;
}

.sp-feature-row:nth-child(3) .bg-green-light:last-child .sp-card-image {
  width: 50%;
  z-index: 1;
  padding: 40px 30px 0;
  display: flex;
  align-self: flex-end;
}

.sp-feature-row:nth-child(3) .bg-green-light:last-child .sp-card-image img {
  width: 100%;
}

.sp-feature-row-3 {
  margin-bottom: 0;
}

/* ==========================================================================
   How It Works Page
========================================================================== */

.sp-how-it-works {
  padding: 100px 0;
}

.sp-how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 120px;
}

.sp-how-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sp-how-image img {
  width: 100%;
  z-index: 1;
  transform: scale(1.1);
  animation: float 6s ease-in-out infinite;
}

.sp-how-content h2 {
  color: var(--text-dark);
  margin-bottom: 40px;
  font-size: 2.5rem;
}

.sp-how-hero {
  padding: 100px 0 100px;
  margin-top: -107px;
  background: url(./assets/gero-bg-gradient-flip.png);
  background-position: right;
  background-size: cover;
  background-repeat: no-repeat;
}

.sp-how-hero-grid {
  display: flex;
  padding-top: 107px;
}

.sp-how-hero .sp-how-hero-image {
  width: 56%;
  z-index: 5;
  padding-left: 60px;
}

.sp-how-hero .sp-how-hero-image img {
  width: 100%;
}

.sp-how-hero .sp-hero-content {
  display: flex;
  flex-direction: column;
  width: 44%;
  padding: 50px 0;
}

.sp-how-hero h1 {
  font-size: 3.75rem;
  line-height: 1.3;
  margin-bottom: 50px;
  font-weight: 700;
}

.text-right-aligned {
  text-align: right;
}

.text-right-aligned .description {
  margin-left: auto;
}

.sp-how-sections {
  padding-bottom: 100px;
  margin-top: -222px;
}

.sp-how-card {
  position: relative;
  border-radius: 60px;
  margin-bottom: 100px;
  color: white;
}

.sp-how-card .card-text {
  padding: 100px;
  flex: 1;
}

.sp-how-card .card-image {
  position: absolute;
}

.bg-gradient-light {
  background: linear-gradient(
    275.14deg,
    #cfdc34 -78.52%,
    #03938d 120%,
    #00928f 141.59%
  );
}

.bg-gradient-dark {
  background: linear-gradient(274.2deg, #00928f -5.73%, #cfdc34 144.81%);
}

.card-number {
  position: relative;
  font-size: 10rem;
  font-weight: 700;
  color: #ffffff7d;
  line-height: 1;
  width: fit-content;
}

.card-01 {
  z-index: 4;
}

.card-02 {
  z-index: 3;
}

.card-03 {
  z-index: 2;
}

.card-04 {
  z-index: 1;
}

.card-01 .card-number {
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: -30px;
}

.card-02 .card-number {
  right: 50%;
  transform: translateX(50%);
  margin-bottom: -80px;
}

.card-03 .card-number {
  left: 89%;
  transform: translateX(-50%);
  margin-bottom: -150px;
}

.card-04 .card-number {
  right: 60%;
  transform: translateX(50%);
  margin-bottom: -80px;
}

.card-05 .card-number {
  left: 68%;
  transform: translateX(-50%);
  margin-bottom: -80px;
}

.card-01 .card-image {
  padding: 100px 100px 100px 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 38%;
}

.card-02 .card-image {
  padding: 0 0 100px 10%;
  left: 0;
  top: 0;
  bottom: 0;
  width: 25%;
}

.card-03 .card-image {
  padding: 100px 100px 0 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 26%;
  max-width: 460px;
}

.card-03 .card-image img {
  object-position: bottom;
}

.card-04 .card-image {
  padding: 0 0 100px 0;
  left: 0;
  top: 0;
  bottom: 0;
  width: 26%;
}

.card-04 .card-image img {
  object-position: left top;
}

.card-05 .card-image {
  padding: 0 100px 100px 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 22%;
}

.sp-how-sections .card-grid {
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  overflow: hidden;
}

.sp-how-sections .card-grid.reverse .card-text {
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: end;
}

.sp-how-sections .card-grid.reverse .card-text * {
  text-align: end;
}

.sp-how-sections .card-grid.reverse .hw-pill-container .hw-pills {
  justify-content: end;
}

.card-text h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.3;
}

.card-text .hw-sub-section {
  margin-top: 50px;
}

/* .card-text .hw-sub-section:last-of-type {
  margin-top: 40px;
} */

.sp-how-card .card-text > h2,
.sp-how-card .card-text > p,
.sp-how-card .card-text > .hw-sub-section {
  width: 60%;
}

.hw-cta-banner .card-text > h2,
.hw-cta-banner .card-text > p,
.hw-cta-banner .card-text > h4 {
  text-align: center;
  width: 100% !important;
}

.hw-cta-banner .card-text > h4 {
  margin-top: 40px;
  /* font-size: 18px; */
}

.card-text p {
  font-size: 1.25rem;
  line-height: 1.6;
  opacity: 0.9;
}

.sp-how-card:not(.card-05):not(.card-06)::before {
  content: "";
  background: url(./assets/card-path-line.png);
  position: absolute;
  width: 28%;
  bottom: 60px;
  top: unset;
  right: 50%;
  aspect-ratio: 1 / 1;
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: contain;
  transform: translateY(100%);
  z-index: 9;
}

.sp-how-card.card-02::before {
  right: 24% !important;
  transform: translateY(100%) rotatex(-180deg) rotatez(180deg) !important;
}

.sp-how-card.card-03::before {
  right: 48% !important;
  transform: translateY(calc(100% - 23%)) rotatez(206deg) !important;
}

.sp-how-card.card-04::before {
  right: 42% !important;
  transform: translateY(calc(100% - 30px)) rotatex(-180deg) rotatez(194deg) !important;
}

.sp-how-card .hw-pill-container {
  margin-top: 60px;
}

.card-05 .hw-pill-container {
  margin-top: 100px;
}

.sp-how-card .hw-pill-container h3 {
  margin-bottom: 20px;
}

.sp-how-card .hw-pill-container .hw-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: disc;
  color: black;
}

.sp-how-card .hw-pill-container .hw-pill {
  background: white;
  padding: 4px 30px 4px 20px;
  border-radius: 100px;
  list-style-position: inside;
  display: flex;
  align-items: center;
}

.sp-how-card .hw-pill-container .hw-pill::marker {
  margin-right: 10px;
}

.sp-how-card .hw-pill-container .hw-pill::before {
  content: "";
  width: 5px;
  height: 5px;
  min-width: 5px;
  background: black;
  border-radius: 100px;
  display: flex;
  margin-right: 10px;
}

.card-image img {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
  object-fit: contain;
  object-position: top;
}

.sp-steps-list {
  position: relative;
}

.sp-steps-list::before {
  content: "";
  position: absolute;
  left: 6.5px;
  top: 5px;
  bottom: 5px;
  width: 1px;
  border-left: 1px dashed #e5e7eb;
  z-index: 0;
}

.sp-step-progress-line {
  position: absolute;
  left: 6.5px;
  top: 5px;
  width: 1px;
  height: 0;
  border-left: 1px dashed #000;
  z-index: 2;
  transition: height 0.1s linear;
}

.sp-steps-list li {
  display: flex;
  gap: 25px;
  margin-bottom: 30px;
  position: relative;
  opacity: 0.3;
  filter: grayscale(100%);
  transition: all 0.5s ease-in-out;
}

.sp-steps-list li:last-of-type {
  margin-bottom: 0;
}

.sp-steps-list li.active {
  opacity: 1;
  filter: grayscale(0%);
}

.sp-step-dot {
  width: 12px;
  height: 12px;
  background-color: #e5e7eb;
  border-radius: 50%;
  flex-shrink: 0;
  z-index: 3;
  margin-top: 5px;
  transition: background-color 0.5s ease;
}

.sp-steps-list li.active .sp-step-dot {
  background-color: #000;
}

.sp-step-content h4 {
  font-size: 1.25rem;
  /* font-size: 1.3rem; */
  font-weight: 700;
  margin-bottom: 0px;
  color: var(--text-dark);
}

.sp-step-content p {
  color: #555;
  font-size: 1.125rem;
  line-height: 1.5;
}

.sp-download-section {
  background-color: var(--bg-green-light);
}

.sp-download-grid {
  background-color: var(--bg-green-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 90px;
  padding: 100px 0px 0;
  overflow: hidden;
  position: relative;
}

.sp-download-text {
  flex: 1;
}

.sp-download-text h2 {
  font-size: 3.75rem;
  line-height: 1.4;
  margin-bottom: 24px;
  font-weight: 500;
}

.sp-download-text h2 span {
  background: linear-gradient(270deg, #00928f 4.8%, #cfdc34 156.59%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.sp-download-text p {
  /* font-size: 1.125rem; */
  color: var(--text-gray);
  margin-bottom: 24px;
}

.cta-text {
  font-weight: 600;
  margin-bottom: 32px !important;
}

.app-buttons {
  display: flex;
  gap: 16px;
}

.app-buttons img,
.app-buttons svg {
  height: 48px;
  width: auto !important;
  max-width: 100%;
}

.sp-download-text {
  padding-bottom: 100px;
}

.sp-download-image {
  width: 50%;
  margin-left: -10%;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  align-self: flex-end;
  pointer-events: none;
  z-index: 1;
}

.sp-download-image img {
  height: auto;
  width: 100%;
  object-fit: contain;
  object-position: bottom right;
  display: block;
}

/* ==========================================================================
    FOOTER
========================================================================== */
.sp-footer {
  background-color: #000;
  color: white;
  padding: 100px 0;
}

.sp-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 60px;
}

.sp-footer .sp-logo-icon {
  height: 86px;
  width: auto;
}

.sp-footer-links h4 {
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 30px;
  color: white;
}

.sp-footer-links ul li {
  margin-bottom: 10px;
}

.sp-footer-links ul li a {
  color: #999;
  font-size: 1.125rem;
}

.sp-footer-links ul li a:hover {
  color: white;
}
.sp-footer-links ul li a.active{
  color: var(--primary);
}

.sp-footer-contact a {
  color: #999;
  margin-bottom: 10px;
  font-size: 1.125rem;
}

.sp-footer-contact a:hover {
  color: white;
}

.sp-footer-contact h3 {
  font-weight: 500;
  margin-bottom: 10px;
}

.sp-footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.social-links {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.social-links a {
  width: 44px;
  height: 44px;
  background-color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
  color: white;
}

.social-links a i {
  width: 20px;
  height: 20px;
}

.social-links a:hover {
  background: linear-gradient(270deg, #00928f 4.8%, #cfdc34 156.59%);
  transform: translateY(-3px);
}

.sp-track-desig {
  position: absolute;
  bottom: 50px;
  right: 0;
  z-index: -1;
}

/* ==========================================================================
    CONTACT PAGE
========================================================================== */
.sp-contact-section {
  padding: 100px 0 100px;
  background: url(./assets/gero-bg-gradient.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 0 80%;
}

.sp-contact-wrapper {
  display: flex;
  border-radius: 10px;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  width: 90% !important;
  margin: 0 auto;
  padding: 10px;
  background: url(./assets/gero-bg-gradient-flip.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 80% 0;
}

.sp-contact-info-card {
  flex: 0 0 40%;
  background: #f1f9f6;
  padding: 40px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.sp-contact-info-card::after {
  content: "";
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: rgba(34, 197, 94, 0.1);
  border-radius: 50%;
}

.sp-contact-info-card .info-header {
  margin-bottom: auto;
}

.sp-contact-info-card .info-header h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #000;
}

.sp-contact-info-card .info-header p {
  color: #333;
  margin-bottom: 30px;
}

.sp-contact-info-card .info-items {
  margin-bottom: 80px;
}

.sp-contact-info-card .info-item {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 25px;
  align-items: flex-start;
}

.sp-contact-info-card .info-item svg {
  width: 24px;
  height: auto;
}

.sp-contact-info-card .info-item p {
  flex: 1;
}

.sp-contact-info-card .info-item i {
  color: #000;
}

.sp-contact-info-card .info-item span {
  color: #333;
}

.sp-contact-info-card .info-socials {
  display: flex;
  gap: 15px;
}

.sp-contact-info-card .social-icon {
  width: 40px;
  height: 40px;
  background-color: #000;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.social-icon img {
  height: 18px;
  width: auto;
  object-fit: contain;
}

.sp-contact-info-card .social-icon:hover {
  background: var(--teal-gradient);
}

.sp-contact-form-card {
  flex: 1;
  padding: 70px 60px;
}

.contact-form .form-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 53px 46px;
  margin-bottom: 100px;
}

.contact-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: calc(50% - 23px);
}

.contact-form > .form-group {
  width: calc(100%);
}

.contact-form .form-group label {
  font-size: 1.125rem;
  font-weight: 500;
  color: #8d8d8d;
}
.contact-form .form-group label span{
  color: red;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
  border: none;
  border-bottom: 1px solid #ccc;
  padding: 10px 0;
  outline: none;
  font-size: 0.95rem;
  transition: var(--transition);
  background-color: transparent;
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
  border-bottom-color: #000;
}

.contact-form .form-subject {
  margin-bottom: 40px;
  display: flex;
  gap: 20px 60px;
}
.contact-form .form-subject p{
  white-space: nowrap;
}
.contact-form .form-subject p,
.contact-form .form-group input,
.contact-form .form-group textarea {
  font-weight: 400;
  font-size: 1.125rem;
  margin-bottom: 0;
}

.contact-form .subject-options {
  display: flex;
  gap: 20px 30px;
  flex-wrap: wrap;
}

.contact-form .radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 1.125rem;
  width: fit-content;
}

.contact-form .radio-option input {
  display: none;
}

.contact-form .radio-custom {
  width: 14px;
  height: 14px;
  border: 1px solid #ccc;
  background: #ccc;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-form .radio-option input:checked + .radio-custom {
  background: #000;
  border-color: #000;
}

.contact-form .radio-option input:checked + .radio-custom::after {
  content: "✓";
  color: #fff;
  font-size: 8px;
}

.contact-form .form-submit {
  display: flex;
  justify-content: flex-end;
  margin-top: 40px;
}

.contact-form .form-submit .btn-primary-lg {
  padding: 14px 40px;
  font-size: 1.25rem;
  border-radius: 6px;
}

.contact-form .alert {
  padding: 15px;
  margin-bottom: 20px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 500;
}

.contact-form .alert-success {
  background-color: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.contact-form .alert-error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ==========================================================================
    PRIVACY POLICY AND T&C
========================================================================== */

.sp-policy-main {
  padding: 100px 0 100px;
  background: linear-gradient(
    180deg,
    #ffffff 60%,
    rgba(220, 246, 224, 0.4) 100%
  );
  min-height: 100vh;
}

.sp-policy-container {
  margin: 0 auto;
  padding: 0 40px;
}

.sp-policy-title {
  font-size: 2.7rem;
  font-weight: 700;
  margin-bottom: 40px;
  background: linear-gradient(260deg, #00928f 4.8%, #cfdc34 158.59%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.sp-policy-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  margin-top: 40px;
  margin-bottom: 15px;
}

.sp-policy-sub-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #444;
  margin-top: 30px;
  margin-bottom: 15px;
}

.sp-policy-text {
  font-size: 1.25rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 20px;
}

.sp-policy-list {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 20px;
}

.sp-policy-list li {
  font-size: 1.25rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 5px;
}

/* ==========================================================================
    MEDIA QUERY
========================================================================== */
@media (max-width: 1600px) {
  main section,
  header,
  footer {
    padding-left: 120px !important;
    padding-right: 120px !important;
  }

  html {
    font-size: 14px;
  }

  .sp-how-sections {
    margin-top: -200px;
  }
  .card-02 .card-number {
      margin-bottom: -66px;
  }
}

@media (max-width: 1400px) {
  main section,
  header,
  footer {
    padding-left: 80px !important;
    padding-right: 80px !important;
  }

  html {
    font-size: 12px;
  }

  .sp-logo-icon {
    height: 60px;
  }

  .sp-footer .sp-logo-icon {
    height: 70px;
  }

  .sp-how-card .card-text {
    padding: 80px;
  }

  .card-01 .card-image {
    padding: 80px 80px 80px 0;
  }

  .card-02 .card-image {
    padding: 0 0 80px 10%;
  }

  .card-03 .card-image {
    padding: 80px 80px 0 0;
  }

  .card-04 .card-image {
    padding: 0 0 80px 0;
  }

  .card-05 .card-image {
    padding: 0 80px 80px 0;
  }
  .sp-how-hero h1{
    margin-bottom: 30px;
  }
  .sp-how-card.card-03::before {
    transform: translateY(calc(100% - 14%)) rotatez(206deg) !important;
  }
  .sp-how-card .card-text > h2,
  .sp-how-card .card-text > p,
  .sp-how-card .card-text > .hw-sub-section {
    width: 54%;
  }
  .card-02 .card-number {
      margin-bottom: -56px;
  }
}

@media (max-width: 1200px) {
  main section,
  header,
  footer {
    padding-left: 60px !important;
    padding-right: 60px !important;
  }

  .sp-logo-icon {
    height: 55px;
  }

  .sp-footer .sp-logo-icon {
    height: 65px;
  }

  .sp-why-choose-content {
    flex-direction: column;
    gap: 0;
  }

  .sp-why-choose-text {
    padding: 80px 0 40px;
  }

  .sp-how-card {
    margin-bottom: 80px;
  }

  .sp-why-choose-text,
  .sp-features-summary {
    flex: unset;
    width: 100%;
  }

  .sp-features-summary {
    margin-bottom: 80px;
    padding: 20px;
    gap: 0;
  }

  .sp-feature-row-1,
  .sp-download-grid {
    padding-top: 80px;
  }

  .sp-download-text {
    padding-bottom: 80px;
  }

  .sp-how-it-works,
  .sp-footer {
    padding: 80px 0;
  }

  .sp-feature-summary-item p {
    margin-bottom: 20px;
  }

  .sp-download-text h2 br {
    display: none;
  }

  .sp-how-hero-grid {
    padding-top: 80px;
  }

  .sp-how-sections {
    padding-bottom: 80px;
    margin-top: -160px;
  }

  .sp-how-card .card-text {
    padding: 60px;
  }

  .card-01 .card-image {
    padding: 60px 60px 60px 0;
  }

  .card-02 .card-image {
    padding: 0 0 60px 10%;
  }

  .card-03 .card-image {
    padding: 60px 60px 0 0;
  }

  .card-04 .card-image {
    padding: 0 0 60px 0;
  }

  .card-05 .card-image {
    padding: 0 60px 60px 0;
  }

  .sp-how-card .hw-pill-container {
    margin-top: 40px;
  }

  .card-text .hw-sub-section {
    margin-top: 34px;
  }

  /* .card-text .hw-sub-section:last-of-type {
    margin-top: 25px;
  } */

  .card-04 .card-number {
    right: 66%;
  }

  .sp-contact-section {
    padding: 80px 0;
  }

  .contact-form .form-subject {
    gap: 20px 40px;
  }

  .contact-form .subject-options {
    gap: 20px;
  }

  .sp-policy-main {
    padding: 80px 0 80px;
  }
  .sp-why-choose-text h2{
    max-width: 426px;
  }
}

@media (max-width: 1024px) {
  .sp-contact-wrapper {
    flex-direction: column;
    padding: 10px;
  }

  .sp-contact-info-card {
    flex: 1;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 30px;
  }

  .sp-contact-form-card {
    padding: 30px;
  }

  .sp-contact-info-card .info-items {
    margin-bottom: 30px;
  }

  .sp-contact-section {
    padding: 40px 0;
  }
  .sp-contact-info-card .info-item {
    gap: 20px;
  }
}

@media (max-width: 1023px) {
  .sp-how-grid {
    gap: 60px;
  }

  .row-1-1 {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .sp-footer-grid {
    gap: 60px;
  }

  .sp-feature-row:nth-child(3) .bg-green-light:last-child .sp-card-image {
    width: 40%;
  }
}

@media (max-width: 980px) {
  .sp-nav-auth {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
    z-index: 1001;
    position: relative;
  }

  .sp-nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 0;
    overflow: hidden;
    height: 100vh;
    background-color: white;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    transition: 0.4s ease-in-out;
    z-index: 999;
    opacity: 0;
  }

  .sp-nav-links.active {
    right: 0;
    width: 100%;
    opacity: 1;
  }

  .sp-mobile-auth {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
  }

  .sp-mobile-auth .btn {
    width: 200px;
  }

  .sp-hero-content h1,
  .sp-download-text h2 {
    font-size: 2.4rem;
  }
  .sp-why-choose-text h2{
    max-width: 360px;
  }

  .sp-why-choose-text h2,
  .sp-feature-card h2,
  .sp-how-content h2 {
    font-size: 2.1rem;
  }

  .sp-feature-card h3 {
    font-size: 1.9rem;
  }

  .sp-feature-summary-item p {
    margin-bottom: 0;
  }

  .sp-download-grid {
    flex-direction: column;
    gap: 0;
  }

  .sp-download-image {
    position: absolute;
    right: 0;
    bottom: 0;
  }

  .sp-download-text p,
  .sp-download-text .app-buttons {
    max-width: 70%;
  }

  .sp-hero {
    padding: 60px 0 60px;
    min-height: fit-content;
  }

  .sp-footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
  }

  .sp-footer-grid .sp-footer-brand {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
  }

  .sp-logo-icon {
    height: 50px;
  }

  .sp-how-hero-grid {
    padding-top: 60px;
  }

  .sp-how-sections {
    margin-top: -100px;
  }

  .sp-how-card .card-text {
    padding: 50px;
  }

  .sp-how-hero .sp-how-hero-image {
    padding-left: 0;
  }

  .card-01 .card-image {
    right: -50px;
  }

  .sp-how-sections .card-grid {
    flex-direction: column-reverse;
    gap: 0 !important;
  }

  .sp-how-sections .card-03 .card-grid {
    flex-direction: column;
  }

  .sp-how-sections .card-04 .card-grid {
    align-items: start;
  }

  .sp-how-card .card-text > h2,
  .sp-how-card .card-text > p,
  .sp-how-card .card-text > .hw-sub-section {
    width: 100%;
  }

  .sp-how-card .card-image {
    position: unset;
    width: 70%;
    padding: 50px 50px 0;
  }

  .card-02 .card-image,
  .card-03 .card-image,
  .card-04 .card-image,
  .card-05 .card-image {
    max-width: 400px;
    padding-top: 0 !important;
  }

  .card-04 .card-image {
    padding-left: 0 !important;
    margin: 0;
    max-width: 100%;
  }

  .card-number {
    left: 50% !important;
    right: unset;
    transform: translateX(-50%) !important;
    margin-bottom: 10px !important;
  }

  .sp-how-sections .card-grid.reverse .card-text {
    justify-content: start;
    align-items: start;
  }

  .sp-how-sections .card-grid.reverse .card-text * {
    text-align: start;
  }

  .sp-how-sections .card-grid.reverse .hw-pill-container .hw-pills {
    justify-content: start;
  }

  .card-text h2 {
    font-size: 2.3rem;
  }

  .sp-how-card:not(.card-05):not(.card-06)::before {
    display: none !important;
  }

  .sp-how-card {
    margin-bottom: 60px;
  }

  .sp-how-sections {
    padding-bottom: 60px;
  }

  .sp-policy-title {
    font-size: 2.1rem;
  }

  .sp-policy-section-title {
    font-size: 1.7rem;
  }
  .contact-form .form-submit .btn-primary-lg {
    font-size: 1.125rem;
  }
  
}

@media (max-width: 767px) {
  main section,
  header,
  footer {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .sp-navbar {
    padding: 16px 0;
  }

  .sp-hero-content {
    width: 100%;
  }

  .sp-hero-image {
    position: unset;
  }

  .sp-hero {
    padding: 60px 0 0;
  }

  .sp-hero-image img.hero-mockup {
    width: 100%;
    margin-right: -20px;
  }

  .sp-hero-content .description {
    margin: 0 auto 32px;
  }

  .sp-features-summary {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .sp-how-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .sp-download-grid {
    grid-template-columns: 1fr;
    padding: 60px 20px 0;
    text-align: center;
    min-height: auto;
  }

  .sp-download-text {
    padding-bottom: 40px;
    z-index: 2;
    position: relative;
  }

  .sp-download-image {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    display: block;
    height: auto;
  }

  .sp-download-image img {
    width: 100%;
    height: auto;
    margin: 0 auto;
    transform: translateY(10px);
  }

  .app-buttons {
    justify-content: center;
  }

  .sp-footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .sp-footer-contact {
    align-items: center;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .hero-bg-decoration {
    width: 85% !important;
  }

  .large-card {
    flex-direction: column;
  }

  .sp-card-image {
    align-self: flex-end;
    width: 100%;
  }

  .sp-card-content {
    padding: 40px 30px;
  }

  .large-card .sp-card-image img:first-child {
    display: none;
  }

  .sp-feature-row:nth-child(2) .bg-green-light:first-of-type,
  .sp-feature-row:nth-child(2) .bg-gray-light:nth-child(2),
  .sp-feature-row:nth-child(3) .bg-green-light:last-child {
    flex-direction: column !important;
  }

  .sp-feature-row:nth-child(2) .bg-green-light:first-of-type .sp-card-content,
  .sp-feature-row:nth-child(2) .bg-gray-light:nth-child(2) .sp-card-content,
  .sp-feature-row:nth-child(3) .bg-green-light:last-child .sp-card-content {
    padding: 40px 30px;
  }

  .sp-feature-row:nth-child(2) .bg-green-light:first-of-type .sp-card-image,
  .sp-feature-row:nth-child(2) .bg-gray-light:nth-child(2) .sp-card-image,
  .sp-feature-row:nth-child(3) .bg-gray-light:first-child .sp-card-image img,
  .sp-feature-row:nth-child(3) .bg-green-light:last-child .sp-card-image {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .sp-feature-row:nth-child(2) .bg-green-light:first-of-type .sp-card-image {
    padding: 40px 30px 0;
  }

  .sp-feature-row:nth-child(2) .bg-gray-light:nth-child(2) .sp-card-image,
  .sp-feature-row:nth-child(3) .bg-gray-light:first-child .sp-card-image img,
  .sp-feature-row:nth-child(3) .bg-green-light:last-child .sp-card-image {
    padding: 0 30px;
  }

  .sp-feature-row:nth-child(3) .bg-gray-light:first-child .sp-card-content h3,
  .sp-feature-row:nth-child(3) .bg-gray-light:first-child .sp-card-content p,
  .sp-feature-row:nth-child(3) .bg-gray-light:first-child .sp-card-content .tag {
    text-align: left;
  }

  .sp-feature-row:nth-child(3) .bg-gray-light:first-child .sp-card-content ul {
    justify-content: left;
    flex-direction: column;
  }

  .sp-feature-row:nth-child(3) .bg-gray-light:first-child .sp-card-content .tag {
    margin: unset;
  }

  .sp-how-image img {
    transform: scale(1);
  }

  .sp-download-text p,
  .sp-download-text .app-buttons {
    max-width: 100%;
  }

  .sp-how-hero-grid {
    flex-direction: column-reverse;
    padding-top: 40px;
  }

  .sp-how-hero .sp-hero-content {
    width: 100% !important;
    text-align: left;
    padding: 0;
  }

  .sp-how-hero-image {
    width: 100% !important;
    max-width: 400px;
    align-self: center;
  }

  .sp-how-hero .sp-how-hero-image {
    padding: 0 0;
  }

  .sp-how-sections {
    margin-top: -200px;
  }

  .sp-how-hero h1 {
    margin-bottom: 30px;
  }

  .sp-how-card .card-image {
    position: unset;
    width: 100%;
    padding: 50px 50px 0;
  }

  .sp-how-sections {
    margin-top: -50px;
  }

  .card-text h2 {
    font-size: 2rem;
  }

  .sp-how-card {
    border-radius: 26px;
  }

  .sp-how-card .card-text {
    padding: 30px 20px;
  }

  .card-01 .card-image {
    padding: 30px 20px 0;
  }

  .card-02 .card-image {
    padding: 0 20px 0;
  }

  .card-03 .card-image {
    padding: 0 20px 0;
  }

  .card-05 .card-image {
    padding: 0 20px 0;
  }

  .card-number {
    font-size: 8rem;
  }

  .sp-how-card .hw-pill-container .hw-pill {
    list-style: none;
    padding: 4px 20px;
  }

  .sp-contact-info-card,
  .sp-contact-form-card {
    padding: 30px 20px;
  }

  .contact-form .form-group {
    width: 100%;
  }

  .contact-form .subject-options {
    flex-direction: column;
    gap: 15px;
  }

  .contact-form .form-subject {
    gap: 20px;
    flex-direction: column;
  }

  .contact-form .form-grid {
    margin-bottom: 70px;
  }

  .sp-contact-wrapper {
    padding: 10px;
    width: 100% !important;
  }

  .sp-policy-main {
    padding: 40px 0 40px;
  }

  .sp-policy-container {
    padding: 0 20px;
  }

  .sp-policy-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  .sp-logo-icon {
    height: 50px;
  }
}
