/* ------------------------------------------------
  Project:   Misto - Factory and Industrial HTML5 Template
  Author:    ThemeHt
------------------------------------------------ */
/* ------------------------
    Table of Contents

  1. General
  2. Typography
  3. Helper class
  4. Text color
  5. Background color
  6. Jarallax
  7. Pattern
  8. Border Radius
  9. Banner
  10. Countdown
  11. Terms and Conditions
  12. Privacy Policy
  13. Contact
  14. About Us
  15. Video
  16. Side Background


/* ------------------------
    General
------------------------*/
@font-face {
  font-family: "Cairo";
  src: url("../fonts/cairo/Cairo-ExtraLight.ttf") format("truetype");
  font-weight: 200;
}

@font-face {
  font-family: "Cairo";
  src: url("../fonts/cairo/Cairo-Light.ttf") format("truetype");
  font-weight: 300;
}

@font-face {
  font-family: "Cairo";
  src: url("../fonts/cairo/Cairo-Regular.ttf") format("truetype");
  font-weight: 400;
}

@font-face {
  font-family: "Cairo";
  src: url("../fonts/cairo/Cairo-SemiBold.ttf") format("truetype");
  font-weight: 600;
}

@font-face {
  font-family: "Cairo";
  src: url("../fonts/cairo/Cairo-Bold.ttf") format("truetype");
  font-weight: 700;
}

@font-face {
  font-family: "Cairo";
  src: url("../fonts/cairo/Cairo-Black.ttf") format("truetype");
  font-weight: 900;
}
body {font-family:  "Cairo", sans-serif; font-weight: normal; font-style: normal; font-size: 15px; line-height: 1.5; color:#282929;}


/* ------------------------
    Typography
------------------------*/
h1, h2, h3, h4, h5, h6{font-weight:normal; margin-top: 0px; margin-bottom: 0px; text-transform: capitalize;}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { color: inherit; }
h1 { font-size: 70px; font-style: normal; line-height: 80px; font-weight: 700; text-transform: capitalize; color: #f9a305;}
h2 { font-size: 40px; font-style: normal; line-height: 46px; font-weight: 500; color: #23244a; text-transform: capitalize; margin-bottom: 10px; position: relative;}
h3 { font-size: 30px; font-style: normal; line-height: 36px; }
h4 { font-size: 24px; font-style: normal; text-transform: uppercase; margin-bottom: 10px; font-weight: 500; line-height: 30px; color: #23244a;}
h5 { font-size: 20px; font-style: normal; text-transform: uppercase; margin-bottom: 10px; font-weight: 500; line-height: 26px; color: #23244a;}
h6 { font-size: 18px; font-style: normal; line-height: 24px; }
ul { margin: 0px; padding: 0px; }


/* ------------------------
    Helper class
------------------------*/

.lead{font-weight: normal; font-size: 16px; line-height: 30px;}
.z-index-0{z-index: 0; position: relative;}
.z-index-1{z-index: 1; position: relative;}
section{padding: 80px 0;}
.section-title{margin-bottom:50px;}
.section-title p{font-size: 16px;}
.theme-bg .section-title p, .dark-bg .section-title p{color: rgba(255,255,255,0.8)}

.line-h-2{line-height: 1.6;}
.line-h-3{line-height: 1.7;}
.line-h-4{line-height: 1.8;}
.line-h-5{line-height: 1.9;}

.letter-space-1{letter-spacing: 5px;}
.letter-space-2{letter-spacing: 10px;}
.letter-space-3{letter-spacing: 15px;}


/* ------------------------
    Text color
------------------------*/
.text-theme{color:#f9a305;}
.text-black{color:#23244a !important;}
.text-grey{color:#aaaaaa;}
.text-yellow{color:#f9a305;}
.text-rgba{color: rgba(255,255,255,0.8);}


/* ------------------------
    Background color
------------------------*/
.white-bg{background-color:#ffffff !important;}
.dark-bg{background-color:var(--primary-color) !important;}
.grey-bg{background-color:#f8f8f8;}
.theme-bg{background-color:#f9a305;}
.transparent-bg{background-color: inherit !important;}


/* ------------------------
    Pattern
------------------------*/
.pattern{width: 100%; background-size: inherit !important; background-position: 0px 0px; background-repeat: repeat !important; animation: animatedBackground 20s linear infinite;
-ms-animation: animatedBackground 20s linear infinite; -moz-animation: animatedBackground 20s linear infinite; -webkit-animation: animatedBackground 20s linear infinite;}


/* ------------------------
    Banner
------------------------*/
.fullscreen-banner{position: relative; min-height: 800px;}
[data-bg-img]{background-size: cover; background-position: center center; background-repeat: no-repeat;}
.align-center{position: absolute; top: 50%; width: 100%; z-index: 9;}
.align-end{position: absolute; bottom: 0; width: 100%; z-index: 9;}
.fullscreen-banner .btn{color: #ffffff;}
.banner-1::before {border: 10px solid rgba(255,255,255,0.1); content: ""; height: 120%; left: 50%; position: absolute;
  top: -10%; width: 80%; z-index: -1;}
.fullscreen-banner .owl-carousel, .fullscreen-banner .owl-stage-outer, .fullscreen-banner .owl-stage, .fullscreen-banner .owl-item, .fullscreen-banner .item { height: 100%; }


/* ------------------------
    Countdown
------------------------*/
.countdown{text-align: center; width: 100%}
.countdown > li{margin-bottom: 50px; font-weight: bold; display: block; text-align: center; list-style-type: none;}
.countdown > li:last-child{margin-bottom: 0;}
.countdown > li span{font-size:70px; font-weight:500; line-height:60px; margin-bottom: 20px; display: inline-block;}
.countdown > li p{font-size:20px; text-transform: uppercase; line-height:30px; margin-bottom: 0; color: #f9a305;}
.dark-bg .countdown > li{border-color:rgba(255,255,255,0.2) }

/* ------------------------
    Terms and Conditions
------------------------*/
.terms-and-conditions .title{margin-bottom:10px;} 
.terms-and-conditions p{margin-bottom:25px;}
.terms-and-conditions ul.list{margin-bottom:20px; display:block;}
.terms-and-conditions ul.list li i{padding-right:12px; font-size:15px;}

/* ------------------------
    Privacy Policy
------------------------*/
.privacy-policy .title{margin-bottom:10px;} 
.privacy-policy p{margin-bottom:25px;}
.privacy-policy ul.list{margin-bottom:20px; display:block;}
.privacy-policy ul.list li i{padding-right:12px; font-size:15px;}

/* ------------------------
    Contact
------------------------*/
.contact-main {/*background: #fff; padding: 30px;*/ border-bottom: 2px solid #f9a305;}
.contact-info li {padding-right: 50px; position: relative;}
.contact-info li i{position: absolute; right: 0; top: 0; line-height: 24px; font-size: 30px; color: #f9a305; text-align: center;}
.contact-info li span{font-size: 16px; color: #23244a; font-weight: bold; text-transform: uppercase; display: block; margin-bottom: 8px;text-align: right;}
.contact-info li p{margin-bottom: 0; line-height: 24px;}
.contact-info li a{color: #555;}
.dark-bg .contact-info li a{color: #ffffff;}
.contact-info li a:hover{color: #f9a305;}
.theme-bg .contact-info span, .dark-bg .contact-info span{color: #ffffff}
.theme-bg .contact-info li i{color: #ffffff;}
.theme-bg .contact-info li a{color: #ffffff;text-align: end;}
.theme-bg .contact-info li a:hover{color: #23244a;}
.contact-box {position: absolute; top: 50%; z-index: 99; transform: translateY(-50%); width: 100%;}

.form-group{margin-bottom: 20px; position: relative;}
 label{font-size: 14px; color: #333}
.form-control{text-align: right; height: 50px; border-radius: 0; font-size: 13px; background: none; border: none; border-bottom: 2px solid #f5f5f5; box-shadow: none;}
.grey-bg .form-control{background: #ffffff}
textarea.form-control{height: 150px;}
.form-control:focus{box-shadow: none; border-color: #f9a305;}
select.form-control {/*-moz-appearance: none; -webkit-appearance: none; appearance: none;*/ height: 50px !important;}
iframe{width: 100%; border: none; pointer-events: auto;}
.iframe-h{height: 500px !important;}
.iframe-h-2{height: 900px !important;}
.help-block.with-errors {position: absolute; color: red; right: 0; font-size: 10px; line-height: 14px;}
.form-control::-moz-placeholder{color: #555}
.map iframe {border: 0px; width: 100%; height: 100%; z-index: 1; -webkit-filter: grayscale(100%); -moz-filter: grayscale(100%); -ms-filter: grayscale(100%); -o-filter: grayscale(100%); filter: grayscale(100%);}


.contact-btn {cursor: pointer; display: inline-block; position: fixed; left: -39px; top: 40%; z-index: 99; 
transform: translateY(-50%) rotate(90deg); -webkit-transform: translateY(-50%) rotate(90deg); -o-transform: translateY(-50%) rotate(90deg); -ms-transform: translateY(-50%) rotate(90deg); -moz-transform: translateY(-50%) rotate(90deg);}
.contact-bg { background: #ffffff; color: #f9a305; text-transform: uppercase; position: relative; display: block; padding: 10px; font-weight: 500; z-index: 10; -webkit-box-shadow: 0 0 13px 3px rgba(0,0,0,0.1); -moz-box-shadow: 0 0 13px 3px rgba(0,0,0,0.1); box-shadow: 0 0 13px 3px rgba(0,0,0,0.1);}
.contact-btn:hover .contact-bg{background: #f9a305; color: #ffffff}
.contact-form {background: #ffffff; height: 100%; border: 1px solid rgba(0, 0, 0, 0.2); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); padding: 80px 30px 30px; width: 450px; position: fixed; left:-600px; top: 0; z-index: 2000;}
.close-btn {background: #f9a305; color: #fff !important; cursor: pointer; font-weight: bold; padding: 7px 15px; position: absolute; left: 20px; top: 10px;}
.header-3 .contact-btn{position: inherit; transform: inherit; top: inherit; left: inherit;}
.header-3 .contact-bg {background: #f9a305; box-shadow: none; color: #fff; padding: 25px 40px;}

/* ------------------------
    About Us
------------------------*/
.about-img{position: relative;}
.about-img::before {border:5px solid rgba(255, 255, 255, 0.2); bottom: 14px; content: ""; left: 14px; position: absolute; right: 14px; top: 14px;}


/* ------------------------
    Video
------------------------*/
.video-btn {display: inline-block;}
.video-btn-pos {left: 50%; position: absolute; top: 50%; margin-top: -22.5px; margin-left: -50px;}
.video-btn .btn-play {background: #f9a305; color: #fff; height: 45px; width: 100px; line-height: 45px; -webkit-border-radius: 50px;
 border-radius: 5px; text-align: center; font-size: 26px; cursor: pointer; display: inline-block;}
.video-btn .btn-play i{line-height: inherit;} 
.theme-bg .video-btn .btn-play, .dark-bg .video-btn .btn-play{background: #ffffff; border-color: #ffffff; color: #f9a305;}
.html5-video {height: 100%; left: 0; opacity: 1; overflow: hidden; position: absolute; top: 0; width: 100%; z-index: -2;}
.html5-video video {width: 100%;}


/* ------------------------
    Side Background
------------------------*/
.img-side img{max-width: 100%}
.img-side.img-right {left: 0;}
.img-side.img-left {right: 0;}
.img-side {padding: 0; position: absolute!important; top: 0px; height: 100%; overflow: hidden; z-index: 9;}
.img-side .owl-carousel, .img-side .owl-stage-outer, .img-side .owl-stage, .img-side .owl-stage, .img-side .owl-item, .img-side .owl-item .item{height: 100%}

/* Project card badge (listings / home masonry) */
.project-thumb-link--badged,
.portfolio-item--badged {
  position: relative;
}
.project-thumb-link--badged > img {
  position: relative;
  z-index: 0;
  vertical-align: top;
}
.project-card-badges-stack {
  position: absolute;
  inset-inline-start: 12px;
  top: 12px;
  z-index: 110;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  max-width: min(94%, 300px);
  pointer-events: none;
}
.project-card-badges-stack .project-card-badge,
.project-card-badges-stack .project-card-badge--secondary {
  position: relative;
  inset: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  max-width: 100%;
  pointer-events: none;
}
.project-card-badge__label {
  min-width: 0;
  word-wrap: break-word;
  line-height: 1.35;
}
.project-card-badge__icon {
  flex-shrink: 0;
  font-size: 1.05em;
  line-height: 1;
  opacity: 0.95;
}
/* سطر ثانوي — «مجلة» / معلومة إضافية: كبسولة فاتحة ومميزة */
.project-card-badge--secondary {
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  color: #0c1222;
  background: linear-gradient(145deg, #ffffff 0%, #f1f5f9 100%);
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.project-card-badge--secondary .project-card-badge__icon {
  color: #c2410c;
  font-size: 1.15em;
  opacity: 1;
}
.project-card-badge--status {
  padding: 6px 11px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 9px;
  color: #0f172a;
  background: linear-gradient(145deg, #eef2ff 0%, #e2e8f0 100%);
  border: 1px solid rgba(15, 23, 42, 0.16);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.14);
}
.project-card-badge--status .project-card-badge__icon {
  color: #1d4ed8;
  opacity: 1;
}
.project-card-badge--status .project-card-badge__meta-label {
  font-weight: 800;
  margin-inline-end: 0.25rem;
}
.project-card-badge--status .project-card-badge__meta-value {
  font-weight: 700;
}
.project-card-badge--status.project-card-badge--status-current {
  color: #fff;
  background: linear-gradient(135deg, #f9a305 0%, #d97706 55%, #b45309 100%);
  border-color: rgba(180, 83, 9, 0.25);
  box-shadow: 0 4px 18px rgba(217, 119, 6, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.project-card-badge--status.project-card-badge--status-under-construction {
  color: #ecfdf5;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 52%, #15803d 100%);
  border-color: rgba(20, 83, 45, 0.28);
  box-shadow: 0 4px 16px rgba(22, 163, 74, 0.35);
}
.project-card-badge--status.project-card-badge--status-sold,
.project-card-badge--status.project-card-badge--status-red {
  color: #fff;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 45%, #b91c1c 100%);
  border-color: rgba(127, 29, 29, 0.35);
  box-shadow: 0 4px 20px rgba(185, 28, 28, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.project-card-badge--status.project-card-badge--status-construction {
  color: #7c2d12;
  background: linear-gradient(135deg, #fef3c7 0%, #fcd34d 45%, #f59e0b 100%);
  border-color: rgba(180, 83, 9, 0.2);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
}
.project-card-badge--status.project-card-badge--status-available {
  color: #f0fdfa;
  background: linear-gradient(135deg, #14b8a6 0%, #0d9488 50%, #0f766e 100%);
  border-color: rgba(15, 118, 110, 0.4);
  box-shadow: 0 4px 18px rgba(13, 148, 136, 0.4);
}
.project-card-badge--status.project-card-badge--status-current .project-card-badge__icon,
.project-card-badge--status.project-card-badge--status-under-construction .project-card-badge__icon,
.project-card-badge--status.project-card-badge--status-sold .project-card-badge__icon,
.project-card-badge--status.project-card-badge--status-red .project-card-badge__icon,
.project-card-badge--status.project-card-badge--status-available .project-card-badge__icon {
  color: #fff;
}
/* البادج الأساسي — افتراضي (العلامة) */
.project-card-badge--primary:not(.project-card-badge--construction):not(.project-card-badge--under-construction):not(.project-card-badge--available):not(.project-card-badge--sold):not(.project-card-badge--red):not(.project-card-badge--current) {
  padding: 7px 13px 7px 11px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: none;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #f9a305 0%, #d97706 55%, #b45309 100%);
  box-shadow: 0 4px 18px rgba(217, 119, 6, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.project-card-badge--primary:not(.project-card-badge--construction):not(.project-card-badge--under-construction):not(.project-card-badge--available):not(.project-card-badge--sold):not(.project-card-badge--red):not(.project-card-badge--current) .project-card-badge__icon {
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.2));
}
.project-card-badge--under-construction {
  padding: 7px 13px 7px 11px;
  font-size: 12px;
  font-weight: 800;
  border-radius: 10px;
  color: #ffffff;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 52%, #15803d 100%);
  box-shadow: 0 4px 16px rgba(22, 163, 74, 0.35);
  border: 1px solid rgba(20, 83, 45, 0.28);
}
.project-card-badge--under-construction .project-card-badge__icon {
  color: #ecfdf5;
  opacity: 1;
}
.project-card-badge--current {
  padding: 7px 13px 7px 11px;
  font-size: 12px;
  font-weight: 800;
  border-radius: 10px;
  color: #ffffff;
  background: linear-gradient(135deg, #f9a305 0%, #d97706 55%, #b45309 100%);
  box-shadow: 0 4px 18px rgba(217, 119, 6, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(180, 83, 9, 0.25);
}
.project-card-badge--current .project-card-badge__icon {
  color: #fff7ed;
  opacity: 1;
}
.project-card-badge--construction {
  padding: 7px 13px 7px 11px;
  font-size: 12px;
  font-weight: 800;
  border-radius: 10px;
  color: #451a03;
  background: linear-gradient(135deg, #fef3c7 0%, #fcd34d 45%, #f59e0b 100%);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
  border: 1px solid rgba(180, 83, 9, 0.2);
}
.project-card-badge--construction .project-card-badge__icon {
  color: #92400e;
}
.project-card-badge--available {
  padding: 7px 13px 7px 11px;
  font-size: 12px;
  font-weight: 800;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #14b8a6 0%, #0d9488 50%, #0f766e 100%);
  box-shadow: 0 4px 18px rgba(13, 148, 136, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.project-card-badge--available .project-card-badge__icon {
  opacity: 1;
}
/* أحمر + نص أبيض — خيار «Red» أو «Sold» */
.project-card-badge--sold,
.project-card-badge--red {
  padding: 7px 13px 7px 11px;
  font-size: 12px;
  font-weight: 800;
  border-radius: 10px;
  color: #ffffff;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 45%, #b91c1c 100%);
  box-shadow: 0 4px 20px rgba(185, 28, 28, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(127, 29, 29, 0.35);
}
.project-card-badge--sold .project-card-badge__icon,
.project-card-badge--red .project-card-badge__icon {
  color: #fff;
  opacity: 1;
}
.project-detail-hero .project-detail-hero__inner {
  position: relative;
  z-index: 2;
}
.project-detail-hero .project-card-badges-stack--hero {
  position: relative;
  inset-inline-start: auto;
  top: auto;
  max-width: min(100%, 480px);
  margin-top: 1rem;
  pointer-events: auto;
}
.project-detail-hero .project-card-badge--hero {
  position: relative;
  inset-inline-start: auto;
  top: auto;
  display: inline-flex;
  max-width: min(100%, 420px);
  font-size: 0.95rem;
  padding: 10px 18px 10px 16px;
  pointer-events: auto;
}
.project-detail-hero .project-card-badge--hero .project-card-badge__icon {
  font-size: 1.1em;
}
.project-detail-hero .project-card-badge--hero-secondary {
  font-size: 0.88rem;
  padding: 8px 16px 8px 14px;
}
.project-detail-hero .project-card-badge--hero-secondary .project-card-badge__icon {
  font-size: 1.12em;
}