@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: "Raleway", sans-serif;
    box-sizing: border-box;
}

body {
    background-color: #def3f2;
}

.main {
    background-image: url(../pics/contact-us-banner.png);
    height: 95vh;
    background-size: cover;
    background-position: center;
}

li{
    list-style: none;
}

a{
    text-decoration: none;
    color: #000;
    font-size: 1rem;
}
a:hover{
    color: #e64833;
}

header{
    position: relative;
    padding: 1.5rem 2rem;
    background: #fff;
}

.navbar{
    width: 100%;
    height: 60px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar .logo img{
    margin-top: 0;
    height: auto;
    width: 200px;
}
.navbar .links {
    display: flex;
    gap: 30px;
    padding: 0px;
    margin: 0px;
    font-weight: 600;
}

.navbar .toggle_btn {
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
}

.action_btn {
    background-color: #e64833;
    color: #fff;
    padding: 0.8rem 1.5rem;
    border: none;
    outline: none;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: scale 0.2 ease;
    margin-left: 10px;
}

.action_btn:hover {
    scale: 1.05;
    color: #fff;
}

.action_btn:active {
    scale: 0.95;
}

.actions_btn {
    background-color: #e64833;
    color: #fff;
    padding: 0.5rem 1.5rem;
    border: none;
    outline: none;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: scale 0.2 ease;
}

.actions_btn:hover {
    scale: 1.05;
    color: #fff;
}

.actions_btn:active {
    scale: 0.95;
}

.dropdown_menu {
    display: none;
    position: absolute;
    right: 2rem;
    top: 60px;
    width: 340px;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    overflow: hidden;
    transition: height 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dropdown_menu.open {
    height: 370px;
}

.dropdown_menu li {
    padding: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropdown_menu .actions_btn {
    width: 100%;
    display: flex;
    justify-content: center;
}

@media (max-width: 992px) {

    .navbar .links,
    .navbar .action_btn {
        display: none;
    }

    .navbar .toggle_btn {
        display: block;
    }

    .dropdown_menu {
        display: block;
    }
}

@media (max-width: 576px) {
    .dropdown_menu {
        left: 2rem;
        width: unset;
    }
}

.mainheading {
    height: calc(100vh - 60px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #e64833;
    font-size: 75px;
    font-weight: bold;
}

/* Contact */
h1 {
    text-align: center;
    font-size: 50px;
    color: #e64833;
    font-weight: 600;
    margin: 55px 70px 0 70px;
}

hr{
    margin: 0 100px 0 100px;
    color: black;
}

.contact {
    position: relative;
    padding: 50px 100px;
}

.contact .content {
    max-width: 800px;
    text-align: center;
    margin: 0 auto; 
}

.contact .content p {
    font-size: 20px;
    color: black;
}

.container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.container .contactinfo {
    width: 50%;
    display: flex;
    flex-direction: column;
}

.container .contactinfo .box {
    position: relative;
    padding: 20px 0;
    display: flex;
}

.container .contactinfo .box .icon {
    width: 60px;
    height: 60px;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 22px;
}

.container .contactinfo .box .text {
    display: flex;
    margin-left: 20px;
    font-size: 16px;
    color: black;
    flex-direction: column;
    font-weight: 300;
}

.container .contactinfo .box .text h3 {
    font-weight: 500;
    color: #244855;
}

.contactform {
    width: 40%;
    padding: 40px;
    background: white;
}

.contactform h2 {
    font-size: 30px;
    color: black;
    font-weight: 500;
}

.contactform .inputbox {
    position: relative;
    width: 100%;
    margin-top: 10px;
}

.contactform .inputbox input,
.contactform .inputbox textarea {
    width: 100%;
    padding: 5px 0;
    font-size: 16px;
    margin: 10px 0;
    border: none;
    border-bottom: 2px solid #333;
    outline: none;
    resize: none;
}

.contactform .inputbox span {
    position: absolute;
    left: 0;
    padding: 5px 0;
    font-size: 16px;
    margin: 10px 0;
    pointer-events: none;
    transition: 0.5s;
    color: #666;
}

.contactform .inputbox input:focus~span,
.contactform .inputbox input:valid~span .contactform .inputbox textarea:focus~span,
.contactform .inputbox textarea:valid~span {
    color: #244855;
    font-size: 12px;
    transform: translateY(-20px);
}

.contactform .inputbox input[type="submit"] {
    width: 100px;
    background: #874f41;
    color: white;
    border: none;
    cursor: pointer;
    padding: 10px;
    font-size: 18px;
}

@media (max-width: 1200px) {
    .contact .content p {
        font-size: 21px;
        margin-top: 150px;
    }
    .contact {
        padding: 30px 50px;
    }

    .container .contactinfo {
        width: 60%;
    }

    .contactform {
        width: 50%;
    }
}

@media (max-width: 1000px) {
    .contact .content p {
        font-size: 19px;
        margin-top: 130px;
    }

    .contact {
        padding: 20px 30px;
    }

    .container .contactinfo {
        width: 70%;
    }

    .contactform {
        width: 60%;
    }
}

@media (max-width: 800px) {
    .contact {
        padding: 15px 20px;
    }
    .contact .content p {
        font-size: 16px;
        margin-top: 99px;
    }

    .container {
        flex-direction: column;
    }

    .container .contactinfo {
        width: 100%;
    }

    .contactform {
        width: 100%;
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: 30px;
    }

    .contact .content {
        margin-top: -80px;
    }

    .contact .content p {
        font-size: 14px;
        margin-top: 70px;
    }

    /* .container .contactinfo .box {
        flex-direction: column;
    } */

    .container .contactinfo .box p {margin-left: 0px; margin-right: 0px;}

    .container .contactinfo .box .icon {
        margin-bottom: 10px;
    }

    .contactform h2 {
        font-size: 20px;
    }

    .contactform .inputbox {
        margin-top: 5px;
    }
}

@media (max-width: 400px) {
    h1 {
        font-size: 20px;
    }

    .contact .content {
        margin-top: -50px;
    }

    .contact .content p {
        font-size: 12px;
    }

    .container .contactinfo .box .icon {
        font-size: 18px;
    }

    .contactform h2 {
        font-size: 18px;
    }

    .contactform .inputbox input,
    .contactform .inputbox textarea {
        font-size: 14px;
    }
}


/* footer */
footer{
    /* position: absolute;
    left: 0;
    right: 0; */
    background: #799e9d;
    /* height: auto; */
    width: 100%;
    padding-top: 40px;
    color: #000;
} 

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.footer-content h3 {
    font-size: 3rem;
    font-weight: 800;
    color: #e64833;
    text-transform: capitalize;
    line-height: 3rem;
}

.footer-content p{
    max-width: 900px;
    margin: 10px auto;
    line-height: 28px;
    font-size: 18px;
    color: #000;
}
.socials {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem 0 3rem 0;
}

.socials li {
    margin: 0 10px;
}

.socials li a{
    text-decoration: none;
    color: #fff;
    border: 1px solid white;
    padding: 8px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;

}

.socials a:hover i {
    color: #e64833;
}

.footer-bottom {
    background: #244855;
    margin-top: 10px;
    width: 100%;
    padding: 10px;
    text-align: center;
}

.footer-bottom p {
    text-align: center;
    font-size: 20px;
    word-spacing: 2px;
    color: #fff;
    text-transform: capitalize;
}

.footer-bottom p a {
    color: #e64833;
    font-size: 25px;
    text-decoration: none;
}

.footer-bottom span {
    text-transform: uppercase;
    opacity: .4;
    font-weight: 200;
}

.footer-menu {
    margin-bottom: 20px;

}

.footer-menu ul{
    padding: 0px;
    display: flex;
    justify-content: center;
    margin: 0px;
    gap: 15px;
    flex-direction: row;
    flex-wrap: wrap;
}
.footer-menu ul li {
    padding-right: 0px;
    display: block;
}
.footer-menu ul li a{
    color: #000;
    border: 1.3px solid #244855;
    padding: 6px 15px;
    text-decoration: none;
    border-radius: 10px;
    margin: 0px;
}

.footer-menu ul li a:hover {
    color: #e64833;
}
.design p{
    text-align: center;
}
.design span{
    color: #e64833;
    font-size: 25px;
    font-weight: 500;
}

@media (max-width:500px) {

    .footer-menu ul {
        display: inline;
    }

    .footer-menu ul li {
        margin-bottom: 20px;
    }

}

/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/*  */