@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

header{
    background-color: #f8f9fc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 70px;
    position: sticky;
    top: 0;
    padding: 20px;

}

.nav-bar{
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.nav-bar a {
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    /* justify-content: space-around; */
    text-transform: uppercase;
    color: #46464a;
}

.sign-bar a{
    text-decoration: none;
    padding: 12px 16px;
}

.hero-section-main{
    height: 80vh;
    padding: 24px 0px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.hero-section{
    display: flex;
    justify-content: center;
    align-items: start;
    gap: 12px;
    flex-direction: column;
}

.hero-section-main-2{
    height: 85vh;
    padding: 0 50px;
    display: flex;
    justify-content: start;
    align-items: center;
    background-color: #edf1fc;
    

}

.highlight{
    color: #007bff; 
}

.storycard{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-color: white;
    border-radius: 25px;
    padding: 30px;
    box-shadow: 0 5px 10px rgba(18, 18, 18, 0.1);
    max-width: 900px;
    gap: 20px;
    margin: 30px auto;
}

.storytext{
    flex: 1;
    text-align: left;
}

.story-img{
    flex: 1;
}
.story-img img{
    max-width: 300px;
    height: 100%;
    border-radius: 14px;
    object-fit: cover;
    margin-left: 200px;
}

.buttons{
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 50px;
}

.nav-buttons{
    background-color: #5981f1;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}


.hero-section-main-3{
    height: 85vh;
    padding: 0 50px;
    display: flex;
    justify-content: start;
    align-items: center;
    background-color: #fafafa;

}

.hero-section-3{
    display: flex;
    justify-content: center;
    align-items: start;
    gap: 15px;
    flex-direction: column;
}

.calculation{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-color: white;
    border-radius: 25px;
    padding: 30px;
    box-shadow: 0 5px 10px rgba(18, 18, 18, 0.1);
    max-width: 900px;
    gap: 20px;
    margin: 30px auto;
}

.calculate{
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.invest{
    text-align: center;
    font-weight: bold;
    background-color: rgb(20, 20, 28);
    border-radius: 15px;
    color: white
}

.donut-chart{
    display: flex;
    justify-content: flex-end;
    padding-right: 30px;
    margin-bottom: 150px;
    margin-left: 50px;
}

.chart{
    width: 200px;
    height: 250px;
}

.hero-section-main4{
    font-family: 'segoe UI' , sans-serif;
    background: #f7faff;
    margin: 0;
    padding: 0;
    color: #333;
    /* display: flex; */
}
.cards{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    padding: 24px 0px;
}
.card{
    display: flex;
    justify-content: space-around;
    width: auto;
    flex-direction: column;
    padding: 16px;
    background-color: #b49fdc;
    border-radius: 8px;
}

.cards .card:nth-child(1) {
    background-color: #ffbea9;
}
.cards .card:nth-child(2) {
    background-color: #93f3f6;
}
.cards .card:nth-child(3) {
    background-color: #e787ff;
}
.cards .card:nth-child(4) {
    background-color: #8fffd4;
}

h1, h2 {
  text-align: center;
  color: #111;
}

h1 span {
  color: #0047ff;
}

.action-center p, .reminders p {
  text-align: center;
  color: #555;
}


.card h3 {
  margin-top: 0;
}

.card ul {
  padding-left: 1rem;
}

.card button {
  margin-top: 1rem;
  background: #0047ff;
  color: white;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
}

.card.pink { border-top: 5px solid #f78da7; }
.card.blue { border-top: 5px solid #6ec1e4; }
.card.purple { border-top: 5px solid #b49fdc; }
.card.green { border-top: 5px solid #7adcb4; }

.reminders {
  background: #fff;
  padding: 2rem 1rem;
  margin-top: 3rem;
  border-radius: 12px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.milestones {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.milestone {
  background: #f0f4ff;
  padding: 1rem;
  border-radius: 10px;
  width: 220px;
  text-align: center;
}

.milestone button {
  margin-top: 0.8rem;
  background: #0047ff;
  color: white;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.cta {
  text-align: center;
  margin-top: 2rem;
  background: #e8e0ff;
  padding: 1.5rem;
  border-radius: 10px;
}

.cta button {
  background: #2e0073;
  color: white;
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 8px;
  margin-top: 0.8rem;
  cursor: pointer;
}

button {
    background-color: #0047ff;
    color: white;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease;

}

button:hover{
    background-color: #0033cc;
}

.footer{
    background-color: #e8f7fc;
    padding: 20px;
    text-align: left;
    position: relative;
    bottom: 0;
    width: 100%;
    /* color: white; */
    display: flex;
    justify-content : space-around;
    border-radius: 10px;
    font-size: 14px;
}

.footer h2{
    text-align: left;
}
.footer p{
    text-align: left;
    margin-bottom: 5px;
    font-size: 12px;
}

.links, .resources {
    margin-top: 20px;
}

.end{
    background-color: #e8f7fc;
    padding: 12px;
    width: 100%;
    font-size: 10px;
    text-align: center;
}
