/* 
Theme Name: drhanybakr
Version: 1.0
Requires at least: 5.0
Tested up to: 6.3
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: drhanybakrsite
 */

@import url('https://fonts.googleapis.com/css2?family=Libre+Bodoni:wght@700&family=Noto+Kufi+Arabic:wght@100;200;300;400;500;600;700;800;900&family=Oswald:wght@200&display=swap');
:root{
    --active-color  : #ffac00;
    --secondary-active-color : #804e02;
    --bg-color : /* 19, 12, 0; */ 18, 18, 18;
    --alpha : 1;
    --secondary-bg-color : #292929;
}
/* width */
::-webkit-scrollbar {
    width: 10px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey; 
    border-radius: 10px;
  }
   
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: var(--secondary-bg-color); 
    border-radius: 10px;
    transition: all 250ms ease-in-out;
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: var(--active-color); 
  }
*{
    direction: rtl;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html{
    font-size: 10px;
    font-family: 'Noto Kufi Arabic', sans-serif;
}
body{
    font-size: 1.6rem;
}
ul{
    list-style-type: none;
}
a{
    text-decoration: none;
    color: unset;
}
/* Style the Image Used to Trigger the Modal */
#myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

#myImg:hover {opacity: 0.7;}

/* The Modal (background) */
.modal {
display: none; /* Hidden by default */
flex-direction: column;
align-items: center;
justify-content: center;
position: fixed; /* Stay in place */
z-index: 10; /* Sit on top */
padding-top: 100px; /* Location of the box */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
background-color: rgb(0,0,0); /* Fallback color */
background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {

display: block;
width: 80%;
max-width: 700px;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
margin: 0 auto;
display: block;
width: 80%;
max-width: 700px;
text-align: center;
color: #ccc;
padding: 10px 0;
}
.breadcrumb-caption{
margin: 0 auto;
width: 80%;
}
.breadcrumb-img{
display: flex;
justify-content: space-between;
width: 80%;
margin: 0 auto;
}
/* Add Animation - Zoom in the Modal */
.modal-content, #caption {
animation-name: zoom;
animation-duration: 0.6s;
}

@keyframes zoom {
from {transform:scale(0)}
to {transform:scale(1)}
}
/* customizer add delete */
.deleteLi{
    position: absolute;
    top: 50%;
    translate : 0 -50%;
    left: 0;
    width: 6rem;
    height: 2rem;
    background-color: transparent;
    color: white;
    font-weight: bold;
    cursor : pointer;
    border: 1px solid #c70909;
}
#addBtn,
#savebutton{
    width: 10rem;
    height: 3.2rem;
    background-color: var(--active-color);
    font-weight: bold;
    border: none;
    margin: 1.6rem;
}
/* The Close Button */

.close-modal {
position: absolute;
top: 20rem;
right: 5rem;
color: var(--active-color);
font-size: 40px;
font-weight: bold;
transition: 0.3s;
cursor: pointer;
}

.close:hover,
.close:focus {
color: #bbb;
text-decoration: none;
cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
.modal-content {
    width: 100%;
}
}
  /* END MODAL  */
/* START GLOBAL STYLES */
.social-icon{
    width: 1.8rem !important;
    height: 1.8rem !important;
}
.contact-p-data-element .social-icon{
    background-color: var(--active-color);
}
footer .social-icon{
    background-color: white;
}
.success{
    mask-image : url(assets/icons/success-icon.svg);
    -webkit-mask-image : url(assets/icons/success-icon.svg);
    max-width: 7rem !important;
    max-height: unset !important;
    height: 7rem !important;
    background-color: green !important;
    margin-bottom: 1rem;
}
.fail{
    max-width: 7rem !important;
    max-height: unset !important;
    height: 7rem !important;
    background-color: red !important;
    mask-image : url(assets/icons/fail-icon.svg);
    -webkit-mask-image : url(assets/icons/fail-icon.svg);
    margin-bottom: 1rem;
    
}
.main-bg-color{
    background-color: rgba(var(--bg-color), var(--alpha));
}
.secondary-bg-color{
    background-color: var(--secondary-bg-color);
}
.sized-width{
    max-width: 140rem;
    margin: 0 auto;
    color: white;
}
.contact-form{
    width: 100%;
}
.empty-msg{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    padding: 6rem 1rem;
}
/* START CARD STYLES */
.title{
    position: relative;
    padding-right: 5rem;
    margin: 1.6rem 0;
    color: var(--active-color);
    font-size: 2.8rem;
}
.title::before{
    position: absolute;
    content: '';
    top: 50%;
    translate: 0% -50%;
    right: 0;
    max-width: 3rem;
    width: 100%;
    height: 4px;
    background-color: var(--active-color);

}

.card{
    width: 32rem;
    border: 1px solid white;
    border-radius: 0.3rem;
    overflow: hidden;
}
.card-img-container{
    width: 100%;
    height: 26rem;
    position: relative;
}
.card-img-container::before{
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    content: '';
    background: linear-gradient(to top , rgb(33 33 33) , rgba(27, 27, 27, 0) );
}
.card-img-container img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-body{
    margin: 1.6rem 1.2rem;
}
.card-body h2{
    color: var(--active-color);
    margin-bottom: 0.8rem;
}
.card-body .card-para{
    min-height: 10rem;
}

/* END CARD STYLES */

/* START CATEGORY ELEMENT STYLES */
.category-element-head{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.category-content-container{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2.4rem;
}
.category-content-container .media{
    width: 100%;
    height: 40rem;
    object-fit: cover;
}
@media screen and (max-width:1200px){
    .category-content-container{
        
        grid-template-columns: 1fr 1fr;
    }
}
@media screen and (max-width:768px){
    .category-content-container{
        
        grid-template-columns: 1fr;
    }
}
.show-more{
    color: var(--active-color);
    font-size: 1.4rem;
    border-bottom: 1px solid white;
}
/* END CATEGORY ELEMENT STYLES */
/* START CONTACT FORM STYLES */
.input-container{
    display: flex;
    flex-flow: column-reverse;
    margin-bottom: 1.6rem;
}
label, input , textarea {
    transition: all 0.2s;
    touch-action: manipulation;
}
textarea{
    resize: vertical;
}

input,
textarea {
    font-size: 1.6rem;
    border: 0;
    border: 1px solid var(--secondary-active-color);
    font-family: inherit;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 0;
    padding: 1rem;
    cursor: text;
    background-color: rgb(var(--bg-color));
    border-radius: 0.4rem;
    color: white;
}

input:focus,
textarea:focus {
    outline: 0;
    border-bottom: 1px solid var(--active-color);
}

label {
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
input:placeholder-shown + label,
textarea:placeholder-shown + label {
    cursor: text;
    white-space: nowrap;
    overflow: hidden;
    transform-origin: right bottom;
    transform: translate(-0.8rem, 4rem) scale(1.1);
    width: 90%;
    color: gray;
}

::-webkit-input-placeholder {
    opacity: 0;
    transition: inherit;
}

input:focus::-webkit-input-placeholder,
textarea:focus::-webkit-input-placeholder{
    opacity: 1;
}

input:not(:placeholder-shown) + label,
input:focus + label,
textarea:not(:placeholder-shown) + label,
textarea:focus + label {
    transform: translate(0, 0) scale(1);
    cursor: pointer;
    color: white;
}

.submit-btn{
    max-width: 52rem;
    cursor: pointer;
    height: 5.2rem;
    margin-top: 2.4rem;
    width: 100%;
    background-color: var(--active-color);
    color: black;
    font-weight: bold;
}
/* END CONTACT FORM STYLES */
.see-more-link,
.see-more-link-outline{
    max-width: 14rem;
    padding: 0.8rem;
    display: grid;
    place-content: center;
    border-radius: 0.2rem;
    font-weight: bold;
}
.see-more-link{
    background-color: var(--active-color);
    color: black;
}
.see-more-link-outline{
    border:1px solid var(--active-color);
    color: var(--active-color);
}
/* START HEADER STYLES */
.logo-container{
    position: relative;
    z-index: 9;
    display: flex;
    flex-grow: 1;
    max-height: 10rem;
    height: 100%;
}
.logo-container a{
    line-height: 0;
    max-width: 9rem;
    width: 100%;
}
.logo-container a img{
    width: 100%;
    
}
header{
    background-color: rgba(var(--bg-color), 0.2);
    color: white;
    padding: 0.8rem 0;
    position: relative;
    transition: all 500ms ease-in-out;
    position: fixed;
    width: 100%;
}
.menu-nav{
    display: none;
}
.header-container{
    max-width: 140rem;
    margin: 0 auto;
    font-size: 1.6rem;
    display: flex;
    justify-content: space-between;
    padding: 0 0.8rem;
}
.nav-wrapper{
    display: flex;
    justify-content: space-between;
    flex-grow: 1;
    
}
.nav-wrapper .menu{
    display: flex;
    align-items: center;
    gap: 2rem;
    height: 100%;
}
.current-menu-item{
    font-weight: bold;
    color: var(--active-color);
}
.social-links{
    display: flex;
    align-items: center;
    gap: 1.6rem;
}
.social-links a{
    max-width: 1.8rem;
    width: 100%;
}
header .menu-item{
    padding: 1.2rem 1rem;
    cursor: pointer;
    display: flex;
    gap: 1.4rem;
    align-items: center;
    height: 100%;
}
header .menu-item-has-children{
    position: relative;
}
header li ul.sub-menu{
    display: none;
}
header li:hover > ul.sub-menu{
    display: flex;
    flex-direction: column;
    right: 100%;
    position: absolute;
    top: 0;
    min-width: 16rem;
}
nav > ul > li > .sub-menu:first-of-type{
    position: absolute;
    right: 0;
    padding: 0.8rem 1rem;
    top: 100%;
    flex-direction: column;
    gap: 0;
    display: none;
    transition: all 500ms ease-in-out;
}
nav > ul > li > .sub-menu > li > .sub-menu{
    right: 100%;
    gap: 0;
    top: 0;
    position: absolute;
    flex-direction: column;
    display: none;
    transition: all 500ms ease-in-out;
    height: 100%;
}
.menu-item-has-children > .sub-menu li{
    width: 100%;
    background-color: var(--secondary-bg-color);
    color: var(--active-color);
}
nav > ul > li:hover > .sub-menu:first-of-type,
nav > ul > li > .sub-menu > li:hover > .sub-menu{
    display: flex;
}

.menu-item-arrow{
    border: none;
    mask-image: url(assets/icons/left-arrow-condense.png);
    -webkit-mask-image: url(assets/icons/left-arrow-condense.png);
    width: 1.4rem !important;
    height: 1.4rem !important;
    left: -1rem;
    rotate: -90deg;
}

.sub-menu > .menu-item-has-children > .menu-item-arrow{
    left: 1rem !important;
    rotate: 0deg;
}
@media screen and (max-width : 1024px){
    .logo-container a{
        line-height: 0;
        max-width: 7rem;
        width: 100%;
        outline: none;
    }
    .menu-nav{
        display: block;
    }
    .menu-nav{
        width: 3.2rem;
        height: 0.3rem;
        background-color: var(--active-color);
        line-height: 0;
        display: inline-block;
        position: relative;
        z-index: 9;
        transition: all 500ms ease-in-out;
    }
    .menu-nav::before{
        position: absolute;
        top: -0.8rem;
        left: 0;
        content: '';
        width: 3.2rem;
        height: 0.3rem;
        background-color: var(--active-color);
        transition:  all 500ms ease-in-out;
    }
    .menu-nav::after{
        position: absolute;
        bottom: -0.8rem;
        left: 0;
        content: '';
        width: 3.2rem;
        height: 0.3rem;
        background-color: var(--active-color);
        transition:  all 500ms ease-in-out;

    }
    .close .menu-nav{
        height: 0;
    }
    .menu-nav-container{
        display: flex;
        align-items: center;
        cursor: pointer;
        width: 3.2rem;
        margin-left: 1rem;
        position: relative;
        z-index: 9;
    }
    .close .menu-nav::before{
        rotate: 45deg;
        top: 50%;
        left: 50%;
        translate: -50% 0;
    }
    .close .menu-nav::after{
        rotate: -45deg;
        top: 50%;
        left: 50%;
        translate: -50% 0;
    }
    .close + .nav-wrapper{
        translate: 0 0;
    }
    header{
        position: fixed;
        width: 100%;
        top: 0;
    }
    .nav-wrapper{
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        translate: 100% 0;
        height: 100%;
        background-color: rgb(var(--bg-color));
        overflow: hidden;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.4rem;
        transition: translate 500ms ease-in-out;
    }
    .nav-container{
        flex-direction: column;
    }
    .nav-wrapper ul{
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    .nav-wrapper ul li{
        width: 100%;
        height: auto;
        font-size: 1.4rem;
    }
    .nav-wrapper .menu{
        gap: 1rem;
    }
    header .menu-item{
        padding: 1.2rem 1rem;
        justify-content: space-between;
        gap: unset;
    }
    header .menu-item-has-children{
        flex-wrap: wrap;
    }
    header li ul.sub-menu{
        order: 3;
        width: 100%;
        height: 0;
        overflow: hidden;
        display: flex;
        transition: all 500ms ease-in-out;
    }
    header li:hover > ul.sub-menu {
        display: flex;
        flex-direction: column;
        position: static;
        top: 100%;
        width: 30rem;
        z-index: 9999;
        height: auto;
        overflow: unset;
    }
    nav{
        width: 80%;
        overflow-y: scroll;
        height: 70vh;
    }
    nav > ul > li > .sub-menu:first-of-type,
    nav > ul > li > .sub-menu > li > .sub-menu{
        position: static;
        display: block;
        height: 0;
        flex-direction: column;
        width: 100%;
        overflow: hidden;
    }
    nav > ul > li > .sub-menu:first-of-type{
        padding: 0;
    }
    nav > ul > li > .sub-menu > li > .sub-menu{
        padding: 0 ;
    }
    nav > ul > li:hover > .sub-menu:first-of-type,
    nav > ul > li > .sub-menu > li:hover > .sub-menu,
    nav > ul > li:active > .sub-menu:first-of-type,
    nav > ul > li > .sub-menu > li:active > .sub-menu{
        height: auto;
    }
    nav > ul > li:hover > .sub-menu:first-of-type,
    nav > ul > li:active > .sub-menu:first-of-type{
        padding: 1.6rem 0rem 1.6rem;
    }
    nav > ul > li > .sub-menu > li:hover > .sub-menu,
    nav > ul > li > .sub-menu > li:active > .sub-menu{
        padding: 0 0 1rem;
    }
    .menu-item-arrow{
        top: 3.6rem;
        left: 1rem;
    }
    .sub-menu > .menu-item-has-children > .menu-item-arrow{
        rotate: -90deg;
    }
}
@media screen and (max-height:412px) {
    
    .nav-wrapper{
        padding: 8rem 0 4rem;
        overflow: scroll;
    }
}
/* END HEADER STYLES */

.wrapper{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 120vh;
    z-index: -1;
}
.section{
    padding: 9.6rem 1.6rem;
}
/* START HOME PAGE STYLES */
/* STYLE HERO SECTION */

/* STYLE ABOUT SECTION */


.more-link{
    color: white;
    font-weight: bold;
    font-size: 1.4rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--active-color);
}
.icon-container{
    display: block;
    width: 6rem;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    height: 6rem;
    background-color: var(--active-color);
}

/* .quote-icon{
    display: block;
    width: 8rem;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    height: 8rem;
    background-color: var(--active-color);
    opacity: 0.2;
    position: absolute;
}
.quote-icon.top{
    top: 2rem;
    left: 1rem;
}
.quote-icon.bottom{
    bottom: 2rem;
    right: 1rem;
    rotate: 180deg;
    transform: scaleY(-1);
}
.scroll-arrows{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 6rem;
    width: 100%;
    gap: 2.4rem;
}
.scroll-arrow{
    display: block;
    width: 3.2rem;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    height: 3.2rem;
    background-color: var(--active-color);
    cursor: pointer;
}
.scroll-arrow.right{
    transform: scaleX(-1);
}
.reviews-section .see-more-link-outline{
    border: none;
    border-bottom: 1px solid var(--active-color);
    margin: 0 auto;
}
.reviews-section .logo-container{
    justify-content: center;
    margin-top: 1rem auto;
}
@media screen and (max-width:768px) {
    .reviews-section-img{
        display: none;
    }
    .reviews-section .logo-container {
       justify-content: center;
       margin-top: 1rem;
    }
} */
/* CONTACT SECTION STYLES */


/* START BREADCRUMBS STYLES */
.page-head{
    height: 40rem;
    position: relative;
    display: grid;
    place-content: center;
}
.page-head::after{
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(var(--bg-color), 0.4);
    z-index: -1;
}
.page-head-img{
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    left: 0;
    object-fit: cover;
    z-index: -1;
    object-position: 50% 20%;
}
.page-head-breadcrumb{
    text-align: center;
    font-size: 2.4rem;
    font-weight: 600;
    color: white;
}


/* START WOOCOMMERCE STYLES */
.woocommerce{
    padding: 18rem 0 16rem;
    background-color: rgb(var(--bg-color));
}
form.checkout{
    color: white;
    display: flex;
    gap: 2.4rem;
    flex-wrap: wrap;
    max-width: 140rem;
    margin: 0 auto;
    padding: 0 1rem;
}
form.checkout > div{
    width: 30rem !important;
    flex-grow: 1;
}
.woocommerce .col2-set .col-1{
    width: unset;
    float: unset;
}
.woocommerce-billing-fields__field-wrapper{
    display: flex;
    flex-direction: column;
}
.form-row{
    width: 100% !important;
}
.dark-bg{
    width: 100%;
    padding: 1.6rem 0 !important;
    color: rgb(var(--bg-color)) !important;
    font-size: 1.8rem !important;
    background-color: var(--active-color) !important;
    font-family: 'Noto Kufi Arabic', sans-serif;
}
.woocommerce-checkout-review-order{
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
}
.price-tag{
    color: var(--active-color);
}
.form-title{
    margin-bottom: 1rem;
}
/* FOOTER STYLES */
footer{
    padding: 0 0 9.6rem;
    background-color: rgb(var(--bg-color));
    
}
/* QUOTE SECTION STYLES */
.quote-section{
    background-color: var(--active-color);
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 1rem;
    position: relative;
    gap: 8rem;
    flex-wrap: wrap;
    margin-bottom: 8rem;
    font-size: 1rem;
}
.quote-section>div{
    position: relative;
    z-index: 2;
}
.quote-section > img{
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    left: 0;
    object-fit: cover;
    opacity: 0.2;
    z-index: 0;
}
.quote-section p{
    font-size: 3.2em;
    font-weight: bold;
}
.quote-section p:nth-of-type(1){
    font-size: 7em;
}
.quote-section .logo-container{
    max-width: 18rem;
}
.footer-container{
    display: grid;
    color: white;
    max-width: 140rem;
    margin: 0 auto;
    padding: 0 1.6rem;
    grid-template-columns: repeat(auto-fit,minmax(18rem,1fr));
}
footer .logo-container{
    max-width: unset;
}
.footer-part-head{
    font-size: 2rem;
    color: var(--active-color);
    margin-bottom: 1.6rem;
}
.footer-part-body li{
    display: flex;
    gap: 1.6rem;
    align-items: top;
    margin-bottom: 1.6rem;
}
.footer-part-body .location{
    height: 2.4rem;
    width: 2.4rem;
    flex-shrink: 0;
    margin-top: 0.4rem;
}
.icon-span{
    display: block;
    max-width: 3.2rem;
    width: 100%;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    max-height: 3.2rem;
    height: 100%;
    background-color: var(--active-color);
    cursor: pointer;
}
.li-arrow{
    width: 1.4rem;
    height: 1.4rem;
    mask-image: url(assets/icons/left-arrow.png);
    -webkit-mask-image: url(assets/icons/left-arrow.png);
}
.location{
    width: 1.6rem;
    height: 1.6rem;
    mask-image :url(assets/icons/location-pin.png);
    -webkit-mask-image :url(assets/icons/location-pin.png);
}
.footer-social-links .footer-part-body{
    display: flex;
    align-items: center;
    gap: 1.6rem;
}
.footer-social-links .footer-part-body li{
    width: 3.2rem;
    height: 3.2rem;
    display: grid;
    place-content: center;
    background-color: var(--secondary-active-color);
    border-radius: 0.4rem;
}

@media screen and (max-width:768px) {
    .quote-section{
        gap: 3.2rem;
        font-size: 0.6rem;
    }
    .quote-section .logo-container{
        justify-content: center;
    }
    .quote-section .logo-container a{
        max-width: 12rem;
    }
    .footer-container{
        gap: 2.4rem;
    }
    .footer-container .logo-container{
        max-height: unset;
    }
    .footer-container .logo-container a{
        max-width: 12rem;
        
    }
}

/* 404 PAGE STYLES */
.not-found{
    min-height: 90vh;
    background-color: rgb(var(--bg-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.not-found-icon{
    --num : 40rem;
    mask-image: url(assets/icons/404.png);
    -webkit-mask-image: url(assets/icons/404.png);
    max-width: unset;
    max-height: unset;
    width: var(--num);
    height: var(--num);
}
.home-link{
    padding: 1rem 0;
    max-width: 24rem;
    width: 100%;
    text-align: center;
    font-weight: bold;
    background-color: var(--active-color);
    color: black;
    font-size: 1.8rem;
    margin: 1rem 0;
}