@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins" , sans-serif;
}

body{
    min-height: 100vh;
    width: 100%;
    background: #08122D;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

header {
    background-color: #0d1b2a;
    width: 100%;
    padding: 10px 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header .logo img {
    height: 50px;
}

header ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;

}

header ul li {
    margin-left: 20px;
    
}

header ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

header ul li a:hover {
    color: #1fa2ff;
}


.container{
    width: 80%;
    background: #fff;
    border-radius: 6px;
    padding: 30px 60px 40px 40px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    margin-top: 280px; /* Adjust this based on the height of the header */
    margin-left: 160px;
    margin-right: 160px;
}

.container .content{
    display: flex;
    align-items: center;
    justify-content: space-between;
    
}

.container .content .left-side{
    width: 25%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    position: relative;
}

.content .left-side::before{
    content: '';
    position: absolute;
    height: 70%;
    width: 2px;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    background: #afafb6;
}

.content .left-side .details{
    margin: 14px;
    text-align: center;
}

.content .left-side .details i{
   font-size: 30px;
   color: #3e2093;
   margin-bottom: 10px;
}

.content .left-side .details .text-one,
.content .left-side .details .text-two{
    font-size: 14px;
    color: #afafb6;
}

.content .left-side .details .topic{
    font-size: 18px;
    font-weight: 500;
}

.container .content .right-side{
    width: 75%;
    margin-left: 75px;  
}

.content .right-side .topic-text{
    font-size: 23px;
    font-weight: 600;
    color: #3e2093;
}

.right-side .input-box {
    height: 50px;
    width: 100%;
    margin: 12px 0;
}

.right-side .input-box input,
.right-side .input-box textarea{
    height: 100%;
    width: 100%;
    border: none;
    font-size: 16px;
    background: #f0f1f8;
    border-radius: 6px;
    padding: 0 15px;
    resize: none;
}

.right-side .message-box{
    min-height: 110px;
    margin-top: 6px;  
}

.right-side .button{
    margin-top: 6px;
    display: inline-block;
}

.right-side .button .submit{
    color: #fff;
    font-size: 18px;
    outline: none;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    background: #3e2093;
    cursor: pointer;
    transition: all 0.3s ease;
}

.button .submit:hover{
    background: #5029bc;
}

footer {
    text-align: center;
    padding: 20px 0;
    color: #fff;
}

footer p {
    margin: 0;
}

@media (max-width: 950px) {
    .container{
        width: 90%;
        padding: 30px 35px 40px 40px;
        margin-left: 50px;
        
    }
}

@media (max-width: 820px) {
    .container{
        margin: 40px;
        margin-top: 150px;
        height: 100%;
    }
    .container .content{
        flex-direction: column-reverse;
    }
    .container .content .left-side{
        width: 100%;
        flex-direction: row;
        margin-top: 40px;
        justify-content: center;
        flex-wrap: wrap;
    }
    .container .content .left-side::before{
        display: none;
    }
    .container .content .right-side{
        width: 100%;
        margin-left: 0;
    }
    header nav {
        flex-direction: column;
        align-items: flex-start;
    }
    
    header .logo img {
        height: 40px;
    }

    header ul {
        display: none;
    }
}

@media (max-width: 500px) {
    .container{
        width: 90%;
        padding: 30px 35px 40px 40px;
        margin-left: 20px;
        margin-right: 20px;
        margin-top: 150px;
        
    }
    header nav {
        padding: 0 10px;
    }

    header ul li a {
        visibility: hidden;
    }
}