/*!
Theme Name: maram.iq
Theme URI: http://maram.iq
Author: maram.iq
Author URI: maram.iq
Description: maram.iq
Version: 0.1
Tags: powerful, cheat, sheet
Text Domain: maram
*/


/* ===== أقسام المعرض في الرئيسية (خطوط الإنتاج والمعامل / الطاقة المتجددة والكهرباء) ===== */
.gallery-section .gs-desc{font-size:17px;line-height:1.9}
.gallery-section .gs-highlight .inner-box{border-radius:8px;padding:28px 18px;text-align:center;margin-bottom:30px;transition:all .3s ease}
.gallery-section--dark .gs-highlight .inner-box{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.14)}
.gallery-section--light .gs-highlight .inner-box{background:#fff;border:1px solid rgba(0,0,0,.08);box-shadow:0 6px 24px rgba(0,0,0,.05)}
.gallery-section .gs-highlight .inner-box:hover{background:var(--primary-color);border-color:var(--primary-color);transform:translateY(-4px)}
.gallery-section .gs-highlight .highlight-icon span{font-size:44px;line-height:1;color:var(--primary-color);display:inline-block;margin-bottom:14px;transition:color .3s ease}
.gallery-section .gs-highlight .title{margin:0;font-size:17px;font-weight:600}
.gallery-section--dark .gs-highlight .title{color:#fff}
.gallery-section--light .gs-highlight .title{color:var(--heading-font-color)}
.gallery-section .gs-highlight .inner-box:hover .highlight-icon span,.gallery-section .gs-highlight .inner-box:hover .title{color:#fff}
.gallery-section .project-item-style1 .project-item-thumb a.gs-popup{display:block;cursor:zoom-in}
.gallery-section .project-item-style1 .project-item-thumb img{height:420px;width:100%;object-fit:cover;display:block}
.gallery-section .project-item-style1 .project-item-thumb .project-item-details{opacity:1}
.gallery-section .project-item-style1 .project-item-thumb .project-item-title{margin:0;font-size:20px}
.gallery-section .project-item-style1 .project-item-thumb .project-item-title a{color:#fff}
.gallery-section .project-item-style1 .project-item-thumb .project-item-title a:hover{color:var(--primary-color)}
.gallery-section--light{background-color:#f6f4f2}
@media (max-width:991px){.gallery-section .project-item-style1 .project-item-thumb img{height:340px}}
@media (max-width:575px){.gallery-section .project-item-style1 .project-item-thumb img{height:300px}}

/* ===== صفحة قطاع أعمال (template-line.php) ===== */
.line-intro .line-intro-content p{font-size:17px;line-height:1.95;margin-bottom:18px}
.line-intro .line-intro-content h2,.line-intro .line-intro-content h3,.line-intro .line-intro-content h4{margin:0 0 18px}
.line-intro .line-intro-content ul{list-style:none;padding:0;margin:0 0 20px}
.line-intro .line-intro-content ul li{position:relative;padding-inline-start:30px;margin-bottom:12px;font-size:16px;line-height:1.8}
.line-intro .line-intro-content ul li:before{content:"";position:absolute;inset-inline-start:0;top:11px;width:12px;height:12px;border-radius:50%;background:var(--primary-color)}
.line-intro .line-intro-image{border-radius:10px;overflow:hidden;box-shadow:0 20px 50px rgba(0,0,0,.12)}
.line-intro .line-intro-image img{width:100%;height:460px;object-fit:cover;display:block}
@media (max-width:991px){.line-intro .line-intro-image{margin-top:40px}.line-intro .line-intro-image img{height:320px}}

/* ===== mobile-overflow-fix: منع التمرير الأفقي على الهاتف (صورة قسم «نبذة عنا» كانت أعرض من الشاشة) ===== */
@media (max-width:767px){
  .about-image-box-style2 .about-image2,.about-image-box-style1 .about-image2{max-width:100%;width:100%;height:auto;margin-left:0;margin-right:0}
  .about-image-box-style2 .about-image1,.about-image-box-style1 .about-image1{display:none}
  .about-image-box-style2 .call-us-now{max-width:calc(100% - 60px)}
}
@media (max-width:991px){
  html,body{overflow-x:hidden;overflow-x:clip}
}

/* =====================================================================
   mobile-pro: تجربة هاتف احترافية (2026-11-03)
   كل القواعد هنا تُحمَّل بعد bundle.css فتغلب قواعد القالب بنفس الخصوصية.
   ===================================================================== */

/* --- عام --- */
body.locked{overflow:hidden}
.kf-owl-dots{display:flex;justify-content:center;align-items:center;gap:0;margin:0;padding:0;list-style:none}
.kf-owl-dots button{width:8px;height:8px;border-radius:7px;border:0;padding:6px;margin:0;box-sizing:content-box;background:rgba(255,255,255,.45);background-clip:content-box;transition:all .3s ease;cursor:pointer}
.kf-owl-dots button.active{width:26px;border-radius:4px;background:var(--primary-color)}
.home_banner_02 .kf-owl-dots{position:absolute;left:0;right:0;bottom:22px;z-index:12}
.projects_4col + .kf-owl-dots{margin-top:18px}
.gallery-section--light .kf-owl-dots button{background:rgba(0,0,0,.18)}
.gallery-section--light .kf-owl-dots button.active{background:var(--primary-color)}
@media (min-width:992px){.projects_4col + .kf-owl-dots,.home_banner_02 .kf-owl-dots{display:none}}

/* --- تدرّج قراءة دائم أسفل صور المعارض + تمرير النقر للصورة --- */
.gallery-section .project-item-style1 .project-item-thumb:after{opacity:1;pointer-events:none;background:linear-gradient(to top,rgba(0,0,0,.82) 0%,rgba(0,0,0,.35) 38%,rgba(0,0,0,0) 68%)}
.gallery-section .project-item-style1:hover .project-item-thumb:after{background:linear-gradient(to top,rgba(0,0,0,.85) 0%,rgba(0,0,0,.45) 45%,rgba(0,0,0,.15) 100%)}
.project-item-style1 .project-item-thumb:after{pointer-events:none}

/* --- أجهزة اللمس: لا hover، فتظهر العناوين والتدرّج دائماً --- */
@media (hover:none){
  .project-item-style1 .project-item-thumb .project-item-details{opacity:1}
  .project-item-style1 .project-item-thumb:after{opacity:1;background:linear-gradient(to top,rgba(0,0,0,.82) 0%,rgba(0,0,0,.35) 38%,rgba(0,0,0,0) 68%)}
  .project-item-style1 .project-item-thumb .project-item-link-icon a{visibility:visible;opacity:1;right:16px}
}

/* --- الترويسة على الهاتف والجهاز اللوحي (القائمة مطوية دون 1200px) --- */
@media (max-width:1199px){
  html{scroll-padding-top:84px}
  header.header-style-02{position:sticky;top:0;z-index:980;background:#fff;box-shadow:0 2px 14px rgba(0,0,0,.08)}
  .header-style-02 .main-menu .main-menu-inner .main-menu-logo{padding:10px 0}
  .header-style-02 .main-menu .main-menu-inner .main-menu-logo img{width:auto;height:58px}
  .header-style-02 .main-menu .main-menu-inner .main-menu-right .mobile-nav-toggler{padding:12px;margin:-12px;display:block}
  .header-style-02 .main-menu .main-menu-inner .main-menu-right .search-toggler{padding:12px 14px;margin:0 8px}
  [dir=rtl] .header-style-02 .main-menu .main-menu-inner .main-menu-right .search-toggler{border-left:0}
}

/* --- مبدّل اللغة على الهاتف (شريط اللغة العلوي مخفي دون 1200px) --- */
.mobile-lang{display:none}
@media (max-width:1199px){
  .mobile-lang{display:inline-flex;align-items:center;margin:0 10px}
  .mobile-lang a{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 12px;border:1px solid var(--primary-color);border-radius:18px;color:var(--heading-font-color);font-size:13px;font-weight:600;line-height:1;white-space:nowrap;transition:all .3s ease}
  .mobile-lang a i{font-size:15px;line-height:1;color:var(--primary-color);transition:color .3s ease}
  .mobile-lang a:hover{background:var(--primary-color);color:#fff}
  .mobile-lang a:hover i{color:#fff}
}
@media (max-width:359px){.mobile-lang a span{display:none}.mobile-lang a{padding:0 10px}}
.mobile-lang-switch{display:flex;align-items:center;gap:12px;margin:0 0 22px;padding:14px 0;border-top:1px solid rgba(255,255,255,.1);border-bottom:1px solid rgba(255,255,255,.1)}
.mobile-lang-switch>i{color:var(--primary-color);font-size:18px;line-height:1}
.mobile-lang-options{display:flex;gap:8px;flex-wrap:wrap}
.mobile-lang-options a{display:inline-block;padding:6px 16px;border-radius:16px;border:1px solid rgba(255,255,255,.25);color:#fff;font-size:14px;line-height:1.5}
.mobile-lang-options a.is-current{background:var(--primary-color);border-color:var(--primary-color)}

/* --- لوحة القائمة الجانبية --- */
.mobile-nav-content{padding:22px 20px 40px;max-width:320px}
.mobile-nav-content .logo-box img{width:96px;height:auto}
.mobile-nav-content .logo-box img.mrb-25{margin-bottom:0}
.mobile-nav-close{width:28px;height:28px;top:22px}
.mobile-menu-list{margin-top:22px}
.mobile-menu-list>li>a{line-height:50px;font-size:17px}
.mobile-menu-list>li>ul>li>a{line-height:44px}
.mobile-menu-list .menu-item-has-children button{width:36px;height:36px;margin-top:7px;border-radius:6px}
.mobile-sidebar-contact{margin-top:28px;margin-bottom:22px}
.mobile-sidebar-contact li{display:flex;align-items:flex-start;gap:10px;padding:6px 0;line-height:1.7}
.mobile-sidebar-contact li>span{margin:5px 0 0 0!important;flex:0 0 auto}
[dir=rtl] .mobile-nav-wrapper{left:auto;right:0;transform:translateX(100%);transform-origin:right center}
[dir=rtl] .mobile-nav-wrapper.expanded{transform:translateX(0)}
[dir=rtl] .mobile-nav-content{left:auto;right:0;transform:translateX(100%)}
[dir=rtl] .mobile-nav-wrapper.expanded .mobile-nav-content{transform:translateX(0)}
[dir=rtl] .mobile-nav-close{right:auto;left:15px}

/* --- الهاتف (≤767px) --- */
@media (max-width:767px){
  /* إيقاع المسافات */
  section.pdt-105,section.pdt-110,section.pdt-120{padding-top:60px}
  section.pdb-110,section.pdb-120,section.pdb-105,section.pdb-90,section.pdb-85,section.pdb-80{padding-bottom:60px}
  .section-title{margin-bottom:28px}
  .section-title .mrb-md-40,.section-title .mrb-md-30,.section-title .mrb-sm-30{margin-bottom:14px}
  .section-title p:empty,.section-title h2:empty{display:none}
  .main-title{font-size:27px;line-height:1.3}
  h3{font-size:24px}
  .row.mrt-110{margin-top:40px}
  .animate-btn-style2,.animate-btn-style3{padding:12px 26px;font-size:13px}
  .custom-md-container{padding-left:20px;padding-right:20px}

  /* الهيرو */
  .home_banner_02{max-height:none}
  .home_banner_02 .home-carousel .slide-item{padding:0;min-height:560px;display:flex;align-items:center}
  .home_banner_02 .home-carousel .slide-item .auto-container{width:100%;padding:70px 15px 80px}
  .home_banner_02 .home-carousel .slide-item .auto-container .content-box{padding:0 10px;text-align:center}
  .home_banner_02 .home-carousel .slide-item .auto-container .content-box .home-carousel-title{font-size:34px;line-height:1.25;margin-bottom:14px;max-width:100%;hyphens:manual}
  [dir=rtl] .home_banner_02 .home-carousel .slide-item .auto-container .content-box .home-carousel-title{font-size:38px;line-height:1.3}
  .home_banner_02 .home-carousel .slide-item .auto-container .content-box .home-carousel-title span.text-obj1:after{width:200px;height:84px;top:20px;right:-30px}
  .home_banner_02 .home-carousel .slide-item .auto-container .content-box .home-carousel-text{font-size:17px;line-height:1.65;margin-bottom:26px;max-width:100%}
  .home_banner_02 .home-carousel .slide-item .auto-container .content-box .home-carousel-text h3{font-size:19px;line-height:1.5;margin:0;font-weight:600;color:#fff}
  .home_banner_02 .home-carousel .slide-item .auto-container .content-box .home-carousel-text p{margin:0}
  .home_banner_02 .home-carousel .slide-item .auto-container .content-box .btn-box:empty{display:none}
  .home_banner_02 .home-carousel .slide-item .auto-container .content-box .btn-box .animate-btn-style3{padding:12px 28px;font-size:13px}
  .home_banner_02 .home-carousel .owl-nav{display:none}

  /* بطاقات الخدمات */
  .service-style2{margin-bottom:18px}
  .service-style2 .service-item-thumb img{height:250px;width:100%;object-fit:cover}
  .service-style2 .service-item-thumb .service-item-content{padding:18px 20px;width:92%;bottom:14px}
  .service-style2 .service-item-thumb .service-item-content .service-title{font-size:19px;margin:0}
  .service-style2 .service-item-thumb .service-item-content .service-categories{font-size:14px;margin-bottom:6px}
  .service-style2 .service-item-thumb .service-item-icon{padding:12px 14px}
  .service-style2 .service-item-thumb .service-item-icon i:before{font-size:28px;line-height:32px}

  /* أقسام المعرض الأربعة */
  .gallery-section .section-content.mrb-30{margin-bottom:10px}
  .gallery-section .section-content .col-xl-3.col-lg-3.col-md-6{width:50%;padding-left:6px;padding-right:6px}
  .gallery-section .gs-highlight .inner-box{padding:18px 10px 16px;margin-bottom:12px;border-radius:10px}
  .gallery-section .gs-highlight .highlight-icon span{font-size:30px;margin-bottom:8px}
  .gallery-section .gs-highlight .title{font-size:14px;line-height:1.45}
  .gallery-section .gs-desc{font-size:16px;line-height:1.8}
  .gallery-section .project-item-style1 .project-item-thumb img{height:240px}
  .gallery-section .row.mrt-50{margin-top:26px}

  /* بطاقات المعارض والمشاريع: صورة ثابتة الارتفاع وعنوان مضغوط */
  .project-item-style1 .project-item-thumb img{height:300px;object-fit:cover}
  .project-item-style1 .project-item-thumb .project-item-details{padding:12px 14px;left:12px;bottom:12px;width:calc(100% - 24px)}
  .project-item-style1 .project-item-thumb .project-item-details .project-item-category{font-size:14px;line-height:20px;margin-bottom:4px;padding-left:36px}
  [dir=rtl] .project-item-style1 .project-item-thumb .project-item-details .project-item-category{padding-left:0;padding-right:36px}
  .project-item-style1 .project-item-thumb .project-item-details .project-item-category:after{top:10px;width:26px}
  .project-item-style1 .project-item-thumb .project-item-details .project-item-title,.gallery-section .project-item-style1 .project-item-thumb .project-item-title{font-size:17px;line-height:1.4}

  /* نبذة عنا في الرئيسية */
  .home-about .about-image-box-style2{margin-top:8px}
  .about-image-box-style2 .call-us-now{width:150px;padding:16px 18px;bottom:20px;left:20px}
  [dir=rtl] .about-image-box-style2 .call-us-now{left:auto;right:20px}
  .about-image-box-style2 .call-us-now .number{font-size:42px;margin-bottom:4px}
  .home-about .animate-btn-style2.mrb-sm-60{margin-bottom:28px}
  .dot-circle:after{display:none}

  /* الأخبار */
  .news-wrapper.mrb-30{margin-bottom:20px}
  .news-wrapper .news-thumb img{height:220px;object-fit:cover}
  .news-wrapper .news-thumb .news-top-meta{bottom:14px;right:14px;padding:4px 12px;font-size:13px}
  .news-wrapper .news-description{padding:20px 18px 18px}
  .news-wrapper .news-description .the-title{font-size:19px;line-height:1.4;margin-bottom:10px}
  .news-wrapper .news-description .the-content{font-size:15px;line-height:1.7;margin-bottom:12px}

  /* التذييل */
  .footer .row.pdb-65{padding-bottom:16px}
  .footer-widget{margin-bottom:26px;display:block}
  .footer .widget-title.mrb-30{margin-bottom:14px}
  .footer-widget-list li{margin-bottom:6px}
  .footer-widget-list li a{display:inline-block;padding:2px 0}
  .footer-logo img{width:104px}
  .footer-logo img.mrb-25{margin-bottom:14px}
  .footer .footer-widget p.mrb-25{margin-bottom:16px;font-size:15px;line-height:1.75}
  .footer address p{margin-bottom:8px}
  .footer-copyright-area{padding-top:18px;padding-bottom:18px;font-size:14px}

  /* شريط عنوان الصفحات الداخلية */
  .page-title-section{min-height:250px;padding:60px 0 44px;align-items:center}
  .page-title-section .breadcrumb-area .page-title{font-size:30px;line-height:1.25;letter-spacing:1px;margin-bottom:12px}
  .page-title-section .breadcrumb-area .breadcrumbs-link{padding:6px 16px;max-width:100%}
  .page-title-section .breadcrumb-area .breadcrumbs-link li{font-size:14px;line-height:1.6}
  .page-title-section .breadcrumb-area .breadcrumbs-link li:after{margin-left:8px;margin-right:8px;font-size:12px}

  /* صفحة من نحن */
  .about-image-box-style1.mrr-60,[dir=rtl] .about-image-box-style1.mrr-60{margin-left:0;margin-right:0}
  .about-image-box-style1{margin-bottom:26px}
  .about-image-box-style1.about-side-line:after{display:none}
  .about-image-box-style1 .about-image2,[dir=rtl] .about-image-box-style1 .about-image2{width:100%;margin:0}
  .about-image-box-style1 .about-image2 img{width:100%;height:auto;border-radius:8px}
  .about-text-block{font-size:16px;line-height:1.85;padding:16px 18px}
  h2.mrb-45{margin-bottom:22px}
  .featured-icon-box.mrb-15{margin-bottom:6px}
  .featured-icon-box .featured-icon i:before{font-size:36px;margin-right:16px}
  [dir=rtl] .featured-icon-box .featured-icon i:before{margin-right:0;margin-left:16px}
  .featured-icon-box .featured-content .featured-title{font-size:17px;margin-bottom:2px}
  .experience{padding:22px;margin-top:14px}
  .experience .experience-year{font-size:56px;line-height:60px}
  .col-xl-2.col-lg-4.col-md-6{width:50%;padding-left:6px;padding-right:6px}
  .feature-box-style2{padding:16px 10px 18px;margin-bottom:12px}
  .feature-box-style2 .inner-box .feature-box-icon{font-size:40px;padding:8px}
  .feature-box-style2 .inner-box .title{font-size:14px;margin-top:4px}
  .video-block.mrb-lg-60{margin-bottom:24px}
  .video-block .video-link a i{height:60px;width:60px;line-height:60px}

  /* صفحات القطاعات والمقالات */
  .line-intro.pdt-110{padding-top:48px}
  .line-intro.pdb-90{padding-bottom:40px}
  .line-intro .line-intro-image{margin-top:22px}
  .line-intro .line-intro-image img{height:230px}
  .line-intro .line-intro-content p{font-size:16px;line-height:1.85}
  .line-intro .animate-btn-style2.mrt-30{margin-top:16px}
  .project-details-page.pdt-110{padding-top:44px}
  .project-details-page .post-content p{font-size:16px;line-height:1.85}
}

/* ===== seo-content: H1 شريط العنوان، الأسئلة الشائعة، القطاعات ذات الصلة ===== */
.page-title-section .breadcrumb-area h1.page-title{font-size:2rem;line-height:1.2;font-weight:var(--h1-h2-font-weight)}
.faq-section{background:#fff}
.faq-list .faq-item{border:1px solid rgba(0,0,0,.08);border-radius:10px;margin-bottom:12px;background:#fff;box-shadow:0 6px 24px rgba(0,0,0,.04)}
.faq-list .faq-item summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;font-size:17px;font-weight:600;color:var(--heading-font-color)}
.faq-list .faq-item summary::-webkit-details-marker{display:none}
.faq-list .faq-item summary i{color:var(--primary-color);font-size:14px;transition:transform .3s ease;flex:0 0 auto}
.faq-list .faq-item[open] summary i{transform:rotate(180deg)}
.faq-list .faq-item[open] summary{border-bottom:1px solid rgba(0,0,0,.06)}
.faq-list .faq-answer{padding:14px 22px 20px}
.faq-list .faq-answer p{margin:0;font-size:16px;line-height:1.85}
.related-sectors .related-card{display:block;position:relative;border-radius:10px;overflow:hidden;background:#252531;margin-bottom:24px;box-shadow:0 10px 30px rgba(0,0,0,.08)}
.related-sectors .related-card img{width:100%;height:220px;object-fit:cover;display:block;opacity:.85;transition:transform .5s ease,opacity .3s ease}
.related-sectors .related-card:hover img{transform:scale(1.06);opacity:1}
.related-sectors .related-title{position:absolute;left:0;right:0;bottom:0;padding:16px 18px;color:#fff;font-weight:600;font-size:17px;background:linear-gradient(to top,rgba(0,0,0,.85),rgba(0,0,0,0))}
@media (max-width:767px){
  .faq-section.pdt-90{padding-top:50px}.faq-section.pdb-70{padding-bottom:30px}
  .related-sectors.pdt-70{padding-top:40px}.related-sectors.pdb-90{padding-bottom:40px}
  .faq-list .faq-item summary{padding:14px 16px;font-size:15px}
  .faq-list .faq-answer{padding:12px 16px 16px}
  .faq-list .faq-answer p{font-size:15px;line-height:1.75}
  .related-sectors .related-card img{height:170px}
}
