.contain,
.form {
    overflow: hidden;
    width: 100%;
}
.contain,
.form,
.input {
    width: 100%;
}
.input,
.title {
    font-weight: 500;
}
.btn,
.title {
    line-height: 1;
}
.contain {
    position: relative;
    min-height: 100vh;
    padding: 2rem;
    background-color: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
}
body.dark-mode .contain {
    background: linear-gradient(112deg, #222 1%, #111 99%);
}
input:-internal-autofill-selected {
    background: 0 0;
}
body.dark-mode .contact-info {
    background-color: #111;
}
.bg_contact,
body.dark-mode .bg_contact,
body.dark-mode .information,
body.dark-mode .social-media p,
body.dark-mode .text {
    color: #fff;
}
button:focus {
    outline: 0;
}
.dropdown-menu {
    z-index: 10000;
}
.dropdown-toggle::after {
    margin-left: 18.255em;
    background-color: #0077b6;
}
.form {
    max-width: 820px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px 1px rgba(0, 0, 0, 0.1);
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
.social-icons a:hover {
    color: #fff !important;
}
.contact-form {
    background-color: #0077b6;
    position: relative;
}
.circle {
    border-radius: 50%;
    background: linear-gradient(135deg, transparent 20%, #c2d4fb);
    position: absolute;
}
.circle.one {
    width: 130px;
    height: 130px;
    top: 130px;
    right: -40px;
    opacity: 0.4;
}
.one {
    background-color: #ef476f !important;
    left: 177px;
    bottom: -58px;
}
.input-contain span:before,
.square {
    left: 50%;
}
.circle.two {
    width: 80px;
    height: 80px;
    top: 10px;
    right: 30px;
    opacity: 0.4;
}
.two {
    background-color: #ffd166 !important;
}
.contact-form:before {
    content: "";
    position: absolute;
    width: 26px;
    height: 26px;
    background-color: #0077b6;
    transform: rotate(45deg);
    top: 50px;
    left: -13px;
}
.title {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 0.7rem;
}
.btn,
.input {
    font-size: 0.95rem;
    outline: 0;
}
.input-contain {
    position: relative;
    margin: 1rem 0;
}
body.dark-mode .input {
    border: 2px solid #fff;
    color: #fff;
}
.input {
    border: 2px solid #fafafa;
    background: 0 0;
    padding: 0.6rem 1.2rem;
    color: #fff;
    letter-spacing: 0.5px;
    border-radius: 25px;
    transition: 0.3s;
}
textarea.input {
    padding: 0.8rem 1.2rem;
    min-height: 150px;
    border-radius: 22px;
    resize: none;
    overflow-y: auto;
}
.input-contain label,
.input-contain span {
    padding: 0 0.4rem;
    pointer-events: none;
    position: absolute;
}
.input-contain label {
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: #fafafa;
    font-size: 0.9rem;
    font-weight: 400;
    z-index: 1000;
    transition: 0.5s;
}
.input-contain.textarea label {
    top: 1rem;
    transform: translateY(0);
}
body.dark-mode .btn {
    background-color: #fff;
    border: 2px solid #fff;
}
.btn {
    padding: 0.6rem 1.3rem;
    background-color: #fff;
    border: 2px solid #fafafa;
    color: #0077b6;
    border-radius: 25px;
    cursor: pointer;
    transition: 0.3s;
    .circle.two: 0;
}
.btn:hover {
    background-color: transparent;
    color: #fff;
}
.input-contain span {
    top: 0;
    left: 25px;
    transform: translateY(-50%);
    font-size: 0.8rem;
    color: transparent;
    z-index: 500;
}
.social-media p,
.text {
    color: #333;
}
.input-contain span:after,
.input-contain span:before {
    content: "";
    position: absolute;
    width: 10%;
    opacity: 0;
    transition: 0.3s;
    height: 5px;
    background-color: #0077b6;
    top: 50%;
    transform: translateY(-50%);
}
.input-contain span:after {
    right: 50%;
}
.input-contain.focus label {
    top: 0;
    transform: translateY(-50%);
    left: 25px;
    font-size: 0.8rem;
}
.input-contain.focus span:after,
.input-contain.focus span:before {
    width: 50%;
    opacity: 1;
}
.contact-info {
    padding: 2.3rem 2.2rem;
    position: relative;
}
.contact-info .title,
body.dark-mode .contact-info h3 {
    color: #0077b6;
}
.text {
    margin: 1.5rem 0 2rem;
}
.information {
    display: flex;
    color: #000;
    margin: 0.7rem 0;
    align-items: center;
    font-size: 13px;
}
.information p {
    margin: 0 0 0 15px;
}
.icon {
    width: 28px;
    margin-right: 0.7rem;
}
.social-media {
    padding: 2rem 0 0;
}
.social-icons {
    display: flex;
    margin-top: 0.5rem;
}
.social-icons a {
    width: 35px;
    height: 35px;
    border-radius: 5px;
    background: linear-gradient(45deg, #0077b6, #c2d4fb);
    color: #fff;
    text-align: center;
    line-height: 35px;
    margin-right: 0.5rem;
    transition: 0.3s;
}
.fab {
    margin-top: 10px;
}
.social-icons a:hover {
    transform: scale(1.05);
}
.contact-info:before {
    content: "";
    position: absolute;
    width: 110px;
    height: 100px;
    border: 22px solid #0077b6;
    border-radius: 50%;
    bottom: -50px;
    right: 50px;
    opacity: 0.3;
}
.big-circle {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    bottom: 50%;
    right: 50%;
    transform: translate(-40%, 38%);
}
.rubberBand {
    display: block;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: var(--logo);
    background-size: 60px;
    height: 80px;
    padding-left: 100px;
}
.big-circle b {
    background-image: url(../img/index/logo/favicon-1.png);
    background-size: cover;
    width: 80%;
    height: 80%;
    margin-left: 25px;
    margin-top: 95px;
    opacity: 0.2;
    transform: rotate(319deg);
}
body.dark-mode .big-circle b {
    background-image: url(../img/index/logo/favicon-2.png);
    background-size: cover;
}
.contact-us-bgcolor {
    background-image: url(../img/index/illustration/contact-line-img.webp);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
}
.copyright-contact {
    text-align: center;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-content: space-around;
    padding: 10px 0;
}
.copyright-contact h2 {
    font-size: 33px;
    margin: 0 !important;
    color: #fff;
}
@media screen and (max-width: 992px) {
    .copyright-contact h2 {
        font-size: 25px !important;
    }
}
@media only screen and (max-width: 426px) {
    .copyright-contact h2 {
        font-size: 16px !important;
        line-height: 1.3;
        width: 60% !important;
    }
}
@media only screen and (max-width: 499px) {
    .copyright-contact h2 {
        font-size: 18px;
        line-height: 1.3;
        width: 50%;
    }
}
.desc-contact-btn {
    text-decoration: none;
    background: #fff;
    padding: 12px 22px;
    display: inline-block;
    align-items: center;
    color: #0675e8;
    border-radius: 50px;
    border: 2px solid #0675e8;
    font-weight: 600;
}
.desc-contact-btn:hover {
    color: #0675e8;
    background: #fff;
    border: 2px solid #0675e8;
}
.square {
    position: absolute;
    height: 400px;
    top: 50%;
    transform: translate(181%, 11%);
    opacity: 0.6;
}
.contactbg {
    position: relative;
    text-align: center;
    color: #fff;
}
.bottom-left,
.centered {
    position: absolute;
    left: 8%;
}
.contactbg img {
    height: 500px;
    width: 100%;
}
.centered {
    top: 40%;
    font-weight: 500;
    font-size: 4rem;
}
.bottom-left {
    top: 64%;
    font-weight: 500;
    font-size: 1rem;
    text-align: initial;
    max-width: 44%;
}
@media (max-width: 990px) {
    @media (max-width: 768px) {
        .contactbg img {
            height: 400px;
        }
        .centered {
            top: 40%;
        }
        .bottom-left {
            top: 67%;
            max-width: 80%;
        }
    }
    @media (max-width: 425px) {
        .bottom-left {
            top: 53%;
        }
        .centered {
            top: 10%;
        }
        .contactbg img {
            height: 150px;
        }
        .form {
            display: block !important;
        }
    }
    @media (max-width: 850px) {
        .form {
            grid-template-columns: 1fr;
        }
        .contact-info:before {
            bottom: initial;
            top: -75px;
            right: 65px;
            transform: scale(0.95);
        }
        .contact-form:before {
            top: -13px;
            left: initial;
            right: 70px;
        }
        .square {
            transform: translate(140%, 43%);
            height: 350px;
        }
        .big-circle {
            bottom: 75%;
            transform: scale(0.9) translate(-40%, 30%);
            right: 50%;
        }
        .text {
            margin: 1rem 0 1.5rem;
        }
        .social-media {
            padding: 1.5rem 0 0;
        }
    }
    @media (max-width: 480px) {
        .contain {
            padding: 1.5rem;
        }
        .big-circle,
        .contact-info:before,
        .square {
            display: none;
        }
        .contact-info,
        form {
            padding: 1.7rem 1.6rem;
        }
        .title {
            font-size: 1.15rem;
        }
        .social-icons a {
            width: 30px;
            height: 30px;
            line-height: 30px;
        }
        .icon {
            width: 23px;
        }
        .btn,
        .input {
            padding: 0.45rem 1.2rem;
        }
    }
}
