/* Investment Scheme Section */
#investment-scheme {
    background: transparent;
    padding: clamp(1rem, 2vw, 1.5rem);
    width: 100%;
    color: #FFFFFF;
}

#investment-scheme h2 {
    color: #FFFFFF;
    text-align: center;
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    margin-bottom: 1rem;
}

#investment-scheme h2 i {
    color: #FFFFFF;
}

#investment-scheme .investment-scheme-header-description {
    text-align: center;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    color: #FFFFFF;
    margin: 0.5rem auto 1.5rem;
    max-width: 80%;
}

#investment-scheme .investment-scheme-content {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two-column layout for larger screens */
    gap: clamp(1rem, 2vw, 1.5rem);
    align-items: start;
}

#investment-scheme .investment-calculator {
    padding: clamp(1rem, 2vw, 1.5rem);
    border: 1px solid #FFFFFF;
    border-radius: 8px;
    text-align: center;
}

#investment-scheme .investment-calculator i {
    font-size: clamp(1.6rem, 3vw, 2rem);
    color: #FFFFFF;
    margin-bottom: 1rem;
}

#investment-scheme .investment-calculator h3 {
    font-size: clamp(1.2rem, 2vw, 1.4rem);
    margin-bottom: 1rem;
    color: #FFFFFF;
}

#investment-scheme .investment-calculator .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

#investment-scheme .investment-calculator input {
    padding: 0.5rem;
    border: 1px solid #1E3A8A;
    border-radius: 5px;
    background: #FFFFFF;
    color: #1E3A8A;
    font-size: clamp(0.85rem, 1.5vw, 1rem);
}

#investment-scheme .investment-calculator input::placeholder {
    color: #666666;
}

#investment-scheme .investment-calculator button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: clamp(0.4rem, 1vw, 0.5rem) clamp(0.8rem, 2vw, 1rem);
    background-color: #1E3A8A;
    color: #FFFFFF;
    border: 1px solid #FFFFFF;
    border-radius: 10px;
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    cursor: pointer;
    animation: pulse 2s infinite;
}

#investment-scheme .investment-calculator button i {
    font-size: clamp(0.75rem, 1.5vw, 1rem);
    color: #FFFFFF;
}

#investment-scheme .investment-calculator button:hover {
    background-color: #2B4B9F;
}

#investment-scheme .investment-calculator .result {
    margin-top: 1rem;
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    color: #FFFFFF;
}

#investment-scheme .investment-details h3 {
    font-size: clamp(1.2rem, 2vw, 1.4rem);
    margin-bottom: 0.5rem;
    color: #FFFFFF;
}

#investment-scheme .investment-details p {
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    color: #FFFFFF;
    margin-bottom: 1rem;
}

#investment-scheme .investment-details ul {
    list-style: none;
    padding: 0;
}

#investment-scheme .investment-details li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    color: #FFFFFF;
    margin-bottom: 0.5rem;
}

#investment-scheme .investment-details li i {
    font-size: clamp(0.75rem, 1.5vw, 1rem);
    color: #60A5FA;
}

/* Animation for button */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Responsive Design for Mobile View (≤768px) */
@media (max-width: 768px) {
    #investment-scheme {
        padding: clamp(0.8rem, 2.5vw, 1rem);
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #investment-scheme h2 {
        font-size: clamp(1.3rem, 3vw, 1.5rem);
    }

    #investment-scheme .investment-scheme-header-description {
        font-size: clamp(0.8rem, 1.8vw, 0.9rem);
        max-width: 90%;
    }

    #investment-scheme .investment-scheme-content {
        grid-template-columns: 1fr; /* Single-column list layout for mobile */
        gap: clamp(0.8rem, 2vw, 1rem);
        justify-items: center;
        max-width: 90%;
    }

    #investment-scheme .investment-calculator,
    #investment-scheme .investment-details {
        padding: clamp(0.8rem, 2vw, 1rem);
        width: 100%;
        max-width: 400px; /* Cap width for consistency */
        box-sizing: border-box;
    }

    #investment-scheme .investment-calculator i {
        font-size: clamp(1.4rem, 3vw, 1.6rem);
    }

    #investment-scheme .investment-calculator h3 {
        font-size: clamp(1rem, 2.2vw, 1.1rem);
    }

    #investment-scheme .investment-calculator input {
        font-size: clamp(0.75rem, 1.8vw, 0.85rem);
        padding: clamp(0.3rem, 1vw, 0.4rem);
        width: 100%;
    }

    #investment-scheme .investment-calculator button {
        padding: clamp(0.3rem, 1vw, 0.4rem) clamp(0.6rem, 1.5vw, 0.8rem);
        font-size: clamp(0.75rem, 1.8vw, 0.85rem);
    }

    #investment-scheme .investment-calculator button i {
        font-size: clamp(0.65rem, 1.6vw, 0.75rem);
    }

    #investment-scheme .investment-calculator .result {
        font-size: clamp(0.75rem, 1.8vw, 0.85rem);
    }

    #investment-scheme .investment-details h3 {
        font-size: clamp(1rem, 2.2vw, 1.1rem);
        text-align: center;
    }

    #investment-scheme .investment-details p {
        font-size: clamp(0.75rem, 1.8vw, 0.85rem);
        text-align: center;
    }

    #investment-scheme .investment-details li {
        font-size: clamp(0.75rem, 1.8vw, 0.85rem);
        justify-content: center;
    }

    #investment-scheme .investment-details li i {
        font-size: clamp(0.65rem, 1.6vw, 0.75rem);
    }
}

/* Responsive Design for Tablets (769px–1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    #investment-scheme {
        padding: clamp(1rem, 2vw, 1.5rem);
    }

    #investment-scheme h2 {
        font-size: clamp(1.4rem, 2.5vw, 1.6rem);
    }

    #investment-scheme .investment-scheme-header-description {
        font-size: clamp(0.85rem, 1.5vw, 0.95rem);
        max-width: 85%;
    }

    #investment-scheme .investment-scheme-content {
        grid-template-columns: 1fr; /* Single-column list layout for tablets */
        gap: clamp(1rem, 2vw, 1.2rem);
        justify-items: center;
        max-width: 90%;
    }

    #investment-scheme .investment-calculator,
    #investment-scheme .investment-details {
        padding: clamp(1rem, 2vw, 1.2rem);
        width: 100%;
        max-width: 600px; /* Slightly larger max-width for tablets */
        box-sizing: border-box;
    }

    #investment-scheme .investment-calculator i {
        font-size: clamp(1.5rem, 2.5vw, 1.7rem);
    }

    #investment-scheme .investment-calculator h3 {
        font-size: clamp(1.1rem, 1.8vw, 1.2rem);
    }

    #investment-scheme .investment-calculator input {
        font-size: clamp(0.8rem, 1.5vw, 0.9rem);
        padding: clamp(0.4rem, 1vw, 0.5rem);
    }

    #investment-scheme .investment-calculator button {
        padding: clamp(0.4rem, 1vw, 0.5rem) clamp(0.8rem, 1.5vw, 1rem);
        font-size: clamp(0.8rem, 1.5vw, 0.9rem);
    }

    #investment-scheme .investment-calculator button i {
        font-size: clamp(0.7rem, 1.2vw, 0.8rem);
    }

    #investment-scheme .investment-calculator .result {
        font-size: clamp(0.8rem, 1.5vw, 0.9rem);
    }

    #investment-scheme .investment-details h3 {
        font-size: clamp(1.1rem, 1.8vw, 1.2rem);
        text-align: center;
    }

    #investment-scheme .investment-details p {
        font-size: clamp(0.8rem, 1.5vw, 0.9rem);
        text-align: center;
    }

    #investment-scheme .investment-details li {
        font-size: clamp(0.8rem, 1.5vw, 0.9rem);
        justify-content: center;
    }

    #investment-scheme .investment-details li i {
        font-size: clamp(0.7rem, 1.2vw, 0.8rem);
    }
}

/* Responsive Design for Larger Desktops (>1024px) */
@media (min-width: 1025px) {
    #investment-scheme {
        padding: clamp(1.5rem, 2vw, 2rem);
    }

    #investment-scheme h2 {
        font-size: clamp(1.6rem, 2.5vw, 1.8rem);
    }

    #investment-scheme .investment-scheme-header-description {
        font-size: clamp(0.9rem, 1.5vw, 1rem);
        max-width: 600px;
    }

    #investment-scheme .investment-scheme-content {
        grid-template-columns: 1fr 1fr; /* Two-column layout for desktop */
        gap: clamp(1.5rem, 2vw, 2rem);
    }

    #investment-scheme .investment-calculator,
    #investment-scheme .investment-details {
        padding: clamp(1.2rem, 2vw, 1.5rem);
    }

    #investment-scheme .investment-calculator i {
        font-size: clamp(1.8rem, 2.5vw, 2rem);
    }

    #investment-scheme .investment-calculator h3 {
        font-size: clamp(1.2rem, 1.8vw, 1.4rem);
    }

    #investment-scheme .investment-calculator input {
        font-size: clamp(0.9rem, 1.5vw, 1rem);
        padding: clamp(0.4rem, 1vw, 0.5rem);
    }

    #investment-scheme .investment-calculator button {
        padding: clamp(0.5rem, 1vw, 0.6rem) clamp(1rem, 1.5vw, 1.2rem);
        font-size: clamp(0.9rem, 1.5vw, 1rem);
    }

    #investment-scheme .investment-calculator button i {
        font-size: clamp(0.9rem, 1.2vw, 1rem);
    }

    #investment-scheme .investment-calculator .result {
        font-size: clamp(0.9rem, 1.5vw, 1rem);
    }

    #investment-scheme .investment-details h3 {
        font-size: clamp(1.2rem, 1.8vw, 1.4rem);
    }

    #investment-scheme .investment-details p {
        font-size: clamp(0.9rem, 1.5vw, 1rem);
    }

    #investment-scheme .investment-details li {
        font-size: clamp(0.9rem, 1.5vw, 1rem);
    }

    #investment-scheme .investment-details li i {
        font-size: clamp(0.9rem, 1.2vw, 1rem);
    }
}