* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Public Sans", sans-serif;
}

/* Background gradient */
body {
    background: #1f3e7d;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* Main wrapper card */
.wrapper {
    margin: 40px 0 50px;
    max-width:  950px;
    height: 580px;
    background: transparent;
    width: calc(100% - 80px);
    /* backdrop-filter: blur(9px); */
    display: flex;
    border-radius: 25px;
    overflow: hidden;
    animation: fadeIn 1s ease-out;
}

.title-head{
    padding: 0 40px;
}
.title-head h1 {
    text-align: center;
    font-size: 80px;
    line-height: 104px;
    margin: 30px 0 15px;
    font-weight: 600;
    color: #fff;
}

.title-head p{
    font-size: 18px;
    line-height: 24px;
    font-weight: 400;
    color: #fff;
}

/* Left Panel */
.left-panel {
    width: 50%;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 0;
}

.left-panel h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #fff;
}

.left-panel p {
    margin-bottom: 30px;
    color: #fff;
    line-height: 1.5;
    font-size: 16x;
    font-weight: 400;
}

/* Social Icons */
.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #fff;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    font-size: 1.1rem;
    color: #444;
    transition: 0.3s;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.social-icons a:hover {
    transform: translateY(-4px);
    background: #4c7aec;
    color: #fff;
}

/* Right Panel */
.right-panel {
    width: 50%;
    background: #4c7aec;
    color: #fff;
    padding: 60px 45px;
    border-radius: 70px 0 0 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.right-panel h2 {
    font-size: 2rem;
    margin-bottom: 10px;

}

.right-panel p {
    margin-bottom: 25px;
    font-size: 16px;
    font-weight: 400;
}

/* Form */
form textarea,
form input {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border-radius: 10px;
    border: none;
    outline: none;
    font-size: 14px;
    color: #444;

}

form button {
    width: 100%;
    padding: 12px;
    background: #4c7aec;
    color: #fff;
    font-size: 1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
    border: 1px solid #fff;
    font-weight: 700;
    text-transform: uppercase;
}

form button:hover {
    background: #e8e3ff;
    color: #4c7aec;
}

#successMessage {
    margin-top: 20px;
    display: block;
    color: #fff;
    font-weight: 400;
    text-align: center;

}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 850px) {
    .wrapper {
        flex-direction: column;
        height: auto;
        width: 95%;
        margin-bottom: 50px;
        margin-top: 10px;
    }

    .left-panel,
    .right-panel {
        width: 100%;
        border-radius: 0;
        padding: 30px;
    }

    body {
        height: auto;
    }
    .title-head h1{
        font-size: 44px;
        line-height: 50px;
    }
    
}

/*  */
/* -------------- Sliding Panel Animation -------------- */

.wrapper {
    animation: slideWrapper 1s ease forwards;
    opacity: 0;
}

.left-panel {
    transform: translateX(-80px);
    opacity: 0;
    animation: slideLeftPanel 1s ease 0.3s forwards;
}

.right-panel {
    transform: translateX(80px);
    opacity: 0;
    animation: slideRightPanel 1s ease 0.4s forwards;
}

@keyframes slideWrapper {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideLeftPanel {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideRightPanel {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}