/*--------------------
-----Main Styles------
----------------------*/


.montserrat-<uniquifier> {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}


body{
	font-family: 'Montserrat', Light;
	font-size:18px;
	color:#3a3c4a;
	font-weight:300;
	overflow-x:hidden;
}

h1,
h2,
h3,
h4,
h5,
h6{
	font-family: 'Montserrat', Black;
    /*font-weight:400;*/
    letter-spacing:0.02em;
    margin:6px 0 10px;
}

p {
    font-size:18px;
    line-height:24px;
    font-weight:300;
    margin-bottom:20px;
}

.lead {
    font-size:20px;
    line-height:28px;
    font-weight:100;
    letter-spacing:0.02em;
    margin-top:40px;
    margin-bottom:40px;
}

a,
a:hover,
a:focus {
    outline:none !important;
    text-decoration:none;
}

a {
  color:#B39661;
  text-decoration: none;
}

a:hover,
a:focus {
  color:#B39661;
  text-decoration: underline;
}

a:focus,
.btn:focus {
  outline: none;
}

.color-bg a{
	color:#fff;
	text-decoration: underline;
}

.color-bg a:hover,
.color-bg a:focus {
  color:#fff;
  text-decoration: none;
}

.primary {
	color:#B49761;
}


/* ==============================================
LOADING SCREEN
=============================================== */
/* ==============================================
LOADING SCREEN
=============================================== 
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#loading-screen.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-content {
    text-align: center;
}

.loading-logo {
    max-width: 200px;
    height: auto;
    animation: pulseGlow 1.5s ease-in-out infinite;
}

@keyframes pulseGlow {
    0% {
        opacity: 0.4;
        transform: scale(0.95);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    100% {
        opacity: 0.4;
        transform: scale(0.95);
    }
}


body.loading {
    overflow: hidden;
    height: 100%;
}


.scrollimation {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scrollimation.animated {
    opacity: 1;
}

*/

/*----------------------
---Main Layout Styles---
------------------------*/
.img-center{
    margin:0 auto;
}

.padding-top-bottom {

    padding:40px;

}
.padding-top-bottom2 {

    padding-top: 6vw;
    padding-bottom: 2vh;

}

.padding-top {
    padding:40px;
}

.navbar {
    margin:0;
    border-radius:0;
}

.section-header {
    /*margin-bottom:80px;*/
}

.section-header h1{
    font-size:48px;
    font-weight:600;
    letter-spacing:0.05em;
}
/*------------------
----- Buttons ------
--------------------*/
.start-btn,
.start-btn:hover,
.start-btn:focus,
.start-btn:visited {
  color: #fff !important;
  text-decoration: none !important;
  outline: none !important;
  opacity: 0.5;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 1px;
  border-radius: 22px;
  margin: 100px;
  padding: 10px 20px;
  border: 1px solid #fff;
  width: 100px;
  height: 40px;
  cursor: pointer;
  transition: all 0.8s ease;
  text-transform: uppercase;
  background: transparent;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
  box-sizing: border-box;
}

.start-btn:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.50);
}

.btn-meflat {
	border: none;
	font-family: inherit;
	font-size: inherit;
	cursor: pointer;
	padding: 10px 30px;
	display: inline-block;
	margin:-10px 0px 10px 0px;
	text-transform: none;
	text-decoration: none;
	letter-spacing: 1px;
	font-weight: 400;
	line-height:28px;
	height:52px;
	outline: none;
	position: relative;
	background: #B49761;
	color: #fff;
	box-shadow: none;
	border-radius: 52px;
	opacity:0.8;
	-webkit-transition: none;
	-moz-transition: none;
	transition: none;
}

.btn-meflat:hover,
.btn-meflat:focus,
.btn-meflat:active {
	color: #fff;
	opacity:1;
	text-decoration: none;
}

.btn-meflat.white {
	background: transparent;
	border:2px solid #fff;
	box-shadow: none;
	-webkit-transition:all .1s ease-out;
	transition:all .1s ease-out;
	text-decoration: none;
}

.btn-meflat.white:hover,
.btn-meflat.white:focus,
.btn-meflat.white:active {
	top:0;
	text-decoration: none;
}

.btn-meflat.icon-left [class*=fa]{
    margin-right:10px;
}

.btn-meflat.icon-right [class*=fa]{
    margin-left:10px;
}

/*----------------
----- Colors -----
------------------*/

.white-bg{
    background:#fff;
}
.shugar-bg{
    /*background:url(../assets/logo-bg.svg) top right  no-repeat #F0EADF;*/
}
.gray-bg{
    background:#f2f2f2;
}

.color-bg{
    background:#B39661;
}

.dark-bg{
    background:#5c5c5c;
}

.light-typo {
    color:#fff;
}

.color-bg.light-typo .section-title:after{
	background:#fff;
}

/*----------------------
----Navigation Styles---
------------------------*/

#main-nav .navbar-toggle{
    border:1px solid rgba(255,255,255,0.5);
    border-radius:0;
}

#main-nav .icon-bar {
    background:#fff;
}

.navbar-nav {
    float:none;
    text-align:center;
}

#main-nav .navbar-nav li {
    display:inline-block;
    float:none;
}



/* white logo _*/

/* ==============================================
حل بسيط للشعار - يعتمد على حجم الشاشة فقط
=============================================== */
/* الهواتف: الشعار طبيعي بدون فلترة 
@media (max-width: 768px) {
    #main-nav:not(.scrolled) .navbar-brand img,
    #main-nav:not(.scrolled) #logo img {
        filter: none !important;
    }
    
    #main-nav.scrolled .navbar-brand img,
    #main-nav.scrolled #logo img {
        filter: brightness(0) invert(1) !important;
    }
}*/

/* سطح المكتب: الشعار أبيض في البداية */

@media (min-width: 769px) {
    #main-nav:not(.scrolled) .navbar-brand img,
    #main-nav:not(.scrolled) #logo img {
        filter: brightness(0) invert(1) !important;
    }
    
    #main-nav.scrolled .navbar-brand img,
    #main-nav.scrolled #logo img {
        filter: none !important;
    }
}
/* white logo ------------*/



.navbar-brand,
.navbar-brand:hover,
.navbar-brand:active,
.navbar-brand:focus {
    position:relative;
    padding:0 10px;
    font-size:42px;
    line-height:54px;
    font-family: 'Montserrat',Light;
    font-weight:400;
    color:#B39661;
    font-variant:small-caps;
    height:auto;
    letter-spacing:0.02em;
    -webkit-transition:font-size .2s ease-out;
    transition:font-size .2s ease-out;
    overflow:hidden;
}

#main-nav{
    background:transparent;
    -webkit-transition:background 0.3s ease-out;
    transition:background 0.3s ease-out;
}

#main-nav .navbar-toggle{
    color:#B39661;
    border-color:#B39661;
}

#main-nav .navbar-toggle .icon-bar{
    background:#B39661;
}

#main-nav .container{
    padding:15px 0;
    -webkit-transition:padding 0.3s ease-out;
    transition:padding 0.3s ease-out;
}

#main-nav.scrolled {
    background:#fff;
    box-shadow:0 1px 2px rgba(0,0,0,0.1);
}

#main-nav.scrolled .container{
    padding:0;
}

#main-nav .nav a{
    position:relative;
    z-index:1;
}

/* ------------main menu---------*/

#main-nav .nav a,
#main-nav .nav a:active,
#main-nav .nav a:hover{
    padding:0px 5px;
    font-size:15px;
    line-height:54px;
    font-weight:500;
    letter-spacing:0.1em;
    text-transform:uppercase;
    background:transparent;
    color:#fff; 
}

#main-nav.scrolled .nav a{
    color:inherit; 
}

#main-nav li{
    background:transparent;
    margin:0 20px;
    opacity:0.7;
    vertical-align:middle;
    -webkit-transition:opacity 0.2s ease-out;
    transition:opacity 0.2s ease-out;
}

#main-nav .nav li.active,
#main-nav .nav li:hover{
    opacity:1;
}
#main-nav .dropdown-menu a{
    font-size:14px;
}

#main-nav .nav a:before {
    display:block;
    position:absolute;
    bottom:0;
    left:25%;
    content:"";
    width:50%;
    height:3px;
    background:#fff;
    z-index:-1;
    opacity:0;
    -webkit-transition:all 0.3s ease-out;
    transition:all 0.3s ease-out;
}

#main-nav.scrolled .nav a:before {
    background:#3a3c4a;
}

#main-nav .nav a:hover:before,
#main-nav .nav .active a:before {
    bottom:10px;
    opacity:1;
}

.no-csstransforms #main-nav .nav a:before {
	display:none;
}

#main-nav #logo{
    opacity:1;
    vertical-align:middle;
}

#main-nav #logo h1{
    font-size:64px;
    font-weight:600;
    -webkit-transition:font-size 0.3s ease-out;
    transition:font-size 0.3s ease-out;
}

#main-nav #logo span{
    font-size:90%;
    position:relative;
    top:15px;
}

#main-nav.scrolled #logo h1{
    font-size:52px;
}

#main-nav .nav #logo a:before {
    display:none;
}

#main-nav.scrolled .nav #logo a:hover {
    color:#B49761;
    -webkit-transition:color .2s ease-out;
    transition:color .2s ease-out;
}


/*----------------------
-----Header Styles------
------------------------*/
/*----------------------
-----Header Image------
------------------------*/
.jumbotron {
    background-color: #B39661;
    color: #fff;
    padding: 0;
    margin-bottom: 0;
    overflow: hidden;
    min-height: 100vh;
    width: 100%;
    position: relative;
}

.jumbotron::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url(../assets/bd_bg3.jpg) no-repeat top center;
    background-attachment: fixed;
    background-size: 110%; /* البداية مكبرة 10% */
    animation: zoomIn 15s ease-out forwards;
    z-index: 0;
}

@keyframes zoomIn {
    0% {
        background-size: 110%;
    }
    100% {
        background-size: 100%;
    }
}

/* المحتوى فوق الصورة */
.jumbotron .container,
.jumbotron .row,
.jumbotron > * {
    position: relative;
    z-index: 1;
}
/* تحسين للهواتف */
@media (max-width: 768px) {
    .jumbotron {
        min-height: 100vh; /* يضمن تغطية كامل الشاشة */
        min-height: 100dvh; /* أفضل للهواتف الحديثة */
    }
    
    .jumbotron::before {
        background-size: 150% 100%; /* تكبير أكبر للهواتف */
        animation: zoomInMobile 15s ease-out forwards;
        background-attachment: scroll; /* إزالة الثبات للهواتف لتجنب مشاكل الأداء */
    }
    
    @keyframes zoomInMobile {
        0% {
            background-size: 170% 100%; /* بداية مكبرة أكثر */
        }
        100% {
            background-size: 140% 100%; /* نهاية التكبير */
        }
    }
}

/* للشاشات الصغيرة جداً (هواتف صغيرة) */
@media (max-width: 480px) {
    .jumbotron::before {
        background-size: 180% 100%;
        animation: zoomInSmall 15s ease-out forwards;
    }
    
    @keyframes zoomInSmall {
        0% {
            background-size: 200% 100%;
        }
        100% {
            background-size: 160% 100%;
        }
    }
}

/* تحسين عرض النص على الهواتف */
@media (max-width: 768px) {
    .jumbotron .container {
        padding: 2rem 1rem;
        text-align: center;
    }
    
    .jumbotron h1 {
        font-size: 2rem;
    }
    
    .jumbotron p {
        font-size: 1rem;
    }
}
/*---------------------------------------*/

.tophight {
    display: flex;
    flex-direction: column;        /* ← أضف هذا: ترتيب عمودي */
    min-height: 100dvh;
    justify-content: center;       /* توسيط النص عمودياً */
    align-items: center;           /* توسيط كل شيء أفقياً */
    padding-bottom: 4dvh;
    box-sizing: border-box;
    position: relative;            /* للتحكم في موضع الصورة */
}

.icon-top {
    width: 40px;
    height: 40px;
    position: absolute;            /* ← أضف هذا */
    bottom: 4dvh;                  /* ← أضف هذا: المسافة من الأسفل */
    left: 50%;                     /* توسيط أفقي */
    transform: translateX(-50%);   /* تصحيح التوسيط */
    animation: arrow-down 2s ease-in-out infinite;
}


@keyframes arrow-down {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(25px);  /* نزول واضح */
        opacity: 0.6;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.paddtotop{
    padding-top: 100px;
}

.jumbotron .text-col{
    margin-top:50px;
}

.jumbotron h1{
    font-weight:800;
    letter-spacing:0.02em;
    margin-bottom:20px;
    opacity:0;
    -webkit-transform:translateX(-1000px);
    transform:translateX(-1000px);
    -webkit-transition:opacity .5s ease-out .3s,-webkit-transform .5s ease-out .3s;
    transition:opacity .5s ease-out .3s,transform .5s ease-out .3s;
}

.jumbotron h1.in{
	opacity:1;
	-webkit-transform:translateX(0);
	transform:translateX(0);
}

.jumbotron p{
    font-size:32px;
    font-weight:400;
    letter-spacing:0.02em;
    opacity:0;
    -webkit-transform:translateY(1000px);
    transform:translateY(1000px);
    -webkit-transition:opacity .5s ease-out .8s,-webkit-transform .5s ease-out .8s;
    transition:opacity .5s ease-out .8s,transform .5s ease-out .8s;
}

.jumbotron p.in{
	opacity:1;
	-webkit-transform:translateY(0);
	transform:translateY(0);
}

.jumbotron .imac-frame {
    display:block;
    position:relative;
    width:100%;
    max-width:500px;
    margin:0 auto;
    overflow:hidden;
    opacity:0;
    -webkit-transform:translateX(1000px);
    transform:translateX(1000px);
    -webkit-transition:opacity .5s ease-out .6s,-webkit-transform .5s ease-out .6s;
    transition:opacity .5s ease-out .6s,transform .5s ease-out .6s;
}

.jumbotron .imac-frame.in {
	opacity:1;
	-webkit-transform:translateX(0);
	transform:translateX(0);
}

.jumbotron .imac-screen{
    background:transparent;
    display:block;
    position:absolute;
    top:6%;
    left:6%;
    width:88%;
    height:65%;
    overflow:hidden;
    opacity:1;
    -webkit-transition:opacity .3s ease-out;
    transition:opacity .3s ease-out;
}

.flexslider {
    margin:0;
    padding:0;
    background:transparent;
    border:none;
    box-shadow:none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    z-index:1;
}

.flex-direction-nav .flex-prev,
.flex-direction-nav .flex-next{
    background:#B49761;
    background-image:none;
    display:inline;
    text-indent:0;
    position:absolute;
    top:50%;
    width:44px;
    height:44px;
    padding:0;
    padding-left:12px;
    margin:0;
    margin-top:-22px;
    font-size:42px;
    line-height:38px;
    color:#fff;
    text-align:left;
    border-radius:5px;
    -webkit-transition:all .2s ease-out;
    transition:all .2s ease-out;
}

.flex-direction-nav .flex-next{
    text-align:right;
    padding-right:12px;
}

.flex-direction-nav a:hover,
.flex-direction-nav a:active,
.flex-direction-nav a:focus{
    text-decoration:none;
}

.flex-direction-nav a:hover {  
    background:#363B46;
}

.flex-direction-nav .flex-disabled {  
    display:none;
}

.flexslider:hover .flex-next {opacity: 1; right: 5px;}
.flexslider:hover .flex-prev {opacity: 1; left: 5px;}

/*----------------------
-----About Styles----
------------------------*/  
#about{padding-bottom:60px}
#about .section-header{
    margin-bottom:40px;

}

#about img{
    
padding-right: 60px;
    width: 450px;
    height: auto;
    object-fit: cover;
    display: block;
}

#about p{
    font-size:21px;
    line-height:28px;
}

.tohightallp{
  min-height: 90dvh;
  display: flex;
    flex-direction: column;        /* ← أضف هذا: ترتيب عمودي */
    justify-content: center;       /* توسيط النص عمودياً */
    align-items: center;
}
.tohightallp1{
  min-height: 600px;
  display: flex;
    flex-direction: column;        /* ← أضف هذا: ترتيب عمودي */
    justify-content: center;       /* توسيط النص عمودياً */
    align-items: center;
}

.totxtbox{

    max-width: 800px;
}

.abu2{
    font-size:48px;
text-align: left;
padding-bottom: 12px;
}

.totxtbox2 {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* التعديل المطلوب: على الهواتف النص أولاً ثم الصورة */
@media (max-width: 768px) {
    .totxtbox2 {
        text-align: center;
        padding: 0px;
        width: auto;
        flex-direction: column-reverse; /* يعكس الترتيب: النص ثم الصورة */
    }
    #about img{
        padding: 0px;
    align-items: center;
    width: 300px;
    height: auto;
    object-fit: cover;
    display: block;

    
}
.abu2{
text-align: center;
padding-bottom: 12px;
}
}



/*----------------------
-----news Styles----
------------------------*/  
#news{padding-bottom:60px}
#news .section-header{
    margin-bottom:40px;

}

#news img{
text-align: center;

padding-top: 14px;

}

#news p{
     font-size:21px;
    line-height:28px;
    letter-spacing: 1px;
}

/*----------------------
-----services Styles----
------------------------*/  
#services{

background-color: #F0EADF;
}

#services{padding-bottom:6vw;}
#services .section-header{

    margin-bottom:2vw;

}

#services img{
text-align: center;
padding-top: 14px;
}

#services p{
        font-size:13px;
    line-height:16px;
    letter-spacing: 1px;
}


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

        

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

        .card {
            width: 250px;
            height: 250px;
            align-items: center;
            text-align: center;
            background: #fff;
            overflow: hidden;
            transition: transform 0.25s ease;
            text-align: center;
            padding-bottom: 20px;
        }

        .card:hover {
            transform: scale(1.05);
            
        }

        .card img {
          
    justify-content: center;
    align-items: center;

            width: auto;
            height: 80px;
           
        
        }

        .card h3 {
            font-size:16px;
            font-weight: 500;
            line-height:22px;
            letter-spacing: 0px;
            text-transform: uppercase;
            color: #B39661;
            margin: 14px 14px 10px;
        }

        .card p {
            font-size:8px;
            color: #475569;
            line-height: 1.6;
            margin: 0 15px 10px;
        }

@media (max-width: 1024px) {
            .grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 25px;
            }
        }

        @media (max-width: 600px) {
            .grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            
        }


.imgpat{
    height: 60px;
    background:url(../assets/logo-pat.png) fixed repeat #fff;
    background-size: 600px 600px;
    opacity: 0.2; 
}

 /* ===== Spacer (for scrolling demo) ===== */

        /* ===== Statistics Section ===== */
        .stats-section {
            padding: 60px 20px;
            padding-top: 60px;
            background: linear-gradient(0deg, #C9B593 0%, #B39661 100%);
            color: #fff;
            text-align: center;
        }

        /* Optional section title */
        .stats-section .section-title {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 12px;
            letter-spacing: -0.5px;
        }

        .stats-section .section-subtitle {
            font-size: 1.1rem;
            color: #fff;
            margin-bottom: 50px;
            font-weight: 300;
        }

        .stats-container {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 0px;
        }

        /* ===== Individual Stat Card ===== */
        .stat-item {

    display: flex;
    flex-direction: column;   
    align-items: center;       
    justify-content: center;  
    text-align: center; 

            
    padding: 20px 30px;           
            position: relative;


            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .stat-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;            /* يبدأ من 25% من الأعلى */
    height: 70%;         /* ارتفاع الخط = 50% من البطاقة */
    width: 1px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 2px;  /* أطراف دائرية */
}

/* إزالة الخط من آخر بطاقة */
.stat-item:last-child::after {
    display: none;
}
        .stat-item:hover {

            transform: translateY(-6px);
            background: rgba(255, 255, 255, 0.10);
        }

        /* ===== Icon ===== */
        .stat-item .icon {

            font-size: 6rem;
            color: #fff;
            margin-bottom: 12px;
            display: block;
        }
        .stat-item .icon .pic {

            height: 60px;
            color: #fff;
            display: block;
        }

        /* ===== Number ===== */
        .stat-item .number {
            font-size: 3rem;
            font-weight: 200;
            line-height: 1.2;
            color: #ffffff;
            letter-spacing: 1px;
            direction: ltr;
        }

        .stat-item .number .suffix {
            font-size: 3rem;
            font-weight: 200;
            color: #fff;
            margin-left: -4px;
        }

        /* ===== Label (description) ===== */
        .stat-item .label {

            font-size: 2rem;
            line-height:24px;
            font-weight: 200;
            color: #fff;
            margin-top: 8px;
            letter-spacing: 0.5px;
        }

        /* ===== Responsive ===== */
        @media (max-width: 992px) {
            .stats-container {
                grid-template-columns: repeat(2, 1fr);
                gap: 20px;
            }
        }

        @media (max-width: 480px) {
            .stats-container {
                grid-template-columns: 1fr 1fr;
                gap: 12px;
            }

            .stat-item {
                padding: 18px 12px;
            }

            .stat-item .number {
                font-size: 2.2rem;
            }

            .stat-item .number .suffix {
                font-size: 1.2rem;
            }

            .stat-item .label {
                font-size: 0.85rem;
            }

            .stat-item .icon {
                font-size: 2rem;
            }

            .stats-section .section-title {
                font-size: 1.8rem;
            }
        }

        /* ===== Fade-in animation ===== */
        .stat-item {
            opacity: 0;
            transform: translateY(40px);
            transition: opacity 0.8s ease, transform 0.8s ease, background 0.3s, box-shadow 0.3s;
        }

        .stat-item.visible {
            opacity: 1;
            transform: translateY(0);
        }

/*----------------------
-----Portfolio Styles----
------------------------*/ 	
#filter-works ul {
    list-style:none;
    padding:0;
    margin:0;
    margin-bottom:40px;
    text-align:center;
    
}

#filter-works ul li{
    display:inline-block;
    padding:0;
    line-height:24px;
    background:transparent;
    margin:0;
    margin-left:5px;
    margin-bottom:10px;
}

#filter-works ul [class*=fa]{
    margin-right:5px;
}

#filter-works ul [class*=fa-check]{
    position:relative;
    left:1px;
}

#filter-works ul li a{
    display:block;
    font-size:16px;
    line-height:28px;
    height:48px;
    text-transform:uppercase;
    padding:10px 45px;
    border-radius:48px;
    -webkit-transition:all .2s ease-out;
    transition:all .2s ease-out;
}

#filter-works ul li a,
#filter-works ul li a:active,
#filter-works ul li a:hover{
    font-weight:300;
    background:transparent;
    color:#333;
    text-decoration:none;
    background:#fff;
}

#filter-works ul li.active a,
#filter-works ul li:hover a{
    color:#fff;
    background:#1D2026;
}

.masonry-wrapper{
    margin:0 auto;
    padding:0;
    overflow:hidden;
}

#projects-container {
    margin:0 auto;
    visibility:hidden;
}

#projects-container .project-item{
    display:block;
    position:relative;
    margin:0;
    width:290px;
    margin-bottom:25px;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    opacity:1;
    filter:alpha(opacity=100);
    overflow:hidden;
    border:10px solid #fafafa;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

#projects-container .project-item.filtered{
	-moz-transform: scale(0);
	-ms-transform: scale(0);
    transform:scale(0);
    opacity:0;
    filter:alpha(opacity=0);
}

.project-item:hover{
	cursor:pointer;
}

.project-item img {
	-webkit-transform: translateX(0);
	transform: translateX(0);
    -webkit-transition:-webkit-transform 0.4s ease-out;
    transition:transform 0.4s ease-out;
}

.project-item:hover img {
	-webkit-transform: translateX(50%);
	transform: translateX(50%);
}


.project-item .hover-mask {
    position:absolute;
    padding:0;
    padding-left:50px;
    width:100%;
    height:100%;
    top:0;
    left:0;
    background:#1D2026;
    -webkit-transform:translateX(-100%);
    transform:translateX(-100%);
    -webkit-transition:all 0.4s ease-out;
    transition:all 0.4s ease-out;
}

.project-item:hover .hover-mask {
    -webkit-transform:translateX(-50px);
    transform:translateX(-50px);
}

.project-item .hover-mask .project-title {
    color:#fff;
    margin:30px 0 0;
    padding:10px;
    font-family:"Titillium Web",sans-serif;
    font-size:21px;
    line-height:24px;
    font-weight:600;
    text-transform:uppercase;
    text-align:center;
}

.project-item .hover-mask p {
    color:#B49761;
    margin:0;
    font-size:16px;
    line-height:24px;
    font-weight:600;
    text-transform:uppercase;
    text-align:center;
    -webkit-transition:all 0.3s ease-out;
    transition:all 0.3s ease-out;
}

.project-item .hover-mask:after{
    display:block;
    position:absolute;
    content: "\f061";
    font-family:'FontAwesome';
    bottom:20px;
    left:175px;
    color:#fff;
}

.masonry,
.masonry .masonry-brick {
  -webkit-transition-duration: 0.7s;
  -moz-transition-duration: 0.7s;
  -ms-transition-duration: 0.7s;
  -o-transition-duration: 0.7s;
  transition-duration: 0.7s;

  transition-timing-function:ease-in-out;    
}

.masonry {
  -webkit-transition-property: height, width;
  -moz-transition-property: height, width;
  -ms-transition-property: height, width;
  -o-transition-property: height, width;
  transition-property: height, width;
}

.masonry .masonry-brick {
  -webkit-transition-property: left, right, top, -webkit-transform, opacity;
  -moz-transition-property: left, right, top, -moz-transform, opacity;
  -ms-transition-property: left, right, top, -ms-transform, opacity;
  -o-transition-property: left, right, top, -o-transform, opacity;
  transition-property: left, right, top, transform, opacity;
}


/*----------------------
-----news Styles----
------------------------*/  
.carousel .item{min-height:400px}
.carousel-control .fa-chevron-right, .carousel-control .fa-chevron-left{
    display: inline-block;
    position: absolute;
    top: 50%;
    z-index: 5;
}

.carousel-control.left, .carousel-control.right {
    background: none;
    
}
.carousel-control {
    bottom: 0;
    font-size: 30px;
    left: 0;
    opacity: 0.7;
    position: absolute;
    text-align: center;
    text-shadow: none;
    top: 0;
    width: 15%;
    color:#333
}

.carousel-control:hover, .carousel-control:active, .carousel-control:focus{
	opacity: 0.9;
	color:#333

}

.carousel-indicators li {
    background-color: rgba(205, 205, 205, 1);
    border: 1px solid #cdcdcd;
    border-radius: 10px;
    cursor: pointer;
    display: inline-block;
    height: 10px;
    margin: 0px;
    text-indent: -999px;
    width: 10px;
}	

.carousel-indicators .active {
    background-color: #333;
    height: 10px;
    margin: 0;
    width: 10px;
    border-color:#333
}



/*--------------------------
----Project Modal Styles----
----------------------------*/

.fade.modal {
	overflow-x:hidden;
}


.modal.fade .modal-dialog {
	-webkit-transform: translateY(2000px);
	-moz-transform: translateY(2000px);
	-ms-transform: translateY(2000px);
	transform: translateY(2000px);
	opacity: 0;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.5s;
}

.modal.in .modal-dialog {
	-webkit-transform: translateY(0);
	transform: translateY(0);
	opacity: 1;
}

.modal-backdrop{
    background-color:#1D2026;
}

.modal-backdrop.in{
    opacity:1;
    filter:alpha(opacity=100);
}

.modal-dialog{
    width:100%;
    padding:0;
    margin:0;
}


.modal-content{
    width:100%;
    border:none;
    border-radius:0;
    box-shadow:none;
    background-color:#fff;
}

.modal-header{
    width:100%;
    margin:0;
    padding:0;
    padding-top:40px;
    background:url(../assets/IMG.png) bottom fixed no-repeat #59595b;
    color:#fff;
    border:none;
    text-align:center;
}

#hdr-title{
    margin-bottom:40px;
}

#project-modal .close{
    float:right;
    font-size:52px;
    line-height:52px;
    font-weight:300;
    margin-top:0px;
    opacity:1;
    color:inherit;
    text-shadow:none;
    -webkit-transition:all 0.2s ease-out;
    transition:all 0.2s ease-out;
}

#project-modal .close:hover{
    opacity:.8;
}

.modal-body {
    margin:0;
    padding:60px 0 20px;
}

.modal-body .project-descr{
    margin:0 0 24px;
    
}

.modal-header .loader {
    position:absolute;
    left:50%;
    top:0;
    margin-top:32%;
    margin-left:-18px;
    width:100px;
    height:9px;
    background:url('../assets/loader.png') no-repeat 50% 50%;
    z-index:1;
}

.modal-header .image-wrapper {
    position:relative;
    overflow:hidden;
    min-height:550px;
    margin-bottom:40px
}

.modal-header .screen{
    box-sizing:padding-box;
    border:none;
    box-shadow:none;
    margin:0;
    padding:0;
    position:absolute;
    top:5%;
    width:100%;
    height:auto;
    z-index:2;
    opacity:0;
    -webkit-transition:all 0.5s ease-out 0.7s;
    transition:all 0.5s ease-out 0.7s;
}

.modal-header .screen.done {
    opacity:1;
}

#project-sidebar{
    margin-bottom:40px;
}

#project-sidebar p{
    margin-bottom:10px;
}

#sdbr-descr{
    margin-top:30px;
}

#sdbr-category:before {
	display: inline-block;
	width:20px;
    content:"\f115";
    font-family:"Fontawesome";
    margin-right:10px;
}

#sdbr-date:before {
	display: inline-block;
	width:20px;
    content:"\f073";
    font-family:"Fontawesome";
    margin-right:10px;
    cursor:pointer
}

#sdbr-client:before {
	display: inline-block;
	width:20px;
    content:"\f118";
    font-family:"Fontawesome";
    margin-right:10px;
    cursor:pointer
}

#sdbr-link:before {
	display: inline-block;
	width:20px;
    content:"\f0ac";
    font-family:"Fontawesome";
    margin-right:10px;
    cursor:pointer
}


#sdbr-house:before {
	display: inline-block;
	width:20px;
    content:"\f015";
    font-family:"Fontawesome";
    margin-right:10px;
    cursor:pointer
}


#sdbr-role:before {
	display: inline-block;
	width:20px;
    content:"\f007";
    font-family:"Fontawesome";
    margin-right:10px;
    cursor:pointer
}


#sdbr-director:before {
	display: inline-block;
	width:20px;
    content:"\f03d";
    font-family:"Fontawesome";
    margin-right:10px;
    cursor:pointer
}


#sdbr-award:before {
	display: inline-block;
	width:20px;
    content:"\f0a3";
    font-family:"Fontawesome";
    margin-right:10px;
    cursor:pointer
}




/*----------------------
-----3D Gallery Style-----
------------------------*/
.topbar{height:50px;display:block;position:relative;top:-50px}

.topbar h3 {
	display: inline-block;
	width: 100%;
	min-width: 320px;
}


.topbar h3 {
	text-align: center;
	padding-left: 20px;
	color: #aaa;
}
.back {
	position: absolute;
	left: 50%;
	top: 100%;
	margin: -20px 0 0;
	text-align: center;
	line-height: 38px;
	cursor: pointer;
	display: none;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
/*------
Staple Plugin
---------*/
.tp-grid {
	list-style-type: none;
	position: relative;
	display: block;
}

.tp-grid li {
	position: absolute;
	cursor: pointer;
	border: 10px solid #fff;
	box-shadow: 0 2px 3px rgba(0,0,0,0.2);
	display: none;
	overflow: hidden;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-o-backface-visibility: hidden;
	-ms-backface-visibility: hidden;
	backface-visibility: hidden;
}

.no-js .tp-grid li {
	position: relative;
	display: inline-block;
}

.tp-grid li a {
	display: block;
	outline: none;
}

.tp-grid li img {
	display: block;
	border: none;
}

.tp-info,
.tp-title {
	position: absolute;
	background: #fff;
	line-height: 20px;
	color: #333;
	top: 40%;
	width: 75%;
	padding: 10px;
	font-weight: 700;
	text-align: right;
	left: -100%;
	box-shadow: 
  1px 1px 1px rgba(0,0,0,0.1),
  5px 0 5px -3px rgba(0,0,0,0.4),
  inset 0 0 5px rgba(0,0,0,0.04);
}

.touch .tp-info {
	left: 0px;
}

.no-touch .tp-info {
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

.no-touch .tp-grid li:hover .tp-info {
	-webkit-transition-delay: 150ms;
	-moz-transition-delay: 150ms;
	-o-transition-delay: 150ms;
	-ms-transition-delay: 150ms;
	transition-delay: 150ms;
}

.no-touch .tp-open li:hover .tp-info {
	left: 0px;
}

.tp-title {
	padding: 10px 35px 10px 10px;
	left: 0px;
}

.tp-title span:nth-child(2){
	color: #aaa;
	padding: 0 5px;
	background: #F7F7F7;
	right: 0px;
	height: 100%;
	line-height: 40px;
	top: 0px;
	position: absolute;
	display: block;
}





/*----------------------
-----Contact Styles-----
------------------------*/
#contact{
    padding-bottom: 10px;
    background: url(../assets/contacts-bg.png) bottom fixed no-repeat #5c5c5c;
    background-size: cover;        /* تغطي المساحة بالكامل مع الحفاظ على النسبة */
    background-position: center;   /* توسيط الصورة */
    min-height: 100vh;            /* لجعل ارتفاع القسم على الأقل يساوي شاشة الهاتف */
}


@media (max-width: 768px) {
    #contact {
        background-attachment: scroll; /* تجنب مشاكل fixed على الهواتف */
        min-height: 100vh;
        background-size: cover;
    }
}


#contact .section-header p {
    opacity:0.6;
}

.bl_form {
  margin: 0 0 0px;
}

.bl_form input,
.bl_form textarea{
  padding-top: 15px;

  background: rgba(255,255,255,0.10);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  border: none;
  color: white;
  height:44px;
  max-height:44px;
  min-height:44px;
  width:207px;
  max-width:207px;
  min-width:207px;
  padding: 10px 15px;
  border-radius: 25px;
  font-size: 16px;
  outline: none;
  vertical-align:middle;

}


.lb_wrap .lb_label.top, .lb_wrap .lb_label.bottom {
  left: 15px !important;
  z-index:1;
}

.lb_wrap .lb_label.left {
  left: 0;
  z-index:1;
}

.lb_label {
  font-weight: bold;
  color: #999;
  z-index:1;
}

.lb_label.active {
  color: #FFF;
  z-index:1;
}
textarea::placeholder {
  color: #DDDDDD;
}
input::placeholder {
  color: #DDDDDD;
}
.no-placeholder .lb_label {
	display:none;

}

#contact .btn {
    margin-left:3px;
}

#contact-form .field-wrap{
    display:inline-block;
    position:relative;
    vertical-align:top;
    margin-bottom:48px;/* to msg*/
}

#contact-form .field-wrap .error-message{
    display:block;
    position:absolute;
    top:50px;
    left:0;
    width:100%;
    font-size:16px;
    text-align:center;
    color:#B49761;
}

#contact-form .field-wrap .control-label{
    display:none;
    position:absolute;
    top:-30px;
    left:15px;

}

#contact-form.no-placeholder .field-wrap .control-label{
    display:inline-block;

}
/*----------------------
-----Footer Styles------
------------------------*/    

#main-footer p{
    font-size:16px;
    line-height:40px;
}

#main-footer p span a {color:#fff}
#main-footer hr{
    margin-top:0;
    border-color:#19191d;
}

.social-links {
    list-style:none;
    margin:0;
    padding:0;
    margin-bottom:10px;
}

.social-links li{
    display:inline-block;
    margin:0 5px;
    border-radius:3px;
    box-shadow:0 4px 0 transparent;
    -webkit-transition:all .3s ease-out;
    transition:all .3s ease-out;
}

.social-links li a {
    display:block;
    color:#fff;
    color:rgba(255,255,255,0.3);
    font-size:18px;
    width:40px;
    height:40px;
    line-height:40px;
    text-align:center;
    background:rgba(0,0,0,0.2);
    border-radius:50%;
    -webkit-transition:all .3s ease-out;
    transition:all .3s ease-out;
}

.social-links li a:hover {
    color:#fff;
    background:#B49761;
}

/*------------------------
---Scrolling animations---
-------------------------*/

.scrollimation.fade-in{
	opacity:0;
	-webkit-transition:opacity 0.6s ease-out;
	transition:opacity 0.6s ease-out;
}

.scrollimation.fade-in.in{
	opacity:1;
}

.scrollimation.scale-in{
	opacity:0;
	-webkit-transform: scale(0.5);
	-moz-transform: scale(0.5);
	-ms-transform: scale(0.5);
	transform:scale(0.5);
	-webkit-transition: -webkit-transform .6s cubic-bezier(.17,.89,.67,1.57), opacity .6s ease-out;
	transition: transform .6s cubic-bezier(.17,.89,.67,1.57), opacity .6s ease-out;
}

.scrollimation.scale-in.in{
	opacity:1;
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	transform:scale(1);
}

.scrollimation.fade-right{
	opacity:0;
	-webkit-transform: translateX(-100px);
	-moz-transform: translateX(-100px);
	-ms-transform: translateX(-100px);
	transform:translateX(-100px);
	-webkit-transition: -webkit-transform .4s ease-out,opacity .4s ease-out;
	transition: transform .4s ease-out,opacity .4s ease-out;
}

.scrollimation.fade-right.in{
	opacity:1;
	-webkit-transform: translateX(0px);
	-moz-transform: translateX(0px);
	-ms-transform: translateX(0px);
	transform:translateX(0px);
}

.scrollimation.fade-left{
	opacity:0;
	-webkit-transform: translateX(100px);
	-moz-transform: translateX(100px);
	-ms-transform: translateX(100px);
	transform:translateX(100px);
	-webkit-transition: -webkit-transform .4s ease-out,opacity .4s ease-out;
	transition: transform .4s ease-out,opacity .4s ease-out;
}

.scrollimation.fade-left.in{
	opacity:1;
	-webkit-transform: translateX(0px);
	-moz-transform: translateX(0px);
	-ms-transform: translateX(0px);
	transform:translateX(0px);
}

.scrollimation.fade-up{
	opacity:0;
	-webkit-transform: translateY(100px);
	-moz-transform: translateY(100px);
	-ms-transform: translateY(100px);
	transform:translateY(100px);
	-webkit-transition: -webkit-transform .4s ease-out,opacity .4s ease-in;
	transition: transform .4s ease-out,opacity .4s ease-in-out;
}

.scrollimation.fade-up.in{
	opacity:1;
	-webkit-transform: translateY(0px);
	-moz-transform: translateY(0px);
	-ms-transform: translateY(0px);
	transform:translateY(0px);
}

.scrollimation.d1{
	transition-delay:.2s;
}

.scrollimation.d2{
	transition-delay:.4s;
}

.scrollimation.d3{
	transition-delay:.6s;
}

.scrollimation.d4{
	transition-delay:.8s;
}

.scrollimation.d5{
    transition-delay:1.0s;
}
.scrollimation.d6{
    transition-delay:1.2s;
}

.scrollimation.d7{
    transition-delay:1.4s;
}

.scrollimation.d8{
    transition-delay:1.6s;
}
.scrollimation.d9{
    transition-delay:1.8s;
}


.scrollimation.d66{
    transition-delay:1.5s;
}

.touch .scrollimation.fade-in{
	opacity:1;
}

.touch .scrollimation.scale-in{
	opacity:1;
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	transform:scale(1);
}

.touch .scrollimation.fade-right{
	opacity:1;
	-webkit-transform: translateX(0px);
	-moz-transform: translateX(0px);
	-ms-transform: translateX(0px);
	transform:translateX(0px);
}

.touch .scrollimation.fade-left{
	opacity:1;
	-webkit-transform: translateX(0px);
	-moz-transform: translateX(0px);
	-ms-transform: translateX(0px);
	transform:translateX(0px);
}

.touch .scrollimation.fade-up{
	opacity:1;
	-webkit-transform: translateY(0px);
	-moz-transform: translateY(0px);
	-ms-transform: translateY(0px);
	transform:translateY(0px);
}

/*  by meee*/ 

/* تأثير الظهور من الأعلى إلى الأسفل */
.scrollimation.fade-down{
    opacity: 0;
    -webkit-transform: translateY(-100px);
    -moz-transform: translateY(-100px);
    -ms-transform: translateY(-100px);
    transform: translateY(-100px);
    -webkit-transition: -webkit-transform .4s ease-out, opacity .4s ease-out;
    transition: transform .4s ease-out, opacity .4s ease-out;
}

.scrollimation.fade-down.in{
    opacity: 1;
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    -ms-transform: translateY(0px);
    transform: translateY(0px);
}

/* إضافة دعم للأجهزة اللمسية */
.touch .scrollimation.fade-down{
    opacity: 1;
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    -ms-transform: translateY(0px);
    transform: translateY(0px);
}

/*----------------------
-----Media Queries------
------------------------*/    
@media (max-width: 767px) {
	
    .navbar {
        padding:0 20px;
    }
    
    #main-nav {
        background:#fff;
        box-shadow:0 1px 2px rgba(0,0,0,0.1);
    }

    #main-nav .navbar-nav li {
      display:block;
      text-align:center;
  }

  #main-nav .nav a:before {
      display:none;
  }

  #main-nav .navbar-nav #logo{
      display:none;
  }

  #main-nav .nav a{
    color:inherit; 
    transition:color .2s ease-out;
}

#main-nav .nav .active a,
#main-nav .nav a:hover{
    color:#B49761; 
}

.jumbotron .text-col{
    text-align:center;
    margin-bottom:30px;
    margin-top:0;
}

#main-footer [class*=row],
#main-footer .text-right{
    text-align:center;
}

.section-header h1{
    font-size:38px;
}


}

@media (min-width: 1200px) {
	.jumbotron {
		min-height:660px;
	}
}


@media (max-width: 570px) {
	.modal-header .image-wrapper {
       min-height:300px;
       margin-bottom:20px;
   }
}

/* map */

iframe{
    border: none;
    width: 300px;
    height: 100px;
    opacity: 0.7;
    transition: 0.3s ease-in-out;
}

iframe:hover{
    transform: scale(1.1);
    opacity: 1;
}



.tomessage{
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;

}

.contact-row .icons{
    width:24px;
    flex-shrink:0;
}

.tomap1{
    max-width: 850px;
   /* min-height: 100px;*/
    gap: 20px;
    padding-left: 20px;
    padding-top: 0px;
    padding-right: 20px;
    padding-bottom: 10px;
    display:flex;
   /* justify-content:space-between;
    align-items:flex-start;
    margin: auto;*/

}
/*
.tomap{
    max-width: 600px;
    flex:1;
}*/

.tocontactallign{
padding-top: 20px;
padding-bottom: 10px;
}

.contact-row{
    display:flex;
    align-items:flex-start;
    gap:0px;
    margin-bottom:4px;
}

.icons{
    width: 25px;
    height: 25px;
    margin-top: 5px;
    margin-bottom: 5px;
    margin-right: 10px;
    margin-left: 10px;
    flex-shrink:0;
}

.contact-row span{
    flex:1;
    line-height:1.6;
}

.tomap1 iframe{
    width:300px !important;
    height:225px !important;
    border:0;
}
.fotarc {
    margin: 0;
    font-size: 10;
    text-align: center;
    color: #C1C1C1;
    ;
}



/* Mobile */

@media (max-width:768px){
    .tomap1{
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .tomap{
        width: 100%;
        text-align: center;
    }
    .contact-row{
        justify-content: center;
        text-align: left; /* للحفاظ على شكل العنوان */
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;
    }
    .tomap h2{
        text-align: center;
    }
    .tomap1 iframe{
        width: 100%;
        max-width: 450px;
        height: 300px;
    }
