    :root {
  --bg: #0f1115;
  --card: #0b0d10;
  --muted: #9aa4a6;
  --accent: #24d7a1;
  --glass: rgba(255, 255, 255, 0.03);
}

html, body {
  height: 100%;
  margin: 0;
  font-family: Inter, Poppins, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: var(--bg);
  color: #fff;
  margin: 0;
  padding: 0;
}

.wrap {
  max-width: 90%;
  margin: 0px auto;
  padding: 20px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: space-between;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  margin-right: 10px;
  margin-top: 0;
}
.headline{
  justify-content: center;
  align-items: center;
  margin-bottom: 21px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;

}
.headlingenew{
  justify-content: center;
  align-items: center;
  margin-bottom: 121px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  margin-right: 10px;
  margin-top: 100px;
}

hr{
  color: var(--muted);
  background: var(--muted);
  opacity: 20%;
  width: 100%;
  align-items: center;
}
.logo{
  width: 150px;
  height: 70px;
}
nav ul {
 list-style: none;
 display: flex;
 gap: 50px;
 font-size: 15px;
 margin-top: 30px;
  margin-right: 30px;
}

nav ul li a {
      text-decoration: none;
      color: white;
      transition: color 0.3s;
}

nav ul li a:hover {
      color: #24d7a1;
}
nav ul li a:active {
      color: #24d7a1;
}

h1 {
  color: var(--accent);
  margin: 0;
  font-weight: 600;
  font-size: 35px;
  text-shadow: 0 0 2px #4ef0bf;
}
p {
  margin: 0px;
  font-size: 13px;
}
.top-section .left p{
    font-size: 18px;
}
.headline .aboutp{
    justify-content: center;
    text-align: center;
    width: 70%;
}


.sub {
  color: var(--muted);
  font-size: 14px;
}

.grid {
  display: flex;
  gap: 18px;
}

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), var(--glass));
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
}

form .row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
}

label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}

input[type=number],
input[type=text],
select {
  width: 80%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: transparent;
  color: #fff;
}
#email {
  width: 80%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: transparent;
  color: #fff;
}
#password {
  width: 80%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: transparent;
  color: #fff;
}
.small {
  width: calc(50% - 5px);
}

.btn {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 8px;
  width: 70%;
  border: none;
  background: var(--accent);
  color: #02110b;
  font-weight: 600;
  cursor: pointer;
}

.muted-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
  width: 30%;

}

.result-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.kpi {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.25);
}

.kpi strong {
  font-size: 18px;
}

.advice {
  color: var(--muted);
  font-size: 14px;
}

.heading {
  color: var(--accent);
  margin-top: 50px;
  font-weight: 600;
  font-size: 90px;
}
.para {
  margin-top: 8px;
  font-size: 23px;
  margin-bottom: 100px;
  width: 70%;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.container {
  max-width: 100%;
  padding: 40px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 30px rgba(0,0,0,0.2);
  align-items: center;
  justify-content: center;
}
.container-home {
  max-width: 100%;
  padding: 40px;
  background: rgba(255, 255, 255, 0);
  border-radius: 20px;
  align-items: center;
  justify-content: center;
}

.section {
  margin-bottom: 40px;
}

 .section h2 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 12px;
}

  .section p {
  line-height: 1.8;
  color: #d8d8d8;
  font-size: 16px;
}

@media (max-width: 900px) {
nav ul {
  gap: 10px;
  }
  .wrap{
    max-width: 100%;
  }
  .grid {
    flex-direction: column;
    width: 100%;
  }
  .headline .aboutp{
  justify-content: center;
  align-items: center;
  margin-bottom: 21px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  width: 100%;
  }
    }
  @media (max-width: 485px) {
  .grid {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
  }
  #investmentGrowthChart{
    width: 300px;
    height: 200px;
    overflow: scroll;
  }
  .container-home{
    padding: 5px;
  }
  nav ul {
  display: none;
  gap: 10px;
  }
  .headline{
    width: 100%;
  }
  #breakdownChart{
    width: 300px;
    height: 200px;
  }
  .container{
    max-width: 100%;
  }
  .heading {
    font-size: 50px;
  }
  .para{
    width: 100%;
  }
    .headline h1{
    width: 300px;
  }
    }
  @media (width: 414px) {
  .grid {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
  }
  .headline{
   width: 100%;
   justify-content: center;
}
  }
        .container .p {
            color: white;
            max-width: 90%; /* Ensure the paragraph doesn't exceed the width of the heading */
            width: 90%;
            margin: 0 auto; /* Center the paragraph */
            text-align: center;
            font-size: 11px;
            line-height: 1.5;
            overflow-wrap: break-word; /* Prevent overflow of text */
            word-wrap: break-word; /* Break words if necessary */
        }

        h1{
            font-family: 'Canva Sans', sans-serif;
            color: #67edc5;
            font-weight: 300;
            font-size: 40px; 
            text-shadow: 0 0 5px #4ef0bf;
            width: 100%; 
            max-width: 100%; 
            text-align: center;
            margin-bottom: 10px;
        }

        #result {
            color: white;
            display: none;
            animation: fadeIn 2s ease forwards;
            flex-direction: column;
            text-align: left;
            margin-top: 50px;
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), var(--glass));
            border-radius: 12px;
            box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
            
        }

        .top-section {
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            flex-wrap: wrap;
            margin-left: 5%;
            margin-right: 5% ;
        }

        .left {
            flex: 1;
            min-width: 280px;
            text-align: left;
            text-align: justify;
            margin-top: 20px;
        }

        .right {
            flex: 0.7;
            min-width: 200px;
            margin-top: 30px;
        }

        .bottom-section {
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            flex-wrap: wrap;
            margin-top: 30px;
            align-items: stretch; 
            margin-bottom: 20px;
            margin-left: 5%;
            margin-right: 5% ;
            gap: 30px;
        }

        .bottom-left {
            flex: 1;
            min-width: 300px; 
            display: flex;
            flex-direction: column;
            justify-content: center; 
        }

        .bottom-right {
            flex: 3; 
            min-width: 400px; 
            display: flex;
            flex-direction: column;
            justify-content: center;
            text-align: center;
        }

        .bottom-section-2 {
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            flex-wrap: wrap;
            margin-top: 20px;
            margin-left: 5%;
            margin-right: 5%;
            margin-bottom: 30px;
            align-items: center;
        }

        .bottom-left-2 {
            flex: 1;
            min-width: 150px;
            text-align: left;
        }

        .bottom-right-2 {
            flex: 1;
            min-width: 150px;
            text-align: right;
        }

        .loader-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: #100e0e;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            display: none;
        }

        .loader {
            width: 80px;
            height: 80px;
            border: 8px solid rgba(0, 255, 191, 0.3);
            border-top: 8px solid #00ff9d;
            border-radius: 50%;
            animation: spin 2s linear infinite, glow 1s ease-in-out infinite alternate;
        }

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

        @keyframes glow {
            from { box-shadow: 0 0 10px #00ffaa; }
            to { box-shadow: 0 0 20px #00ffc3; }
        }

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

        .input-container {
            display: block;
        }

        .input-container input,
        .input-container select,
        .input-container button {
            margin: 10px 0;
            padding: 10px;
            font-size: 16px;
            width: 15%;
            background: #0c0c0c;
            color: white;
            border-radius: 5px;
            border: 1px solid #ccc;
            box-sizing: border-box;
        }

        .input-container button {
            background-color: #ffffff;
            color: rgb(11, 11, 11);
            border: none;
            cursor: pointer;
            width: 30.3%;
            margin-top: -0.6px;
        }
        
        .goback{
            background-color: #ffffff00;
            border: 1px solid #ffffff;
            color: rgb(255, 255, 255);
            cursor: pointer;
            border-radius: 5px;
            width: 30.3%;
            padding: 10px;
        }
        .download{
            background-color: #ffffff;
            color: rgb(11, 11, 11);
            border: none;
            cursor: pointer;
            border-radius: 5px;
            width: 25.3%;
            padding: 10px;
        }
        .download:hover{
            background-color: #e7e7e7;
        }
        .goback:hover{
            background-color: #ffffff;
            color: rgb(11, 11, 11);
        }
        .input-container button:hover {
            background-color: #e7e7e7;
        }
        @media (max-width: 780px) {
            .input-container input,
            .input-container button {
                width: 90%;
            }
            .sidebar{
                display: block;
            }
            .sidebar.show{
                right: 1;
            }
            .header2{
                display: flex;
            }
            .left, .right, .bottom-left, .bottom-right {
                flex: 1 1 100%;
                max-width: 100%;
            }
            .bottom-section {
                flex-direction: column;
            }
            h1{
                font-size: 35px;
            }
            .p{
                text-align: justify;
            }
            br{
                display: none;
            }
            .bottom-right{
                flex: 1;
                min-width: 200px;
                overflow: scroll;
            }
            table{
                width: 200px;
                overflow: scroll;
            }
            .table-container{
                min-width: 200px;
                max-width: 300px;
            }
            .bottom-section-2 {
                flex-direction: column;
                align-items: stretch;
            }
            .bottom-left-2, .bottom-right-2 {
                text-align: center;
                margin-top: 10px;
            }
            .goback{
                width: 80%;
            }
            .download{
                width: 80%;
            }
            .popup{
                width: 80%;
            }

        }

        .menu-toggle {
            font-size: 28px;
            cursor: pointer;
            margin: 40px;
        }
        .header2{
            display: none;
        }
        .sidebar {
            position: fixed;
            top: 0;
            right: -300px;
            height: 100%;
            width: 250px;
            background-color: b ;
            color: white;
            background-color: #0f1115;
            padding-top: 60px;
            transition: right 0.3s ease;
            z-index: 999;
            box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
        }

        .sidebar.show {
            right: 0;
        }

        .nav-links {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            flex-direction: column;
            gap: 20px;
            padding: 20px;
        }

        .nav-links li a {
            color: white;
            text-decoration: none;
            font-size: 16px;
            transition: color 0.3s;
        }

        .nav-links li a:hover {
            color: #24d7a1;
        }


        .table-container {
            margin-top: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-grow: 1; 
            padding: 0%;

        }

        table {
    width: 90%; 
    border-collapse: collapse;
    background-color: #2c3e5000; 
    color: #ecf0f1; 
    font-size: 14px; 
    border-radius: 0px; 
    overflow: hidden; 
}

thead {
    background-color: #84b0b2; 
    color: #ffffff;
    font-weight: bold;

}

th {
    padding: 12px 15px; 
    text-align: center;
    border-bottom: 1px solid #eaeaeadd; 
    border-top: 1px solid #eaeaeadd;
    border-left: 1px solid #eaeaeadd;
    border-right: 1px solid #eaeaeadd;
    font-family: "Poppins", sans-serif;
font-weight: 300;
font-style: normal;

}

td {
    padding: 12px 15px; 
    text-align: center;
    border-bottom: 1px solid #eaeaeadd; 
    border-top: 1px solid #eaeaeadd;
    border-left: 1px solid #eaeaeadd;
    border-right: 1px solid #eaeaeadd;

}
th:first-child,
td:first-child {
    padding-left: 20px;
}

th:last-child,
td:last-child {
    padding-right: 20px; 
}

tbody tr:hover {
    background-color: #34495e00; 
    cursor: pointer;
}

td:first-child {
    display: flex;
    align-items: center;
    gap: 8px;
}

.popup {
    position: fixed;
    font-size: 12px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #1a1a1a;
    color: white;
    padding: 20px;
    border-radius: 0px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    z-index: 1001;
    text-align: center;
    display: none;
    padding-top: 40px;
    padding-bottom: 40px;
}

.popup input[type="email"] {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #333;
    border-radius: 4px;
    background-color: #222;
    color: white;
    width: 80%;
    box-sizing: border-box;
    
}

.popup button {
    padding: 10px 20px;
    background-color: #ffffff;
    color: #1a1a1a;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: background-color 0.3s ease;
    width: 80%;
}

.popup button:hover {
    background-color: #b3b3b3;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
}
