@font-face {
    font-family: 'Cairo';
    src: url('/fonts/Cairo/static/Cairo-Regular.ttf') format('truetype');
    font-weight: 400;
}
  
@font-face {
    font-family: 'Cairo';
    src: url('/fonts/Cairo/static/Cairo-Bold.ttf') format('truetype');
    font-weight: 700;
}
  
@font-face {
    font-family: 'Saira';
    src: url('/fonts/Saira/static/Saira-Regular.ttf') format('truetype');
    font-weight: 400;
}
  
@font-face {
    font-family: 'Saira';
    src: url('/fonts/Saira/static/Saira-Bold.ttf') format('truetype');
    font-weight: 700;
}



:root {
    --header: 70px;
    --sidebar: 15rem;
    --padding: 8rem;
    --padding-m: 2rem;
  
    --primary-color: #0077b6;
    --logo-color: rgb(3, 3, 135);
    --secondary-color: #218bc4;
    --accent-color: #028c75;
    --accent-color-hover: #0f7060;
    --dark-color: #1F1F1F;
    --light-color: #F9F9F9;
    --white-color: #fff;
    --bg-color: #eee;
  
    --font-family-ar: 'Cairo', sans-serif;
    --font-family-en: 'Saira', sans-serif;
  
    --font-xs: 12px;
    --font-sm: 14px;
    --font-md: 16px;
    --font-lg: 20px;
    --font-xl: 28px;
    --font-xxl: 36px;
    --font-3xl: 40px;
  
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-bold: 700;
    --font-weight-extra-bold: 900;
  }
  
  /* للأجهزة اللوحية - تابلت (768px أو أقل) */
  @media (max-width: 768px) {
    :root {
      --padding: 4rem;
      --font-lg: 18px;
      --font-xl: 24px;
      --font-xxl: 30px;
      --font-3xl: 34px;
      --sidebar: 12rem;
    }
  }
  
@media (max-width: 480px) {
    :root {
      --padding: 2rem;
      --font-lg: 16px;
      --font-xl: 20px;
      --font-xxl: 24px;
      --font-3xl: 28px;
      --sidebar: 10rem;
    }

    input,
    textarea,
    select {
      font-size: 16px;
    }

}
  


* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: var(--font-family-ar);
}


li {
    list-style: none;
}

a {
    text-decoration: none;
    cursor: pointer;
    color: var(--dark-color);
}

input, button, select {
    outline: none;
    border: none;
    font-family: var(--font-family-ar);
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

input[type="checkbox"] {
    width: 15px;
    height: 15px;
}


/* 1- headerBox */
.headerBox {
    background-color: var(--light-color);
    width: 100%;
    position: relative;
    height: 7.5rem;
}


a.contact_link {
    color: var(--primary-color);
}

/*--------------------------------------------------------------------*/
#contact_container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 3rem var(--padding);
    background-color: var(--light-color);
}

.contant_box {
    width: 100%;
    height: 100%;
    display: flex;
    gap: 3rem;
}

.contant_box .box {
    width: 50%;
}

.box.contact_form {
    border: 1px solid #ddd;
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
}

.contant_box .box {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: var(--light-color);
}



.contact_form .inputBox {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.contact_form .inputBox label {
    width: 30%;
}

.contact_form .inputBox input {
    border: 1px solid #ddd;
    height: 40px;
    width: 50%;
    padding: 0 10px;
}

.contact_form .inputBox textarea {
    outline: none;
    border: 1px solid #ddd;
    min-height: 45px;
    height: 65px;
    max-height: 100px;
    max-width: 50%;
    min-width: 50%;
    padding: 5px 10px;
}

.contact_form .inputBox input:focus,
.contact_form .inputBox textarea:focus {
    border: 2px solid var(--primary-color);
}


.contact_form span {
    font-size: 11px;
    color: gray;
    width: 90%;
    padding: 1rem 0;
}


.contact_form button {
    background-color: var(--dark-color);
    height: 45px;
    width: 200px;
    color: var(--white-color);
    cursor: pointer;
    transition: .3s;
}

.contact_form button:hover {
    background-color: #161328;
}

/* 2- box */

.contant_box .box .one {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 0;
}

.contant_box .box {
    width: 100%;
}

.contant_box .box .box_profile {
    border: 1px solid #ddd;
    width: 100%;
    padding: 1rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contant_box .profile_person {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contant_box .title_box {
    display: flex;
    gap: 10px;
}

.contant_box .img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid #ddd;
    overflow: hidden;
}

.contant_box .img img {
    width: 100%;
    height: 100%;
}

.contant_box .title {
    display: flex;
    flex-direction: column;
}

.contant_box .title span {
    color: gray;
   font-size: 15px;
}

.contant_box i.fa-quote-left {
    font-size: 30px;
    color: #0077b6;
}

.contant_box .one {
    font-size: 15px;
    color: gray;
}

.contant_box .one i {
    color: #028c75;
}

.box_profile span {
    margin-top: 1rem;
    font-size: 14px;
    color: rgb(83, 83, 83);
}

.error-input {
    border: 2px solid #dc3545 !important;
    background: #fff5f5;
}


.contactLocation {
    padding: 2rem var(--padding);
    background-color: var(--light-color);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.titleBox {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mapTitle {
    font-size: 19px;
    font-weight: bold;
    color: #333;
}

.mapBtns {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.locationMap iframe {
    border: 2px solid #ddd; 
    height: 450px;
    width: 100%;
    border-radius: 12px;
}

.mapBtn {
    display: inline-block;
    padding: 7px 13px;
    font-size: 14px;
    background: var(--primary-color);
    color: var(--white-color);
    border-radius: 8px;
    transition: background 0.3s ease;
}

.mapBtn:hover {
    background: #0056b3;
}

.mapBtn.apple {
    background: #0b912a;
}

.mapBtn.apple:hover {
    background: #1e7e34;
}



@media (max-width: 480px) {
    input {
        font-size: 16px;
    }


    #contact_container {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 3rem var(--padding);
        background-color: var(--light-color);
    }
    
    .contant_box {
        flex-direction: column;
    }
    
    .contant_box .box {
        width: 100%;
    }
    
    .contact_form .inputBox {
        flex-direction: column;
        align-items: start;
        gap: 10px;
    }
    
    .contact_form .inputBox label {
        width: 100%;
        color: rgb(81, 81, 81);
        font-size: 14px;
    }
    
    .contact_form .inputBox input {
        width: 100%;
    }
    
    .contact_form .inputBox textarea {
        max-width: 100%;
        min-width: 100%;
    }
    
    .contact_form span {
        width: 100%;
    }
    
   
    /* 2- box */
    
    .contant_box .box .one {
        display: flex;
        align-items: center;
        gap: 5px;
        padding: 10px 0;
        display: flex;
        align-items: start;
        gap: 10px;
    }
    
    .contant_box .box {
        width: 100%;
    }

    .contant_box .box .one i {
        padding-top: 7px;

    }
    
    /* ------------------------------------------------- */
    .contactLocation {
        gap: 3rem;
    }
    
    .titleBox {
        flex-direction: column;
        gap: 1rem;
    }
    
    .mapBtns {
        width: 100%;
    }
    
    .locationMap iframe {
        height: 200px;
    }
    
    .mapBtn {
        border-radius: 0;
    }
}