* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
}

.head {
  background-color: #f7f9fa;;
  padding: 10px 20px;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo {
  height: 40px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  color: #222;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: cyan;
}

/* Hamburger Icon */
.hamburger {
  width: 30px;
  height: 25px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  background: black;
  height: 3px;
  border-radius: 2px;
  transition: 0.4s;
}

/* Hamburger Animation - Turn into X */
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    background: white;
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    display: none;
    padding: 20px 10px;
    animation: slideDown 0.4s ease forwards;
    z-index: 1000;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.progress-section {
  margin-top: 30px;
}

.progress-bar-container {
  width: 100%;
  background-color: #eee;
  border-radius: 20px;
  overflow: hidden;
  height: 20px;
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background-color: #28a745;
  transition: width 1s ease-in-out;
}


.roi-chart-section {
  margin-top: 30px;
  background: #f8f8f8;
  padding: 20px;
  border-radius: 10px;
}

.roi-chart-section h2 {
  margin-bottom: 10px;
  text-align: center;
}

a.a {
  display: inline-block;
  
  padding: 10px 20px;
  background-color: #4caf50;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  margin-top: 30px;
  border-radius: 6px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

a.a:hover {
  background-color: #45a049;
  transform: scale(1.03);
}

a.a:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.4);
}



.dashboard-container {
  max-width: 1000px;
  width: 95%;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  border-radius: 20px;
   padding: 40px 30px; 
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 0.6s ease-in-out;
  margin-top: 30px;
}

.main-container {
    /* padding-top: 50px;
   margin-left: 15%; */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
   /* @media screen and (max-width: 900px) {
    display: flex;
    justify-content: center;
    align-items: center;
   } */
}

.dashboard-title {
  text-align: center;
  color: #007bff;
  margin-bottom: 40px;
  font-size: 28px;
}

.dashboard-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

/* Individual Cards */
.card {
  flex: 1 1 250px;
  background: #ffffff;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease;
  animation: slideIn 0.5s ease forwards;
  opacity: 0;
}

.card h2 {
  color: #333;
  font-size: 18px;
  margin-bottom: 10px;
}

.card p {
  font-size: 22px;
  color: #007bff;
  font-weight: bold;
}

.card:hover {
  transform: translateY(-5px);
  background: #f0f8ff;
}

/* Call-to-Action Button */
.dashboard-btn {
  display: block;
  text-align: center;
  margin: 30px auto 0;
  background: #007bff;
  color: #fff;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
  width: fit-content;
}

.dashboard-btn:hover {
  background: #0056b3;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  0% {
    transform: scale(0.95);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* 🔁 FULL RESPONSIVENESS FOR SMALL SCREENS */
@media (max-width: 768px) {
  .dashboard-title {
    font-size: 24px;
    margin-bottom: 25px;
  }

  .card {
    flex: 1 1 100%;
  }

  .card h2 {
    font-size: 16px;
  }

  .card p {
    font-size: 18px;
  }

  .dashboard-btn {
    padding: 10px 20px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .dashboard-container {
    padding: 25px 20px;
  }

  .dashboard-title {
    font-size: 20px;
  }

  .card {
    padding: 18px 15px;
  }

  .card p {
    font-size: 16px;
  }
}

.transaction-history {
  margin-top: 40px;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  overflow-x: auto;
}

.transaction-history table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.transaction-history th, td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: center;
}

.transaction-history th {
  background: #f7f7f7;
  color: #333;
}