:root {
  /* Colors */
  --color-primary: #001aff;
  --color-secondary: #cccccc;
  --color-accent: #FFC107;
  --color-background: #ffffff;
  --color-surface: #ffffff;
  --color-border: #dee2e6;
  --color-text-primary: #333faa;
  --color-text-secondary: #6c757d;

  /* Typography */
  --font-family-base: 'Inter', sans-serif;
  --font-size-base: 16px;
  --font-size-lg: 20px;
  --font-size-sm: 14px;
  --font-weight-normal: 400;
  --font-weight-bold: 700;
  --line-height-base: 1.5;

  /* Spacing */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;

  /* Border Radius */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;

  /* Shadows */
  --shadow-sm: 0px 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0px 4px 8px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0px 6px 12px rgba(0, 0, 0, 0.2);

  /* Transitions */
  --transition-fast: 0.2s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-family-base);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-background);
  color: black;
  overflow-x: hidden;
}

/* Navbar Styling */
nav {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: var(--color-surface);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  box-shadow: var(--shadow-md);
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: var(--color-primary);
  text-decoration: none;
}

.nav-links ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: var(--color-text-primary);
  font-size: 18px;
  font-weight: bold;
}

.buttons {
  display: flex;
  gap: 10px;
}

.buttons a {
  background: var(--color-primary);
  color: #fff;
  padding: 10px 15px;
  border-radius: 5px;
  text-decoration: none;
  transition: 0.3s;
}

.buttons a:hover {
  transform: scale(1.1);
}

/* Hide side menu and mobile menu icon by default */
.menu-icon {
  display: none;
  font-size: 25px;
  cursor: pointer;
}

#menuToggle {
  display: none;
}

.side-menu {
  position: fixed;
  top: 0;
  right: -250px;
  width: 250px;
  height: 100%;
  background: #222;
  padding: 20px;
  transition: right 0.3s ease-in-out;
  z-index: 999;
}

.side-menu ul {
  list-style: none;
  padding: 0;
}

.side-menu ul li {
  padding: 15px 0;
}

.side-menu ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  display: block;
}

.close-btn {
  font-size: 24px;
  color: #fff;
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 15px;
}

/* Responsive for Mobile */
@media screen and (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .menu-icon {
    display: block;
  }

  .buttons {
    display: none;
  }
}

/* Section-box styles */
/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(180deg, #4453da 40%, #fff 100%);
  animation: fadeIn 0.8s ease-in-out;
}

/* Landing Page Styles */
.main-landing {
  color: white;
  display: flex;
  width: 100%;
  max-width: 1100px;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  height: 91vh;
  padding: 20px;
  flex-direction: row;
  box-sizing: border-box;
}

/* Content Styles */
.content {
  display: flex;
  width: 100%;
  max-width: 1100px;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  height: 91vh;
  /* padding: 20px; */
  flex-direction: column;
  box-sizing: border-box;
  /* margin: 0 auto;
  flex: 1;
  text-align: center;
  align-items: center;
  align-self: center;
  align-content: center; */
}

.under-welcome-h1 {
  font-family: cursive;
  font-size: 50px;
  text-align: center;
  margin-bottom: 20px;
}

.under-h1 {
  width: 29px;
  height: 5px;
  margin-bottom: 20px;
  background-color: var(--color-accent);
}

.highlight {
  font-family: cursive;
  font-weight: bold;
  position: relative;
  display: inline-block;
  font-weight: 600;
  color: var(--color-accent);
  padding-bottom: 10px;
  /* Ensure space for the underline */
}

/* SVG Styling */
.underline {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20px;
  overflow: visible;
}

/* Animate the stroke */
.underline path {
  stroke-dasharray: 160;
  stroke-dashoffset: 160;
  animation: draw 1.5s ease-in-out forwards;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

.under-welcome-p {
  font-size: 25px;
  text-align: left;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
  position: relative;
}

.bullet {
  color: #FFC107;
  font-size: 35px;
  font-weight: bold;
}


/* CTA Button */
.under-welcome-btn {
  background-color: #dda706;
  text-decoration: none;
  padding: var(--spacing-md) var(--spacing-lg);
  box-shadow: var(--shadow-lg);
  color: rgb(235, 235, 235);
  border-radius: 0.375rem;
  font-weight: bold;
  font-family: "Mullish", sans-serif;
  display: inline-block;
  transition: all 0.3s ease-in-out;
}

.under-welcome-btn:hover {
  background-color: #c59505;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  transform: translateY(-3px);
  transform: scale(1.2);
}

/* Image Styling */
.under-welcome-image {
  display: flex;
  justify-content: center;
  justify-items: center;
  width: 100%;
}

img {
  max-width: 680px;
  height: auto;
}

/* ------How-it-works------- */
.how-it-works {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 1100px;
  margin: 0 auto 0 auto;
  padding: 60px 20px;
  text-align: center;
  color: var(--color-text-primary);
  flex-direction: row;
  box-sizing: border-box;
}


.section-title {
  font-size: 2.5rem;
  font-weight: bolder;
  font-family: cursive;
  color: black;
  margin-bottom: 40px;
}

.section-title span {
  color: var(--color-accent);
}

.steps {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.step {
  background: rgb(255, 255, 255);
  padding: 20px;
  border-radius: 10px;
  max-width: 320px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.step:hover {
  transform: translateY(-10px);
}

.step-icon img {
  width: 90%;
  margin-bottom: 10px;
}

h3 {
  font-size: 1.5rem;
  color: #333;
}

p {
  font-size: 1rem;
  color: #666;
}

.cta-btn {
  display: inline-block;
  justify-items: center;
  background: var(--color-accent);
  color: black;
  padding: 15px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  margin-top: 30px;
  transition: 0.3s;
}

.cta-btn:hover {
  background: var(--color-text-primary);
  color: white;
  transform: translateY(-5px) scale(1.1);
}

.head-text {
  text-align: center;
}

.experience {
  width: 100%;
  max-width: 70%;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  height: 80vh;
  padding: 20px;
  margin-bottom: 10px;
  color: black;
  flex-direction: row;
  box-sizing: border-box;
}

.working-content {
  background-color: #fffebd;
  display: flex;
  max-width: 100%;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  padding: 20px;
  color: var(--color-text-primary);
  box-sizing: border-box;
  border: 1px solid var(--color-primary);
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
}

.working-head {
  font-family: cursive;
  font-size: 40px;
  font-weight: bold;
  color: #001aff;
  max-width: 500px;
  position: relative;
  display: inline-block;
}

.circle {
  position: relative;
  display: inline-block;
  z-index: 1;
  color: black;
  font-family: cursive;
}

.circle-svg {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 150%;
  height: 150%;
  z-index: 2;
}

.left-working {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 70%;
  margin-left: 20px;
}

.text-lightBlue {
  color: rgb(113, 99, 186);
}



.ul-items {
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 0;
  list-style-type: none;
}

.check-list-items {
  display: flex;
  margin-top: 22px;
  align-items: center;
  gap: 0.5rem;
  font-size: 20px;
}

.ul-items {
  font-weight: bold;
}

.right-working-image {
  width: 90%;
  max-width: 680px;
}

/* .feather {
  color: var(--color-accent);
  font-size: 30px;
} */

.icon-check {
  color: black;
  font-size: 30px;
  font-weight: bolder;
}

.sign-up-button-btn {
  margin-top: 1rem;
  background-color: var(--color-primary);
  text-decoration: none;
  width: fit-content;
  color: white;
  padding: 14px 18px;
  border-radius: 0.375rem;
  font-weight: bold;
  transition: all;
  float: left;
  cursor: pointer;
}

.sign-up-button-btn:hover {
  transform: translateY(-5px);
  transition: var(--transition-normal);
}



/* Features Section */
.features {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem;
  background-color: #121212;
  color: white;
}

.features .head-text {
  text-align: center;
  margin-bottom: 2rem;
  color: #f4ff61;
}

.features .feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 3rem;
  text-align: center;
}

.features .feature img {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-bottom: 1rem;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.features .feature h2 {
  font-size: 1.8rem;
  color: #f4ff61;
  margin-bottom: 0.5rem;
}

.features .feature p {
  font-size: 1rem;
  color: #ffffffb9;
  line-height: 1.5;
}

/* About Section */
#about {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem;
  color: white;
  text-align: center;
  background-color: #121212;
}

#about .head-text {
  text-align: center;
  margin-bottom: 2rem;
}

#about .head-text h1 {
  font-size: 2.5rem;
  color: #f4ff61;
}

#about .under-head-text {
  width: 50px;
  height: 4px;
  background-color: #f4ff61;
  margin: 0.5rem auto;
}

#about .about-content {
  max-width: 800px;
  margin: auto;
  text-align: left;
}

#about .about-content p {
  font-size: 1rem;
  color: #ffffffb9;
  line-height: 1.5;
  margin-bottom: 2rem;
}

#about .team {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

#about .team-member {
  background-color: #1e1e1e;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  flex: 1 1 calc(33.333% - 1rem);
  margin-bottom: 1rem;
}

#about .team-member h3 {
  font-size: 1.2rem;
  color: #f4ff61;
  margin-bottom: 0.5rem;
}

#about .team-member p {
  font-size: 0.9rem;
  color: #ffffffb9;
  margin: 0.2rem 0;
}

#about .team-member a {
  color: #f4ff61;
  text-decoration: none;
}

#about .team-member a:hover {
  text-decoration: underline;
}

/* Transaction Tracker Section */
.tracker-part {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  margin-top: 10px;
  border: 2px solid rgb(248, 248, 248);
  border-radius: 6px;
  padding: 10px;
  box-sizing: border-box;
  overflow-y: auto;
}

.tracker-h1 {
  text-align: center;
  margin-top: 0;
}

.tracker-balance {
  text-align: center;
  font-size: 22px;
  margin-bottom: 10px;
  font-weight: bold;
  color: rgb(113, 99, 186);
  background-color: #dde8ff;
  padding: 8px;
}

.current-balance {
  font-size: 20px;
}

.negative-balance {
  color: #ff0000;
  /* Red color */
}

.positive-balance {
  color: #00ff00;
  /* Green color */
}

.transaction-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.transaction-form input[type="text"],
.transaction-form input[type="number"],
.transaction-form select,
.transaction-form input[type="date"] {
  margin-right: 0;
  margin-bottom: 10px;
  width: calc(50% - 10px);
  padding: 8px;
  font-size: 16px;
  border-radius: 3px;
  color: rgb(113, 99, 186);
  border: 1px solid rgb(113, 99, 186);
}

.transaction-form button {
  padding: 8px 16px;
  font-size: 16px;
  border-radius: 10px;
  margin: 10px;
  height: auto;
  border: 1px solid #18ad1d;
  background-color: #18ad1d;
  color: #fff;
  cursor: pointer;
}

.currency-filter {
  padding: 5px 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  gap: 20px;
}

#currency {
  padding: 8px 12px;
  font-size: 16px;
  border-radius: 3px;
  background-color: #ffffff;
  color: rgb(113, 99, 186);
  border: 1px solid #ccc;
  cursor: pointer;
}

#currency:hover {
  background-color: #f0f0f0;
}

#currency:focus {
  outline: none;
  box-shadow: 0 0 2px 2px rgba(0, 123, 255, 0.3);
}

.date-box {
  text-align: center;
  align-items: center;
  margin-right: 5px;
  padding: 0px;
}

#date {
  padding: 8px 12px;
  font-size: 16px;
  border-radius: 3px;
  background-color: #ffffff;
  color: rgb(113, 99, 186);
  border: 1px solid #ccc;
  cursor: pointer;
}

.table-part {
  overflow: hidden;
}

table {
  width: 100%;
  border-collapse: collapse;
  background-color: white;
}

.table-part.scrollable {
  max-height: calc(100vh - 300px);
  overflow-y: auto;
}

th {
  font-weight: bold;
  color: rgb(113, 99, 186);
  padding: 12px;
  text-align: left;
  background-color: #dde8ff;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

td {
  padding: 12px;
  text-align: left;
  color: rgb(113, 99, 186);
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

th:last-child,
td:last-child {
  border-right: none;
}

.delete-button,
.edit-button,
.save-button {
  padding: 8px 16px;
  font-size: 14px;
  border-radius: 3px;
  margin-right: 5px;
  cursor: pointer;
}

/* test-arrow */
.arrow {
  position: absolute;
  top: 97%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes arrow-bounce {
  0% {
    transform: rotate(45deg) translateY(0);
  }

  50% {
    transform: rotate(45deg) translateY(-10px);
  }

  100% {
    transform: rotate(45deg) translateY(0);
  }
}

.arrow span {
  display: block;
  width: 40px;
  height: 40px;
  border-bottom: 8px solid var(--color-accent);
  border-right: 8px solid var(--color-accent);
  transform: rotate(45deg);
  margin: 15px;
  animation: arrow-bounce 1s infinite;
}

/* ------- Footer styles-------  */
footer {
  width: 100vw;
  height: 3.5rem;
  background-color: var(--color-primary);
  padding: 20px;
  color: #fff;
  text-align: center;
  bottom: 0;
}

/* .footer ul {
  list-style-type: none;
  padding: 0;
}

.footer li {
  display: inline;
  margin-right: 10px;
}

.footer a {
  color: #fff;
  text-decoration: none;
} */

.footer p {
  color: #fff;
}

/* ------- Mobile Responsive Styles-------  */
@media screen and (max-width: 768px) {

  /* navbar */
  .nav-links {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  #menuToggle {
    display: block;
  }

  /* Landing Page Styles */
  .under-welcome-h1 {
    display: inline-flexbox;
    margin: 0;
    padding: 0;
    justify-content: center;
    font-family: cursive;
    font-size: 28px;
    text-align: justify;
    text-align: center;
  }

  .under-welcome-h1 svg {
    width: 100px;
  }

  .under-welcome-p {
    font-size: 18px;
    margin: 0;
    padding: 0;
  }

  .bullet {
    font-size: 12px;
  }

  img {
    width: 100px;
  }


  .section-box {
    margin-top: 35px;
  }

  .experience {
    margin: 0 0 20px 0;
    padding: 5%;
    max-width: 100%;
    height: fit-content;
  }

  .circle-svg {
    display: none;
  }


  .right-working-image {
    display: none;
  }
}