/* ======== 1. Global Styles & Variables ======== */
:root {
    --primary-color: #82222E;  /* Dark Blue from screenshots */
    --secondary-color: #D9D9D9; /* Green from hero */
    --light-green-bg: #e6f7f0; /* Light green from FAQ */
    --light-blue-bg: #4285F420;  /* Lighter blue for inputs */
    --text-dark: #222;
    --text-light: #666;
    --bg-light: #ffffff;
    --bg-accent: #f4f7fa;
    --border-color: #ddd;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.7;
    background-color: var(--bg-light);
    color: var(--text-dark);
    direction: rtl; /* Right-to-Left */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* ======== 2. BG Section ======== */
.contact-section{
    padding: 0;
}
.contact-info{
    text-align: center;
    padding: 0;
    margin: 0;
}
.contact-info h2{
    font-size: 80px;
    color: #fff;
    padding: 5vw 3vw;
    background-image: url("../images/contact us 1.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;    
}
/* ======== 3. Main Section ======== */
.contact-section .container form{
    margin: 100px auto;
    padding: 30px;
    display: flex;
    flex-direction: column;
    background-color: var(--secondary-color);
}

.contact-section .container{
    max-width: 90%;    
}

.contact-flex{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
}
.contact-section form div{
    margin: auto;
    display: flex;
    gap: 20px;
}
.contact-input{
    padding: 15px;
    height: 50px;
    width: 100%;
    margin: 20px auto;
    display: block;
    border: none;
}
textarea{
    padding: 15px;
    width: 100%;
    height: 200px;
    margin: 20px auto;
    border: none;    
    resize: none;
}
.submit-btn{
    background-color: var(--primary-color);
    font-family: 'Cairo', sans-serif;
    height: 50px;
    width: 100%;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin: 20px auto;
    display: block;
    border: none;    
}
::placeholder {
  font-family: 'Cairo', sans-serif;
  color: #3E3E3E;
}

.contact-social h3{
    color: #000;
    font-size: 50px;
    text-align: right;
}
.contact-social-flex{
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-social p{
    font-size: 22px;
}
.contact-social-card{
    display: flex;
    justify-content: unset;
    align-items: center;
    gap: 20px;
    margin: 20px 0 50px 40px;
    padding: 10px 30px;
    box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.25);
    -webkit-box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.25);
    -moz-box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.25);     
}

.contact-social-content{
    display: flex;
    min-width: 150px;
    flex-direction: column;
    justify-content: center;
}
.contact-social-card img{
    width: 80px;
    height: 80px;
}

.contact-social-card div h4{
    color: #000;
    text-align: right;
    margin: 0;
    padding: 0;
}

.contact-social-card div p{
    font-size: 18px;
    font-weight: 400;
    margin: 0;
    padding: 0;
}

@media (max-width: 767px) {
    .contact-section .container form{
        margin: 30px 20px;
        padding: 20px 15px;
    }
    
    .contact-section .container{
        max-width: 100%;
        padding: 0;
    }    
    
    .contact-info h2{
        font-size: 50px;
        background-image: url("../images/contact us mob.webp");
        padding: 200px 0;
    }
    .contact-flex{
        display: flex;
        width: 100%;
        margin: auto;
        justify-content: center;
        flex-direction: column;
        align-items: unset;
        gap: 0;
    }
    
    .contact-section form div{
        flex-direction: column;
        gap: 0;
        width: 100%;
    }    
    
    .contact-input{
        width: 95%;
        margin: 10px auto 20px;
    }
    textarea{
        width: 95%;
        height: 220px;
        margin: auto;
    }
    .submit-btn{
        height: 50px;
        width: 95%;
        margin: 20px auto auto;
    }
    ::placeholder {
      font-family: wafeq_medium;
    }
    
    .contact-social h3{
        text-align: center;
        margin-bottom: 40px;
    }
    
    .contact-social-flex{
        flex-direction: column;
    }
    
    .contact-social-card{
        margin: auto 10px 30px;
    }

    .contact-social{
        margin: auto 10px;
    }
    
    .contact-social-card div h4{
        font-size: 24px;
        margin-bottom: 10px;
    }
    .contact-social-card div p{
        font-weight: 300;
        font-size: 16px;
        text-align: right;
    }
    
    .contact-social p{
        text-align: center;
        font-size: 20px;
        width: 90%;
        margin: 20px auto;
    }
    
}