@import url('https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900&display=swap');

.invest_sec1 {
    background: url('./../images/investnow/invest-bg.jpg') no-repeat;
    position: relative;
    background-size: cover;
    background-position: center;
}
.invest_sec1_contents {
    padding: 50px 150px 0 150px; /* Default for larger screens */
}
.invest_sec1 h2 {
    color: #fff;
    font-size: 3.25rem; /* Large heading for desktop */
    font-weight: 900;
    margin-bottom: 20px;
}
.invest_sec1 p {
    color: #fff;
    font-size: 1.33333rem; /* Larger body text for desktop */
    margin-left: 5px;
}
.list-title {
    /* color: #fff; */
    font-size: 2rem; /* Large font for web */
    font-weight: 900;
    margin-bottom: 20px;
}

.invest-form-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* Align content for large screens */
    padding: 25px 0 0 0;
}

.invest-info {
    width: 48%; /* 50% width for desktop */
    display: flex;
    flex-direction: column;
    padding-right: 20px; /* Padding between form and info */
}

.invest-info-p1 {
    padding: 0 50px 0 0; /* Extra padding for text spacing */
}

.invest-info ul li {
    display: flex;
    align-items: baseline;
}
.invest-info ul li img {
    margin-right: 5px;
}

.invest_sec1_p2 {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #0f3b59;
    width: 100%;
    padding: 0 150px; /* More padding for web */
    display: flex;
    align-items: center;
}
.invest_sec1_p2 h2{
    margin: 0;
    padding: 20px 00px;
}
.invest-form {
    position: relative;
    width: 50%; /* Adjust form width */
    display: flex;
    justify-content: center;
    height: auto;
}
.invest-form h3 {
    font-size: 3rem; /* Larger font size for web */
    line-height: 3rem;
    font-weight: 800;
    /* letter-spacing: 1px; */
    margin-bottom: 10px;
}
.invest-form h4 {
    font-size: 1.45rem;
    font-weight: 500;
    margin-bottom: 15px;
}
.invest-form p {
    font-size: 1.33rem;
    margin-bottom: 15px;
    line-height: 1.2;
    color: #000;
}

.invest-form-p1 {
    z-index: 100;
    background-color: #fff;
    padding: 45px 30px 0 30px; /* Larger padding for desktop */
    border-radius: 25px 25px 0 0;
    width: 90%;
    margin-top: 100px;
    /*max-width: 550px; /* Larger max-width for desktop */
}
form {
    display: flex;
    flex-direction: column;
}
.invest-form label {
    display: -webkit-box;
    font-size: 14px;
    margin-bottom: 5px;
}
input,select,textarea{
    margin-top: 30px;
    color: #828282;
}
input::placeholder, textarea::placeholder {
  color: #828282; /* Change the placeholder text color */
}
input {
    font-size: 18px; /* Larger input font size */
    border: none;
    border-bottom: 1px solid #ccc;
}
input:focus {
    outline: none;
    border-bottom: 1px solid #ccc;
    background-color: #fff;
}
textare:focus {
    outline: none;
    border-bottom: 1px solid #ccc;
    background-color: #fff;
}
select:disabled{
    color: #bebebe;
}
select {
    outline: none;
    font-size: 18px; /* Larger input font size */
    border: none;
    border-bottom: 1px solid #ccc;
}
select:focus-visible,select:focus{
    outline: none;
    font-size: 18px; 
    border: none;
    border-bottom: 1px solid #ccc;
}
textarea {
    font-size: 18px;
    resize: none;
    padding: 10px;
    border: 1px solid #ccc;
}


.phone-input {
    display: flex;
    align-items: baseline;
    position: relative;
}

.phone-input input {
    width: 80%; /* Adjust input width */
}
.phone-input select{
    width: 20%; /* Adjust width */
    margin-right: 5px;
    top: 1.8px;
    position: relative;
}




.submit-btn {
    padding: 10px;
    font-size: 16px;
    background-color: #E9E9E9;
    color: #828282;
    border: none;
    border-radius: 70px;
    width: fit-content;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 20px 0;
}
.submit-btn:hover {
    background-color: #d5d5d5;
}

.invest_sec2 {
    background-color: #f6f6f6;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 50px 150px;
    flex-wrap: wrap;
}

.invest_sec2_parts {
    /* flex-basis: 23%; */
    margin-bottom: 20px;
    box-sizing: border-box;
    width: 25%;
}

.invest_sec2_parts img {
    display: block;
    margin: 0 auto;
    width: 75%; /* Large image for desktop */
}

.invest_sec4 {
    padding: 50px 150px; /* Extra padding for web view */
}

.invest_sec4 p {
    margin-bottom: 10px;
}

.invest_sec4 ul {
    list-style-type: disc;
    padding-left: 20px;
}

.invest_sec1_p2_mobile_view{
    display: none;
}

/* Adjustments for tablet screens (768px to 1200px) */
/* @media (max-width: 1200px) {
    .invest_sec1_contents {
        padding: 40px 80px; /* Adjust padding for smaller web screens 
    }
    .invest-form, .invest-info {
        width: 100%; /* Stack form and info on top of each other 
    }
} */

/* Tablet view (768px and below) */
/* @media (max-width: 768px) { */
@media (max-width: 890px) {
    .invest-form-container{
        flex-direction: column;
        align-items: center;
        padding: 0;
    }
    .invest-info,.invest-form{
        width: 100%;
        margin-top: 50px;
    }
    .invest_sec1_contents {
        padding: 40px 30px; /* Further reduce padding */
    }
    .invest-form-p1 {
        padding: 50px 20px; /* Reduce form padding for tablets */
        border-radius: 25px;
        margin-top: unset;
    }
    .invest-info {
        padding-right: 0;
    }
    .invest_sec1_p2{
        display: none;
    }
    
    .invest_sec2_parts {
        width: 50%;
    }
    .invest_sec1_p2_mobile_view{
        display: block;
        background-color: #0f3b59;
        width: 100%;
        padding: 20px 50px; /* More padding for web */
        display: flex;
        align-items: center;
    }
    .invest_sec1_p2_mobile_view h2 {
        color: #fff;
        font-size: 2.5rem; /* Large heading for desktop */
        font-weight: 900;
    }
}

/* Mobile view (400px and below) */

/* Responsive styles for mobile devices */
@media screen and (max-width: 768px) {
    .invest_sec4 {
        padding: 50px;
    }
    .invest_sec2_parts img {
        width: 50%;
    }
    .invest_sec2{
        padding: 25px;
    }
    .invest_sec2_parts {
        width: 50%;
    }
}

@media (max-width: 480px) {
    .invest-form-container{
        flex-direction: column;
        align-items: center;
        padding: 0;
    }
    .invest_sec1_contents {
        padding: 30px 15px; /* Further adjust padding for mobile */
    }
    .invest-form-p1 {
        padding: 20px 10px; /* Reduce form padding for mobile */
        margin-top: unset;
    }
    .invest-form h3 {
        /* font-size: 1.8rem; /* Adjust font size */
    }
    .invest-form h4 {
        /* font-size: 1.2rem; */
    }
    .invest-form p {
        /* font-size: 0.9rem; */
    }
    .invest-form-container{
        padding: 0;
    }
    .invest-info, .invest-form {
        width: 100%; /* Full width on mobile */
        margin-top: 50px;
    }
    .invest_sec1_p2 {
        /* height: 150px; /* Reduce footer height for mobile */
        display: none;
    }
    .invest_sec1_p2_mobile_view{
        display: block;
    }
    .invest_sec2{
        flex-direction: column;
    }
    .invest_sec2_parts {
        width: 100%;
    }
    .invest_sec4 {
        padding: 50px;
    }
}