@media(max-width:1200px) {
    .nav-links {
        width: 70%;
    }

    .tagline {
        font-size: 30px;
    }

    #sip-section {
        #sip-section-content {
            width: 90%;
        }

        .sip-content {
            align-items: center;

            p {
                font-size: 1rem;
            }
        }
    }

    #swp-section {
        #swp-section-content {
            width: 90%;
        }

        .swp-content {
            align-items: center;

            p {
                font-size: 1rem;
            }
        }
    }

    #mf-section {
        #mf-section-content {
            width: 90%;
        }

        .mf-content {
            align-items: center;

            p {
                font-size: 1rem;
            }
        }
    }
}

@media(max-width:992px) {
    .nav-links {
        width: 80%;
    }

    .landing-page-content {
        gap: 1rem;
    }

    .text-content {
        width: 60%;
    }

    .image-content {
        width: 40%;
    }

    .tagline {
        font-size: 30px;
        letter-spacing: 3px;
    }

    #sip-section {
        #sip-section-content {
            width: 90%;
        }

        .sip-content {
            p {
                font-size: 0.9rem;
            }
        }
    }

    #swp-section {
        #swp-section-content {
            width: 90%;
        }

        .swp-content {
            p {
                font-size: 0.9rem;
            }
        }
    }

    #mf-section {
        #mf-section-content {
            width: 90%;
        }

        .mf-content {
            p {
                font-size: 0.9rem;
            }
        }
    }
}

@media(max-width:768px) {

    .overflow-hidden {
        overflow: hidden;
    }

    .header.expand {
        height: 100vh;
        transition: all 0.5s ease;
        background-color: rgba(0, 0, 0, 0.904);
    }

    .header.scrolled.expand {
        height: 100vh;
        transition: all 0.5s ease;
        background-color: rgba(0, 0, 0, 0.904);
    }

    .nav-links {
        display: none;
    }

    .header.expand .nav-links {
        width: 100%;
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .header.expand .nav-links li {
        margin-left: 50px;
        margin-bottom: 3rem;
        font-size: 1.5rem;
    }

    .header.expand .nav-links li:nth-of-type(1) {
        animation: slideInLeft 0.6s cubic-bezier(.51, .1, 0, 1) forwards;
    }

    .header.expand .nav-links li:nth-of-type(2) {
        animation: slideInLeft 0.8s cubic-bezier(.51, .1, 0, 1) forwards;
        z-index: 100
    }

    .header.expand .nav-links li:nth-of-type(3) {
        animation: slideInLeft 1s cubic-bezier(.51, .1, 0, 1) forwards;
        z-index: 99
    }

    .header.expand .nav-links li:nth-of-type(4) {
        animation: slideInLeft 1.2s cubic-bezier(.51, .1, 0, 1) forwards;
        z-index: 98
    }

    .header.expand .nav-links li:nth-of-type(5) {
        animation: slideInLeft 1.4s cubic-bezier(.51, .1, 0, 1) forwards;
        z-index: 97
    }

    .header.expand .nav-links li:nth-of-type(6) {
        animation: slideInLeft 1.6s cubic-bezier(.51, .1, 0, 1) forwards;
        z-index: 96
    }

    .fa-chevron-down {
        margin-left: 10px;
        transition: transform 0.3s ease;
    }

    .dropdown-item {
        padding: 5px 20px 5px 20px;
        color: black;
        text-decoration: none;
        display: block;
    }

    .hamburger {
        display: block;
        animation: slideInRight 1s cubic-bezier(.51, .1, 0, 1) forwards;
    }

    @keyframes slideInRight {
        0% {
            transform: translateX(250px);
        }

        100% {
            transform: translateX(0);
        }
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background-color: white;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background-color: white;
    }

    .hamburger.active .bar.sticky:nth-child(1) {
        background-color: white;
        transition: all 0.5s;
    }

    .hamburger.active .bar.sticky:nth-child(3) {
        background-color: white;
        transition: all 0.5s;
    }

    .landing-page-content {
        gap: 1rem;
        flex-direction: column;
    }

    .text-content {
        width: 80%;
    }

    .image-content {
        visibility: hidden;
        width: 0;
    }

    #investments-main,  #loans-main, #schemes-main {
        .section-heading {
            text-align: center !important;
            font-size: 30px !important;
            letter-spacing: 3px !important;
        }

        p:nth-of-type(2) {
            width: 90% !important;
        }
    }

    #sip-section {
        .sip-content {
            flex-direction: column;

            p {
                width: 100% !important;
            }

            img {
                width: 100% !important;
            }
        }
    }

    #swp-section {
        .swp-content {
            flex-direction: column;

            p {
                width: 100% !important;
            }

            img {
                width: 100% !important;
            }

            table {
                width: 100%;
                font-size: smaller;
            }
        }

        ul {
            padding: 0 !important;
        }

        .swp-content:nth-of-type(4) {
            flex-direction: column !important;
        }
    }

    #mf-section {
        .mf-content {
            flex-direction: column;

            p {
                width: 100% !important;
            }

            img {
                width: 100% !important;
            }

            table {
                width: 100%;
                font-size: smaller;
            }
        }

        ul {
            padding: 0 !important;
        }

        .mf-content:nth-of-type(4) {
            div:nth-of-type(1) {
                width: 100% !important;
            }
        }
    }

}

@media(max-width: 576px) {

    .navbar {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .header.expand .nav-links li {
        margin-bottom: 2rem;
        font-size: 1.3rem;
    }

    .text-content {
        width: 100%;
    }

    .tagline {
        font-size: 25px;
        letter-spacing: 2px;
    }

    .welcome-description {
        font-size: 1rem;
    }

    #investments-main,#loans-main,#schemes-main {
        .section-heading {
            font-size: 25px !important;
            letter-spacing: 0px !important;
        }

        p:nth-of-type(2) {
            font-size: 14px !important;
        }
    }
}

@media(max-width: 380px) {
    #investments-main,#loans-main,#schemes-main {
        .section-heading {
            font-size: 20px !important;
        }
    }
}