@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Outfit:wght@100..900&family=Pixelify+Sans:wght@400..700&family=Tiny5&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: #6f91f6 #c5d1ff1d; /* Thumb color / Track color */
}
/* For WebKit-based browsers */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #c5d1ff; /* Matches the site's dark background */
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #5ddcff, #3c67e3, #4e00c2);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  filter: brightness(1.2);
}

@property --rotate {
  syntax: "<angle>";
  initial-value: 132deg;
  inherits: false;
}

:root {
  --card-height: 300px;
  --card-width: calc(var(--card-height) / 1.5);
  --primary-light: #5ddcff;
  --primary-mid: #46bebf;
  --primary-deep: #3c67e3;
}

body {
  min-height: 100vh;
  /* Four overlapping radial gradients positioned at the corners */
  background: radial-gradient(
      circle at 25% 25%,
      rgba(255, 255, 255, 0.9),
      transparent 50%
    ),
    radial-gradient(
      circle at 75% 25%,
      rgba(255, 255, 255, 0.9),
      transparent 50%
    ),
    radial-gradient(circle at 50% 50%, #d0ebff, transparent 70%),
    radial-gradient(circle at 50% 75%, #a7d8ff, transparent 70%);
  background-blend-mode: overlay;
  background-attachment: fixed;
  font-family: "Montserrat" !important;
  overflow-x: hidden;
}

h2 {
  color: #536872;
}

header {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 30px;
}

header .logo {
  margin-top: 16px;
  /* box-shadow: blue 0px 0px 6px; */
  filter: drop-shadow(0px 50px 3rem rgb(70, 190, 255));
}

header .title {
  /* color: rgb(99, 195, 99); */
  color: #36454f;
  text-align: center;
  font-weight: bold;
}

section {
  margin: 24px 20px;
}

.content-box {
  background: #e7ffff3b; /* Light, clean background */
  color: #36454f; /* Dark grayish-blue text for readability */
  font-size: 1.1rem;
  font-weight: 500;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  line-height: 1.6;
  max-width: 800px;
  margin: 16px auto;
  text-align: justify;
}

.keyword {
  font-weight: bold;
  color: #36454f; /* Ensures consistency with your site's theme */
  background-color: rgba(
    70,
    190,
    255,
    0.2
  ); /* Subtle highlight with a light blue tint */
  padding: 2px 4px;
  border-radius: 4px;
  transition: background-color 0.3s ease; /* Optional: Smooth hover effect */
  font-weight: normal;
}

/* Optional: Change highlight on hover for an interactive feel */
.keyword:hover {
  background-color: rgba(70, 190, 255, 0.4);
}

.feature-card {
  background: #fff;
  /* width: var(--card-width);
  height: var(--card-height); */
  /* aspect-ratio: 3/4; */
  padding: 3px;
  position: relative;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
}

.feature-card:hover {
  color: rgb(88 199 250 / 100%);
  transition: color 1s;
}

.feature-card:hover:before,
.feature-card:hover:after {
  animation: none;
  opacity: 0;
}

.feature-card::before {
  content: "";
  width: 102%;
  height: 102%;
  border-radius: 8px;
  background-image: linear-gradient(
    var(--rotate),
    var(--primary-light),
    var(--primary-mid) 43%,
    var(--primary-deep)
  );
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  animation: spin 2.5s linear infinite;
  transition: all 0.3s;
}

.feature-card::after {
  position: absolute;
  content: "";
  top: calc(
    var(--card-height, 300px) / 6
  ); /* Fallback height if --card-height isn't defined */
  left: 0;
  right: 0;
  z-index: -1;
  height: 100%;
  width: 100%;
  margin: 0 auto;
  transform: scale(0.8);
  filter: blur(calc(var(--card-height, 300px) / 6));
  background-image: linear-gradient(
    var(--rotate),
    var(--primary-light),
    var(--primary-mid) 43%,
    var(--primary-deep)
  );
  opacity: 1;
  transition: opacity 0.5s;
  animation: spin 2.5s linear infinite;
}

@keyframes spin {
  0% {
    --rotate: 0deg;
  }
  100% {
    --rotate: 360deg;
  }
}

/* Icon Container with a Gradient Background */
.feature-icon {
  margin-bottom: 16px;
  font-size: 3em;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent; /* No gradient background */
}

.feature-icon i {
  background: linear-gradient(
    45deg,
    var(--primary-light),
    var(--primary-mid),
    var(--primary-deep)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feature-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #36454f;
}

.feature-description {
  font-size: 0.9rem;
  line-height: 1.4;
  color: #536872;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.fluid {
  width: 100%;
}

/* App Screenshots Section */
#screenshots {
  margin: 40px 20px;
  text-align: center;
  font-family: "Montserrat", sans-serif;
}

#screenshots h2 {
  color: #36454f;
  margin-bottom: 20px;
  font-size: 2em;
}

/* Grid container for screenshots */
.screenshots-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  align-items: center;
}

/* Screenshot styling */
.screenshots-container img {
  width: 100%;
  border-radius: 8px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease;
}

.screenshots-container img:hover {
  transform: scale(1.05);
}

.gradient-outline {
  position: relative;
}
.gradient-outline::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  padding: 1px; /* control the border thickness */
  background-image: linear-gradient(
    var(--rotate),
    var(--primary-light),
    var(--primary-mid) 43%,
    var(--primary-deep)
  );
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: xor;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.carouseler {
  display: flex;
  width: 100%;
  gap: 20px;
  overflow-x: auto;
}

.testimonial-card {
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
  border-radius: 1rem;
  padding: 50px;
  min-width: calc(100% / 3);
  max-width: calc(100% / 3);
  margin-bottom: 6px;
}

.testimonial-card img {
  width: 90px;
}

.custom-form-wrapper {
  max-width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  padding-top: 40px;
  padding-bottom: 40px;
}

.custom-form {
  display: flex;
  justify-content: center;
  flex-flow: wrap;
  background-color: #fff;
  width: 400px;
  padding: 60px 60px 140px;
  -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.1);
  position: relative;
}

.custom-form-row {
  width: 100%;
  display: block;
  position: relative;
  transition: 0.3s all ease;
  padding-top: 10px;
}

.custom-form-row + .custom-form-row {
  margin-top: 30px;
}

.custom-form-row label {
  display: block;
  position: absolute;
  top: 15px;
  left: 0;
  font-size: 14px;
  color: #ccc;
  transition: 0.3s all ease;
  z-index: 1;
}

.custom-input {
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 1px solid #ccc;
  padding: 0 0 10px;
  font-size: 16px;
  color: #000;
  outline: none;
  position: relative;
  z-index: 2;
  background-color: transparent;
  transition: 0.3s all ease;
  width: 100%;
}

textarea.custom-input {
  resize: vertical;
}

.custom-input:focus + label,
.custom-form-row label.custom-top {
  font-size: 10px;
  top: -10px;
  color: #2f4231;
}

.custom-input:focus {
  border-bottom-color: #2f4231;
}

.custom-error,
.custom-check {
  font-size: 10px;
  position: absolute;
  bottom: 10px;
  right: 0;
  color: #fff;
  padding: 3px;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s all ease;
  border-radius: 2px;
}

.custom-error {
  background-color: #f75e5e;
}

.custom-check {
  background-color: #35ca7c;
  width: 16px;
  height: 16px;
}

.custom-check:after,
.custom-check:before {
  position: absolute;
  content: "";
  background-color: #fff;
  height: 2px;
}

.custom-check:after {
  width: 5px;
  transform: rotate(20deg);
  bottom: 4px;
  left: 4px;
}

.custom-check:before {
  width: 10px;
  transform: rotate(110deg);
  right: 1px;
  top: 7px;
}

.custom-form-row.success .custom-input {
  border-bottom-color: #35ca7c;
}

.custom-form-row.error label {
  color: #f75e5e;
}

.custom-form-row.error .custom-input {
  color: #4e0c0c;
  border-bottom-color: #f75e5e;
}

.custom-form-row.error .custom-error,
.custom-form-row.success .custom-check {
  opacity: 1;
  visibility: visible;
}

.custom-headline {
  display: block;
  text-align: center;
  margin-bottom: 40px;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 16px;
  letter-spacing: 5px;
  position: relative;
}

.custom-headline span {
  position: relative;
  z-index: 2;
}

.custom-headline:before {
  content: "";
  position: absolute;
  z-index: 1;
  background-color: rgba(175, 253, 198, 0.5);
  height: 12px;
  width: 155px;
  bottom: -3px;
  left: 5px;
}

.custom-submit-btn {
  border: none;
  outline: none;
  padding: 20px 60px;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  color: #000;
  border-radius: 3px;
  cursor: pointer;
  background: #8cf1d0;
  display: block;
  transition: 0.3s all ease;
  position: absolute;
  bottom: 40px;
  letter-spacing: 2px;
}

.custom-submit-btn:hover {
  background-color: #78e6c2;
  -webkit-box-shadow: 0px 10px 25px 0px rgba(72, 72, 72, 0.1);
  -moz-box-shadow: 0px 10px 25px 0px rgba(72, 72, 72, 0.1);
  box-shadow: 0px 10px 25px 0px rgba(72, 72, 72, 0.1);
  bottom: 45px;
}

footer {
  background: linear-gradient(135deg, #eef7ff, #dff5f3);
  color: #333;
  text-align: center;
  padding: 10px 20px 10px 20px;
  font-family: "Poppins", sans-serif;
  box-shadow: 0px -4px 10px rgba(0, 0, 0, 0.05);
}

.footer-content h2 {
  font-size: 2rem;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}

.footer-content p {
  font-size: 1rem;
  opacity: 0.7;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #57cc99, #38a3a5);
  border-radius: 50%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.social-icon:hover {
  transform: scale(1.1);
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15);
}

.footer-bottom {
  font-size: 0.85rem;
  opacity: 0.6;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  margin-top: 20px;
}

/* Base style for both floating buttons */
.floating-btn {
  position: fixed;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 30px;
  font-size: 1rem;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect */
.floating-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

/* Download button styling (bottom left) */
.download-btn {
  bottom: 20px;
  left: 20px;
  background: linear-gradient(45deg, #6d31ed, #3c67e3);
  animation: pulse 2s infinite;
  cursor: default;
}

.download-btn:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
}

/* Pulse animation for extra "catchiness" */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Scroll-up button styling (bottom right) */
.scroll-up-btn {
  bottom: 20px;
  right: 20px;
  background: linear-gradient(45deg, #00b09b, #96c93d);
  border: none;
  outline: none;
  cursor: pointer;
  padding: 12px;
  display: none; /* Initially hidden */
}

@media (max-width: 500px) {
  .custom-form {
    width: 300px;
    padding: 30px 20px 100px;
  }
  .custom-submit-btn {
    bottom: 25px;
    padding-top: 15px;
    padding-bottom: 15px;
  }
  .custom-submit-btn:hover {
    bottom: 30px;
  }
}

@media screen and (max-width: 768px) {
  .testimonial-card {
    min-width: calc(100% / 1);
    max-width: calc(100% / 1);
    margin: 0 !important;
  }
}

/* Timeline Styles */
#future-plans {
  text-align: center;
  padding: 2rem 0;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 1000px;
  margin: 50px auto;
}

.timeline::after {
  content: "";
  position: absolute;
  width: 6px;
  background: linear-gradient(180deg, #5ddcff, #3c67e3);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

.timeline-item {
  padding: 20px 40px;
  position: relative;
  width: 50%;
  background: white;
  border-radius: 12px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 0.8s ease-in-out;
}

.timeline-item:nth-child(odd) {
  left: 0;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-item::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background: white;
  border: 4px solid #3c67e3;
  top: 50%;
  right: -10px;
  transform: rotate(45deg);
  z-index: 1;
}

.timeline-item:nth-child(even)::after {
  left: -10px;
  right: auto;
}

.timeline-item h3 {
  font-size: 1.6rem;
  color: #3c67e3;
}

.timeline-item p {
  font-size: 1rem;
  color: #36454f;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile responsive adjustments for timeline */
@media screen and (max-width: 768px) {
  .timeline::after {
    left: 31px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  
  .timeline-item:nth-child(even) {
    left: 0;
  }
  
  .timeline-item::after {
    left: 21px;
    right: auto;
    transform: rotate(45deg);
  }
  
  .timeline-item:nth-child(even)::after {
    left: 21px;
    right: auto;
  }
}
