.nav__link a {
    color: #333333;
}

.nav__link a:hover {
    color: #4d4d4d;
}

.nav__link a:hover .d-toggle {
    fill: #4d4d4d;
}


.d-toggle {
    fill: #333333;
}

.header-btn{
    background: #334097;
    padding: 0.9vw 1.5vw;
    color: #fcf6f6;
    outline: none;
    font-family: "Altone Trial", sans-serif;
    font-size: 1.1vw;
    border: 0.1vw solid #fff;
    border-radius: 1vw;
    z-index: 2;
    height: 100%;
    position: relative;
    cursor: pointer;
}

/* Invest header */

.invest-header {
    position: relative;
    width: 100%;
    height: 35vw; /* Adjust height as needed */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
    z-index: 1;
}

.header-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.header-content {
    position: relative;
    z-index: 2; /* Ensures content appears above overlay */
    text-align: center;
    color: white;
    padding: 0 1vw;
}

.header-title {
    font-size: 3vw;
    font-weight: bold;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.header-subtitle {
    font-size: 1.2vw;
    font-weight: 300;
    margin-top: 0.5rem;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .invest-header {
        height: 40vw;
    }

    .header-title {
        font-size: 5vw;
    }

    .header-subtitle {
        font-size: 2vw;
    }
}


/* Understanding Your Goals */

.understanding-goals {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f8f9fa;
    padding: 5vw;
}

.understanding-goals .container {
    width: 45vw;
}

.understanding-goals h2 {
    font-size: 2.5vw;
    margin-bottom: 1vw;
}

.understanding-goals p {
    font-size: 1.1vw;
    color: #555;
    margin: 0.5vw 0;
    line-height: 1.6;
}

.goals-list {
    list-style: none;
    padding: 0;
}

.goals-list li {
    font-size: 1.1vw;
    color: #555;
    margin: 1vw;
    line-height: 1.6;
    position: relative;
}

.goals-list li::before {
    content: "✔";
    color: #1a237e;
    margin-right: 0.5vw;
    font-size: 1.2vw;
}

.img-container {
    width: 40vw;
    height: 40vw;
}

.img-container img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Diversified Portfolio Management */

.portfolio-management {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #F5F5F5;
    padding: 5vw;
}

.portfolio-management .container {
    width: 45vw;
}

.portfolio-management h2 {
    font-size: 2.5vw;
    margin-bottom: 1vw;
}

.portfolio-management p {
    font-size: 1.2vw;
    color: #555;
    margin-bottom: 1vw;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    padding: 0.8vw 1.5vw;
    background-color: #3949ab;
    color: white;
    text-decoration: none;
    text-transform: capitalize;
    border-radius: 0.5vw;
    font-size: 1vw;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #283593;
}


/* Sustainable and Ethical Investing */

.ethical-investing {
    background-color: #e8f5e9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5vw;
}

.ethical-investing .container {
    width: 45vw;
}

.ethical-investing h2 {
    color: #388e3c;
    font-size: 2.5vw;
    margin-bottom: 1vw;
}

.ethical-investing p {
    font-size: 1.2vw;
    color: #555;
    margin-bottom: 1vw;
    line-height: 1.8;
}

.ethical-features {
    list-style: none;
    padding: 0;
}

.ethical-features li {
    font-size: 1.1vw;
    color: #555;
    margin: 1vw 0;
    position: relative;
}

.ethical-features li::before {
    content: "🌿";
    margin-right: 0.5vw;
}

/* Conclusion */

.conclude{
    padding: 3vw 5vw;
}

.conclude h3{
    font-size: 2vw;
    color: #1a237e;
    margin-bottom: 0.5vw; 
}

.conclude p{
    font-size: 1.1vw;
    line-height: 1.5;
}