﻿


/* Overall container for the feedback section */
.feedback-container {
    display: flex; /* Flexbox layout */
    justify-content: space-between;
    align-items: stretch; /* Make both sides stretch to the same height */
    width: 100%;
    padding: 20px;
    /*gap: 20px;*/
}

/* Left Side (Image) */
.left-side {
    flex: 1; /* Take equal space */
    max-width: 50%; /* Limit max-width to 50% */
    display: flex;
    align-items: center; /* Center image vertically */
    justify-content: center; /* Center image horizontally */
}

    .left-side .image {
        width: 100%; /* Full width of the container */
        height: 450px; /* Maintain image aspect ratio */
        border-radius: 8px; /* Optional: rounded corners */
    }

/* Right Side (Form) */
.right-side {
    flex: 1; /* Take equal space */
    max-width: 50%; /* Limit max-width to 50% */
    padding: 70px;
    background-color: #f7f6f6; /* Optional background color */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    opacity: 0; /* Initially hidden */
    transform: translateX(20px); /* Slide from the right */
    animation: slideIn 0.8s ease-out forwards; /* Animation applied to slide and fade in */
}

/* Form Heading */
h4 {
    font-size: 28px;
    font-weight: 500;
    color: #333;
    text-align: center;
}

/* Form control styling */
.form_control {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

/* Input and Textarea styling */
.form-control {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: none !important;
    border-radius: 30px;
    box-sizing: border-box;
    background: none !important;
    border-bottom: 1px solid black !important;
    color:#000!important;
}

    .form-control::placeholder {
        color: #999;
    }

/* File upload container styling */
.file-upload-container {
    display: flex;
    flex-direction: column;
}



/* Submit Button */
.btn {
    padding: 7px 10px;
    font-size: 16px;
    color: white;
    background-color: #08407d;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    width: 18%;
    text-align: center;
}

    .btn:hover {
        background-color: #0d5b94;
    }

/* Animations */
@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateX(20px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .feedback-container {
        flex-direction: column; /* Stack the content on smaller screens */
        /*gap: 20px;*/
    }

    .responsive-heading {
        margin-top: -40px;
    }

    .left-side,
    .right-side {
        max-width: 100%; /* Both left and right take full width on smaller screens */
    }

    .right-side {
        padding: 45px; /* Adjust padding for smaller screens */
    }

    /* Submit Button */
    .btn {
        padding: 7px 10px;
        font-size: 14px;
        color: white;
        background-color: #08407d;
        border: none;
        border-radius: 6px;
        cursor: pointer;
        width: 30%;
        text-align: center;
    }

        .btn:hover {
            background-color: #0d5b94;
        }
}

@media (max-width:480px) {
    .right-side {
        padding: 45px;
    }
    /* Submit Button */
    .btn {
        padding: 7px 10px;
        font-size: 14px;
        color: white;
        background-color: #08407d;
        border: none;
        border-radius: 6px;
        cursor: pointer;
        width: 55%;
        text-align: center;
    }

        .btn:hover {
            background-color: #0d5b94;
        }

    .left-side .image {
        width: 100%; /* Full width of the container */
        height: 354px; /* Maintain image aspect ratio */
        border-radius: 8px; /* Optional: rounded corners */
    }
}


/*--------------------------- form loading -------------------------------*/
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 9999;
    display: flex; /* Using Flexbox */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
}

.loader-container {
    position: relative;
    width: 100px;
    height: 100px;
    /*top:50px;
    left:50px;*/
}

.rotating-circle {
    position: absolute;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 4px solid transparent;
    animation: spin 5s linear infinite;
    top: -60px;
    left: -60px;
}

    .rotating-circle:nth-child(1) {
        border-top: 4px solid #6aaf08;
        animation-duration: 3s;
    }

    .rotating-circle:nth-child(2) {
        border-bottom: 4px solid black;
        animation-duration: 2s;
    }

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}



.loader-container img {
    position: absolute;
    /*   top: 0;
    left: 30%; */
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    animation: fadeBounce 2s infinite alternate;
}

/* Simple fade and bounce effect */
@keyframes fadeBounce {
    0% {
        opacity: 0.5; /* Start with low opacity */
        transform: translate(-50%, -50%) translateY(-10px); /* Move image up */
    }

    100% {
        opacity: 1; /* Full opacity */
        transform: translate(-50%, -50%) translateY(10px); /* Move image down */
    }
}