* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    }

body {
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

header {
    background: #f9f9f9;
    color: #578bb5;
    padding: 30px;
    text-align: center;
    top: 0;
    position: sticky;
    box-shadow: 8px 8px 20px rgba(37, 64, 101, 0.6);
    display: flex;
    justify-content: space-between;
    /* width: 100%; */
}

header img {
    width: 100px;
    height: fit-content;
}

nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

nav a {
    font-size: 20px;
    color: #578bb5;
    margin: 0 40px;
    text-decoration: none;
    font-weight: bold;
    line-height: 2;
}

nav a:hover {
    text-decoration: underline;
}

header button {
    width: 120px;
    padding: 10px;
    background: #578bb5;
    color: #fff;
    border-radius: 20px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
}

.hero {
    max-height: 80vh;
    width: 100%;
    text-align: center;
    padding: 15px;
    display: flex;
    justify-content: center;
    margin-top: 70px;
}

.title-head {
    color: #578bb5;
    width: 60%;
    margin-right: 50px;
}

.title-head h1 {
    font-size: 4.5rem;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.title-head p {
    font-size: 2.8rem;
}

.title-head button {
    width: 100px;
    padding: 10px;
    border-radius: 20px;
    border: none;
    background: #5da6e1;
    margin-top: 20px;
}

.middle-line {
    border-right: 2px solid #578bb5;
    max-height: 470px;
    margin-right: 50px;
    /* transform: translate(-35px, 0);
    z-index: -1000; */
}

.img-head {
    width: 50%;
    margin-top: 40px;
}

.hero img {
    height: 300px;
    width: 100%;
}

.goal-section {
    background: #578bb5;
    margin-top: 100px;
    padding: 50px;
    height: fit-content;
    align-content: center;
    margin-bottom: 80px;
}

.cards {
    display: flex;
    gap: 50px;
    justify-content: center;
}

.cards div {
    width: fit-content;
    height: fit-content;
    /* border: 1px solid #000; */
    text-align: center;
    border-radius: 30px;
    box-shadow: 5px 5px 12px rgba(0, 0, 0, 0.6);
    background: #fff;
}

.cards div h2 {
    font-size: 2.7rem;
}

.cards div p {
    font-size: 2.2rem;
    line-height: 3.5rem;
}

.little-notes{
    border-radius: 30px;
    margin: auto 20px 40px 20px;
    box-shadow: 1px 1px 10px 8px  rgba(37, 64, 101, 0.6);
}

.topics {
    padding: 20px 40px;
    max-width: 100%;
    margin: auto 50px;
}

.topics h3 {
    font-size: 2.2rem;
    color: #2c3e50;
}

hr {
    margin-bottom: 20px;
    border: 2px solid #2c3e50;
}

.topics p {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.cta {
    text-align: center;
    margin: 30px 0;
}

.cta button {
    background: #27ae60;
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.cta button:hover {
    background: #219150;
}

footer {
    background: #578bb5;
    color: #fff;
    padding: 20px;
    text-align: center;
    height: 30vh;
    align-content: center;
}

footer a {
    color: #fff;
    margin: 0 10px;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 880px) {
    header {
        width: 100%;
        box-shadow: 6px 6px 15px rgba(37, 64, 101, 0.6);
    }
    nav {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
    nav a {
        font-size: 18px;
        margin: 0 18px;
        font-weight: bold;
        line-height: 2;
    }
    .hero {
        padding: 12px;
        margin-top: 50px;
    }
    .title-head {
        width: 60%;
        margin-right: 35px;
    }
    .title-head h1 {
        font-size: 2.8rem;
    }
    .title-head p {
        font-size: 2rem;
    }
    .middle-line {
        margin-right: 35px;
    }
    .img-head {
        width: 50%;
    }
    .hero img {
        height: 300px;
        width: 100%;
    }
    .goal-section {
        padding: 35px;
    }
    .cards {
        gap: 25px;
    }
    .cards div {
        width: fit-content;
        /* height: 350px; */
    }
    .cards div h2 {
        font-size: 2rem;
    }
    .cards div p {
        font-size: 1.7rem;
        line-height: 2.8rem;
    }

    .topics {
        padding: 20px;
        margin: auto 25px;
    }
}

@media (max-width: 540px) {
    header {
        width: 100%;
        box-shadow: 4px 4px 12px rgba(37, 64, 101, 0.6);
    }
    nav{
        display: none;
    }
    .hero {
        padding: 8px;
        margin-top: 150px;
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        justify-content: center;
        gap: 40px;
        /* border: 1px solid #000; */
        height: fit-content;
    }
    .title-head {
        /* border: 1px solid #000; */
        width: 100%;
        margin-left: 45px;
        margin-bottom: 200px;
    }
    .middle-line {
        display: none;
    }
    .img-head {
        /* border: 1px solid #000; */
        width: 100%;
        margin-top: 150px;
    }
    .goal-section {
        padding: 30px;
        margin-top: 150px;
    }
    .cards {
        flex-direction: column;
    }
    .cards div {
        width: fit-content;
    }
    .topics {
        padding: 20px 18px;
        margin: auto 20px;
    }
}

@media (max-width: 350px) {
    header img {
        width: 35%;
    }
    header button {
        width: 100px;
        padding: 8px;
        font-size: 14px;
    }
    .little-notes{
        border-radius: 30px;
        margin: auto 15px 40px 15px;
        box-shadow: 1px 1px 10px 8px  rgba(37, 64, 101, 0.6);
    }

    .topics {
        padding: 15px;
        max-width: 100%;
        margin: auto 18px;
    }

    .topics h3 {
        font-size: 2rem;
    }
}