@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@200;300;400;500;700;800;900&display=swap');

@font-face {
    font-family: 'DecoType Thuluth II';
    src: url('DecoTypeThuluthII.woff2') format('woff2'),
        url('DecoTypeThuluthII.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
    border-color: red;
    padding: 10px;
    text-align: right;
    color: #FFF;
    background: #ff000091;
} 
/* Reset Css */
*,
::after,
::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 10px;
    direction: rtl;
}

body {
    font-family: 'Tajawal', sans-serif;
    font-size: 1.6rem;
    background-color: #FFF;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
    background: none;
    border: none;
    outline: none;
    direction: rtl !important;
}

button,
input[type="submit"] {
    cursor: pointer;
}

li {
    list-style: none;
}

img {
    max-width: 100%;
}

/* Resued CSS */

.container {
    padding-inline: 16px;
}

.button {
    background-color: #bd9f57;
    display: inline-block;
    padding: 9px 25px;
    border-radius: 6px;
    transition: 400ms;
}

.button:hover {
    background-color: #1a344f;
}

.dec01,
.dec02,
.dec03 {
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
}

.dec01 {
    background-image: url(../images/dec01.png);
    width: 50px;
    height: 80px;
}

.dec02 {
    background-image: url(../images/dec02.png);
    width: 40px;
    height: 40px;
}

.dec03 {
    background-image: url(../images/dec03.png);
    width: 70px;
    height: 70px;
}

.head {
    margin-block-end: 30px;
    text-align: center;
}

.head>h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border-block-end: 1px solid;
    width: fit-content;
    margin-inline: auto;
}

.head>h2 img {
    display: block;
    width: 30px;
    margin-inline-end: 5px;
}

.name-user {
    font-family: 'DecoType Thuluth II';
    margin-block-start: -10px;
    display: block;
    font-size: 3.5rem;
    font-weight: normal;
    color: #bd9f57;
}

/* Header */
.header {
    padding-block-start: 30px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    background-color: #eff1f3;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    height: 50px;
    width: 100%;
    background-color: #1a344f;
    z-index: -1;
}

.header .container,
.navbar-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
}
.header ul#primary-menu li {
    padding: 0 30px;
   
}

.header ul#primary-menu li.current_page_item a  , .header ul#primary-menu li.current-menu-item a{
    font-weight: bold;
    border-bottom: 2px solid;
}


.header ul#primary-menu li:hover a {
     border-bottom: 2px solid;
}
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background-color: #000;
    opacity: 0;
    visibility: hidden;
    transition: 500ms;
}

.overlay.active {
    opacity: .5;
    visibility: visible;
}

.navbar {
    position: fixed;
    height: 100vh;
    top: 0;
    max-width: 350px;
    width: 100%;
    right: 0;
    padding-block-start: 30px;
    padding-inline: 16px;
    background-color: #FFF;
    z-index: 3;
    transition: 500ms;
    transform: translateX(350px);
}

.navbar.active {
    transform: translateX(0);
}

.navbar-list {
    margin-block-start: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Slider */
.slider {
    margin-block-start: 130px;
    position: relative;
}

.slider .dec01 {
    bottom: -40px;
    left: 10px;
}

.slider .dec02 {
    bottom: -20px;
    right: 10px;
}

.slider .item {
    min-height: 300px;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider .item h2 {
    font-weight: 600;
    margin-block-end: 20px;
}

.slider .item h2>span {
    font-family: 'DecoType Thuluth II';
    margin-block-start: -10px;
    display: block;
    font-size: 4.5rem;
    font-weight: normal;
    color: #bd9f57;
}

/* About */
.about {
    padding-block: 70px;
    direction: ltr;
}

.about .image {
    display: none;
}

.about .inner-about p {
    margin-block-end: 1.2rem;
}
.about .inner-about {
    padding-inline-start: 100px;
    padding-top: 50px;
    text-align: justify;
    direction: rtl;
    padding-inline-end: 100px;
    line-height: 25px;
}
.about ul {
    direction: rtl;
}
.about ul li .item {
    margin-block-end: 1rem;
    background-color: #FFF;
    text-align: center;
    padding: 40px 30px;
    font-size: 1.3rem;
    position: relative;
}

.about ul li .item h3 {
    margin-block-end: 10px;
    font-size: 1.5rem;
    color: #bd9f57;
}
/* Services */
.home .service {
    background-image: url(../images/consultation-male-lawyer-business-woman-customer.jpg);
    padding-block: 70px;
    position: relative;
}

.service .dec03 {
    bottom: -20px;
    right: 0;
}

.service .head>h2 {
    color: #FFF;
}

.service ul {
    display: grid;
}

.service ul li .item {
    margin-block-end: 1rem;
    background-color: #FFF;
    text-align: center;
    padding: 40px 30px;
    font-size: 1.3rem;
    position: relative;
}

.service ul li .item>span {
    position: absolute;
    font-size: 6rem;
    font-weight: bold;
    opacity: .3;
    left: 0px;
    top: -30px;
}

.service ul li .item a {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
}

.service ul li .item figure {
    width: 70px;
    height: 70px;
    margin-inline: auto;
}

.service ul li .item figure img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
}

.service ul li .item h3 {
    margin-block-end: 10px;
    font-size: 1.5rem;
    color: #bd9f57;
}

.service ul li:nth-child(2n) .item h3 {
    color: #1a344f;
}
.service ul li  , .client ul li  , .about-2 ul li {
    transition: all .5s ease;
 }
 
 .service ul li:hover , .client ul li:hover , .about-2 ul li:hover{
     box-shadow: 0 2px 15px 0 rgba(0,0,0,.15);
     transform: scale(1.02);
 }
 
/* client */
.client {
    padding-block: 70px;
    background-image: linear-gradient(#f7f7f7, #fefefe);
}

.client ul {
    display: grid;
    grid-template-columns: repeat(2, 50%);
    gap: 10px;
}

.client ul li .image {
    height: 130px;
}

.client ul li .image img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
}

/* about-2 */
.about-2 {
    position: relative;
    padding-block-start: 30px;
    padding-block-end: 70px;
}

.about-2 .head>h2 {
    color: #FFF;
}

.about-2::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 200px;
    background-image: url(../images/consultation-businessman-male-lawyer-judge-counselor-having-team-meeting.jpg);
    background-size: contain;
    z-index: -1;
}

.about-2 .head-page {
    text-align: center;
    position: relative;
}

.about-2 .head-page .dec02 {
    left: -10px;
    top: 150px;
}

.about-2 .head-page figure {
    width: 200px;
    height: 200px;
    margin-inline: auto;
}

.about-2 .head-page figure img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
}

.about-2 .head-page h2 {
    margin-block-start: 10px;
    margin-block-end: 20px;
    font-size: 1.8rem;
}

.about-2 .head-page h2>span {
    display: block;
}

.about-2 ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.about-2 ul li figure {
    height: 100px;
    margin-block-end: 10px;
}

.about-2 ul li figure img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
}

.about-2 ul li h4 {
    font-size: 1.3rem;
    text-align: center;
    font-weight: 400;
}

/* boking */
.boking {
    padding-block: 70px;
    background-image: url(../images/bg-boking.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.boking .head>h2,
.boking .head>h5 {
    color: #FFF;
}

.boking .head>h5 {
    font-size: 1.2rem;
    margin-block-start: 15px;
}

.boking .inupt-group {
    display: grid;
    gap: 10px;
}

.boking input,
.boking textarea {
    background-color: #fff;
    display: block;
    width: 100%;
    padding: 8px 10px;
}

.boking:is(.entry-content) input,
.boking:is(.entry-content) textarea{
    border: 1px solid #ddd;
}
.boking input{
/*     background: #ebe6dc; */
     border-radius:05px;
}
.boking textarea {
/*    background: #ebe6dc; */
/*    border: 1px solid #a98122; */
   border: 1px solid #532f0266;
   border-radius: 10px;
   resize: none;
}
.boking input[type="submit"],
.boking .button-group a {
    background-color: #1a344f;
    color: #FFF;
    width: auto;
    padding: 5px 20px;
    border-radius: 6px;
}
form.wpcf7-form.init {
    direction: rtl;
}
.boking input[type="submit"]:hover,
.boking .button-group a:hover{
    background-color: #a8ab2f;
    
}

.button-group {
    display: flex;
    justify-content: space-between;
    margin-block-start: 10px;
}

/* Footer */
.footer .top {
    background-image: url(../images/bg-footer.jpg);
    color: #FFF;
    padding-block-start: 70px;
    padding-block-end: 30px;
}

.footer .top .logo-footer {
    margin: auto;
    display: block;
    margin-block-end: 10px;
    width: 150px;
    margin-bottom: 30px;
}

.footer .top .social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social a {
    color: #84858b;
    background-color: #FFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50px;
}

.social a:hover {
      background-color: #d79204;
      color: #FFF;
}
.item-footer {
    margin-block-end: 20px;
}

.item-footer ul {
    display: flex;
    flex-wrap: wrap;
    margin-block-end: 20px;
    padding: 0 125px;
}

.item-footer ul li {
    width: 50%;
    flex: 0 0 auto;
    padding : 10px;
}
.item-footer ul li:hover {
   
    color: #d79204;
}
   

.item-footer ul li::before {
    content: '';
    height: 8px;
    width: 8px;
    background-color: #bd9f57;
    border: 3px solid #FFF;
    display: inline-block;
    border-radius: 50px;
    margin-inline-end: 10px;
    vertical-align: middle;
}

.item-footer span {
    text-align: center;
    display: block;
}

.copyright {
    text-align: center;
    font-size: 1.3rem;
    padding-inline: 16px;
    padding-block: 20px;
}

.entry-header {
    position: relative;
    height: 250px;
    margin-block-end: 30px;
    background-color: #bd9f57;
}

.entry-header .container {
    position: relative;
    display: grid;
    place-content: center;
    align-items: center;
    height: 100%;
}

.entry-title {
    color: #FFF;
    margin-top: 100px;
}

.entry-content {
    padding-block-end: 100px;
}

.post-thumbnail {
    text-align: center;
    margin-block-end: 30px;
}

/* Blog */

.blog ul.posts {
    display: grid;
    gap: 20px;
    margin-bottom: 20px;
}

.blog ul.posts li .item {
    position: relative;
    font-size: 1.3rem;
    border: 1px solid #ddd;
}

.blog ul.posts li .item>a {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.blog ul.posts li .item figure {
    height: 200px;
}

.blog ul.posts li .item h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    padding-inline: 15px;
}

.blog ul.posts li .item figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog ul.posts li .item p {
    padding-inline: 15px;
    padding-block-end: 20px;
}

/* responsive */

@media (min-width:575px) {
	
	.boking .inupt-group {
  
    margin-bottom: 20px;
}
    .container {
        width: 550px;
        margin-inline: auto;
    }
}

@media (min-width:786px) {
    .container {
        width: 750px;
        margin-inline: auto;
    }
}

@media (min-width:992px) {
    html {
        font-size: 12px;
    }

    body {
        font-size: 1.3rem;
    }

    textarea {
        min-height: 200px;
    }

    .container {
        width: 950px;
        margin-inline: auto;
    }

    .dec03 {
        width: 100px;
        height: 100px;
    }

    /* header */
    .header {
        background-color: transparent;
    }

    .custom-logo-site {
        max-width: 70px;
    }

    .navbar {
        all: unset;
    }

    .navbar-top,
    .overlay,
    .btn-navbar {
        display: none;
    }

    .navbar-list {
        flex-direction: row;
        gap: 25px;
        margin: 0;
    }

    .header .container {
        background-color: #eff1f3;
        padding-block: 10px;
        align-items: center;
    }

    /* Slider */
    .slider {
        margin-block-start: 0;
    }

    .slider .item {
        height: 500px;
        padding-block-start: 100px;
    }

    .slider .item h2 {
        font-size: 3rem;
    }

    .slider .item h2 span {
        font-size: 4.5rem;
    }

    /* About */
    .about .image {
        display: block;
        position: relative;
        height: 400px;
    }

    .about .image::after {
        content: '';
        position: absolute;
        right: -50px;
        top: 0;
        bottom: 0;
        background-color: #b49256;
        width: 100%;
        z-index: -1;
        scale: .8;
    }

    .about .image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .about .content {
        display: grid;
        gap: 10px;
        grid-template-columns: repeat(2, 20% 80%);
        text-align: justify;
        align-items: flex-start;
    }

    .about .inner-about {
        padding-inline-start: 100px;
        padding-top: 50px;
    }

    /* Service */
    .service ul {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .service ul li .item {
        margin: 0;
    }

    .service .dec03 {
        bottom: -55px;
    }

    /* Client */
    .client ul {
        grid-template-columns: repeat(4, 1fr);
    }

    /* about-2 */
    .about-2 .head-page .dec02 {
        top: 90px;
    }

    .about-2 ul {
        grid-template-columns: repeat(3, 1fr);
    }

    /* boking */
    .boking .inupt-group {
        grid-template-columns: repeat(3, 1fr);
        margin-block-end: 10px;
    }

    .boking input[type="submit"],
    .boking .button-group a {
        padding: 12px 60px;
    }

    
   
    /* footer */
    .footer .container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
    }

    /* blog */
    .blog ul.posts {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width:1200px) {
    html {
        font-size: 16px;
    }

    body {
        font-size: 1rem;
    }

    .container {
        width: 1150px;
        margin-inline: auto;
    }

    .dec01 {
        width: 70px;
        height: 120px;
    }

    .dec02 {
        width: 70px;
        height: 70px;
    }

    .dec03 {
        width: 72px;
        height: 130px;
    }

    /* Slider */
    .slider .item {
        height: 600px;
        padding-block-start: 100px;
    }

    .slider .item h2 {
        font-size: 2rem;
    }

    .slider .dec02 {
        right: 140px;
        bottom: -33px;
    }

    .slider .dec01 {
        bottom: -57px;
        left: 110px;
    }

    /* about */
    .about .image {
        height: 500px;
    }

    /* Services */
    .service .dec03 {
        bottom: -75px;
        right: 100px;
    }

    .service ul li .item {
        font-size: .95rem;
        min-height: 270px;
    }

    .service ul li .item h3 {
        font-size: 1rem;
    }

    /* Cleint */

    .client ul {
        width: 80%;
        margin-inline: auto;
    }

    /* about-2 */
    .about-2 .head-page .dec02 {
        top: 60px;
    }

    .about-2 ul li h4 {
        width: 250px;
        margin-inline: auto;
    }

    /* blog */
    .blog ul.posts {
        grid-template-columns: repeat(3, 1fr);
    }

    .blog ul.posts li .item h3 {
        font-size: 1rem;
    }

    .blog ul.posts li .item {
        font-size: .9rem;
    }

    .blog ul.posts li .item figure {
        height: 250px;
    }
}

@media (min-width:1400px) {
    .container {
        width: 1350px;
        margin-inline: auto;
    }

    /* slider */
    .slider .item {
        height: 810px;
    }

    /* blog */
    .blog ul.posts {
        grid-template-columns: repeat(4, 1fr);
    }

}
form {
    direction: rtl !important;
}
.wpcf7 form.sent .wpcf7-response-output {
    padding: 10px;
    text-align: right;
    background: #46b450;
    color: #FFF;
}
.footer img {
    margin: auto;
    display: block;
    margin-block-end: 10px;
    width: 150px; 
}