@media (max-width:1100px){.grid-4{grid-template-columns:repeat(3,1fr)}.hero-grid{grid-template-columns:1fr}.hero-media{max-width:760px;margin:0 auto}.floating-card{right:16px}.nav-links{gap:2px}.nav-links a{font-size:13px;padding:10px}}
@media (max-width:900px){:root{--headerH:76px}.container{width:min(100% - 28px,1180px)}.navbar{width:calc(100% - 24px)}.menu-toggle{display:grid}.nav-links{position:fixed;top:var(--headerH);right:12px;left:12px;display:grid;gap:8px;background:rgba(8,8,8,.96);border:1px solid var(--border);border-radius:24px;padding:16px;transform:translateY(-16px);opacity:0;pointer-events:none;box-shadow:var(--shadow);backdrop-filter:blur(20px)}body.light-mode .nav-links{background:rgba(255,250,240,.96)}.nav-links.open{opacity:1;pointer-events:auto;transform:translateY(0)}.nav-links a{text-align:center;padding:13px}.theme-toggle{margin-inline-start:auto}.brand{min-width:auto}.main-logo{height:48px;max-width:95px}.second-logo{height:36px;max-width:75px}.hero{padding:54px 0 36px;min-height:auto}.hero-grid{gap:28px}.kafaat-badge{width:100%;justify-content:center}.hero-actions{display:grid;grid-template-columns:1fr 1fr}.hero-actions .btn{padding:13px 10px}.grid-3,.grid-4{grid-template-columns:repeat(2,1fr)}.stats-wrap{grid-template-columns:repeat(2,1fr)}.footer-grid,.client-detail{grid-template-columns:1fr}.popup-box{grid-template-columns:1fr}.popup-media{min-height:210px}.popup-content{padding:26px}.section{padding:68px 0}.form-grid{grid-template-columns:1fr}.section-head{display:block}.page-hero{padding:54px 0 30px}}
@media (max-width:620px){body{font-size:15px}.container{width:calc(100% - 22px)}.top-ad{font-size:13px;min-height:42px}.top-ad img{height:32px;max-width:140px}.hero-title{font-size:38px}.hero-subtitle,.lead{font-size:16px}.hero-actions{grid-template-columns:1fr}.btn{width:100%;padding:13px 16px}.video-frame{border-radius:24px;padding:8px}.video-frame video,.video-placeholder{border-radius:18px;min-height:260px;aspect-ratio:4/3}.floating-card{position:static;margin-top:14px}.grid-2,.grid-3,.grid-4,.stats-wrap{grid-template-columns:1fr}.work-media,.client-photo{height:220px}.section-title{font-size:31px}.map-box iframe{height:320px}.whatsapp-float{right:14px;bottom:16px}.admin-float{left:14px;bottom:16px}.back-top{left:14px;bottom:80px}.whatsapp-float,.admin-float,.back-top{width:49px;height:49px;border-radius:16px}.footer{padding-top:48px}.footer-logos img{height:50px}.brand{gap:7px}.main-logo{height:44px;max-width:84px}.second-logo{height:31px;max-width:62px}.popup-close{top:12px;left:12px}.client-detail .section-title{font-size:28px}}

/* Hero moving banners responsive */
@media (max-width:1100px){.hero-showcase-grid{grid-template-columns:1fr}.main-screen{justify-self:center;width:min(760px,100%)}.hero-cta-panel{justify-self:center;width:min(620px,100%);margin-bottom:0}.hero-shade{background:linear-gradient(180deg,rgba(7,7,7,.18),rgba(7,7,7,.62),var(--bg))}body.light-mode .hero-shade{background:linear-gradient(180deg,rgba(250,247,239,.10),rgba(250,247,239,.58),var(--bg))}}
@media (max-width:900px){.hero-showcase{padding:42px 0 36px;min-height:auto}.hero-banner-motion{gap:18px;justify-content:flex-start;padding-top:32px}.hero-banner-row{gap:16px;animation-duration:34s}.hero-banner-row.row-two{animation-duration:40s}.motion-banner-card{border-radius:24px}.hero-showcase-grid{gap:22px}.hero-cta-panel{border-radius:24px;padding:16px}.hero-kafaat img{height:68px}}
@media (max-width:620px){.hero-showcase{padding:28px 0 30px}.motion-banner-card{width:245px;height:138px}.motion-banner-card.small{width:215px;height:112px}.motion-banner-card span{right:12px;bottom:18px;padding:5px 10px}.hero-banner-motion{opacity:.78}.main-screen .video-frame{border-radius:24px}.hero-cta-panel .hero-actions{display:grid;grid-template-columns:1fr;gap:10px}.hero-cta-panel .btn{min-width:0}.hero-kafaat{display:grid;text-align:center}.hero-kafaat img{margin:auto;height:62px}.hero-cta-panel{width:100%}}


/* v3 hero responsive fix - keep mobile/tablet clean */
@media (max-width:1100px){
  .hero-showcase-grid{grid-template-columns:1fr!important;align-items:center!important;}
  .main-screen{justify-self:center!important;width:min(760px,100%)!important;}
  .hero-cta-panel{justify-self:center!important;width:min(620px,100%)!important;margin-bottom:0!important;}
}
@media (max-width:720px){
  .hero-showcase{padding:34px 0 30px!important;}
  .hero-banner-motion{gap:14px!important;opacity:.62!important;justify-content:flex-start!important;padding-top:24px!important;}
  .hero-banner-row{gap:14px!important;animation-duration:32s!important;}
  .motion-banner-card{width:260px!important;height:auto!important;aspect-ratio:16/7!important;border-radius:20px!important;}
  .motion-banner-card.small{width:220px!important;height:auto!important;}
  .main-screen .video-frame video,.main-screen .video-placeholder{min-height:245px!important;aspect-ratio:4/3!important;}
}

/* ===== v4 responsive final overrides ===== */
@media (max-width:1100px){
  .hero-showcase{margin-bottom:78px!important;padding:42px 0 0!important;min-height:auto!important;overflow:visible!important}
  .hero-showcase-grid{grid-template-columns:1fr!important;min-height:auto!important;direction:rtl!important;gap:20px!important;align-items:center!important}
  .main-screen{grid-column:auto!important;justify-self:center!important;margin-bottom:-58px!important;width:min(720px,100%)!important;order:1!important}
  .hero-cta-panel{grid-column:auto!important;justify-self:center!important;align-self:center!important;margin-bottom:20px!important;width:min(620px,100%)!important;order:2!important}
  .hero-banner-motion{overflow:hidden!important}
}
@media (max-width:720px){
  .hero-showcase{padding:22px 0 0!important;margin-bottom:54px!important;overflow:visible!important}
  .hero-banner-motion{gap:12px!important;opacity:.55!important;justify-content:center!important;padding-top:0!important}
  .hero-banner-row{gap:12px!important;animation-duration:58s!important}
  .hero-banner-row.row-two{display:none!important}
  .motion-banner-card{width:260px!important;aspect-ratio:16/7!important;height:auto!important;border-radius:18px!important}
  .main-screen{margin-bottom:-38px!important;width:94%!important;justify-self:center!important}
  .main-screen .video-frame{border-radius:24px!important;padding:9px 9px 18px!important;box-shadow:0 18px 45px rgba(0,0,0,.24),0 12px 0 rgba(201,154,58,.16)!important}
  .main-screen .video-frame video,.main-screen .video-placeholder{min-height:210px!important;aspect-ratio:4/3!important;border-radius:17px!important}
  .main-screen .video-placeholder img{max-height:145px!important;max-width:78%!important}
  .main-screen .floating-card{position:absolute!important;left:10px!important;right:auto!important;bottom:4px!important;padding:8px 10px!important}
  .main-screen .floating-card b{font-size:20px!important}.main-screen .floating-card span{font-size:12px!important}
  .hero-cta-panel{width:94%!important;border-radius:20px!important;padding:13px!important;margin-bottom:14px!important}
}
@media (prefers-reduced-motion: reduce){.hero-banner-row{animation:none!important}.particle{display:none!important}}


/* ===== upgraded services & works responsive ===== */
@media (max-width:1200px){.home-service-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:1000px){.upgraded-grid,.home-works-grid,.home-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.modal-title-row,.work-dialog-grid{grid-template-columns:1fr}.modal-title-row{padding-left:0}.service-price-tag.large{justify-self:start}}
@media (max-width:620px){.upgraded-grid,.home-works-grid,.home-service-grid{grid-template-columns:1fr}.service-showcase-card{padding:20px;border-radius:24px}.service-showcase-card h3,.work-showcase-card h3{font-size:21px}.work-media-wrap{height:220px}.site-modal{padding:12px}.site-modal-dialog{padding:20px;border-radius:24px}.work-dialog-media img,.work-dialog-media video{max-height:46vh}.service-card-actions .btn,.work-card-actions .btn{width:100%}.work-card-actions,.service-card-actions{flex-direction:column}.work-media-badge{top:12px;left:12px;font-size:12px;padding:7px 11px}}

@media (max-width:1000px){
  .service-display-title{font-size:25px}
  .service-price-tag{min-width:168px}
}
@media (max-width:620px){
  .service-display-title{font-size:22px}
  .service-card-top{gap:10px}
  .service-price-tag,.service-price-tag.large{min-width:auto;width:100%;padding:12px 14px}
  .service-price-tag strong{font-size:28px}
  .service-intro,.service-points-list li{font-size:15px}
}

/* ===== v6 final responsive fixes ===== */
@media (max-width:1100px){
  .hero-full-content{grid-template-columns:1fr;align-items:end;padding:70px 0 58px;gap:18px}.hero-mini-panel{width:max-content;max-width:100%}.featured-video-card{grid-template-columns:1fr}.featured-video-media,.featured-video-media video,.featured-video-media img,.featured-video-media iframe,.featured-video-item{min-height:360px}.review-strip-card{grid-template-columns:1fr}.home-preview-section{padding:58px 0}.home-service-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media (max-width:900px){
  .hero-full-content{min-height:calc(100vh - var(--headerH));padding:54px 0 42px}.hero-full-copy{padding:22px;border-radius:28px}.hero-full-copy .hero-subtitle{font-size:17px;line-height:1.9}.home-service-grid,.upgraded-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.featured-video-content{padding:28px}.featured-video-media,.featured-video-media video,.featured-video-media img,.featured-video-media iframe,.featured-video-item{min-height:320px}.home-countries-grid{grid-template-columns:repeat(2,1fr)!important}
}
@media (max-width:620px){
  .hero-full-video{min-height:calc(100vh - var(--headerH))!important}.hero-full-overlay{background:linear-gradient(180deg,rgba(0,0,0,.38),rgba(0,0,0,.88))}.hero-full-content{min-height:calc(100vh - var(--headerH));padding:34px 0 34px;align-content:end}.hero-full-copy{padding:18px;border-radius:22px}.hero-full-copy .hero-title{font-size:36px}.hero-full-copy .hero-subtitle{font-size:15.5px;line-height:1.85}.hero-mini-panel{display:none}.hero-actions{display:grid;width:100%;grid-template-columns:1fr}.home-stats-section{padding:24px 0}.home-preview-section{padding:42px 0}.home-preview-section + .home-preview-section{padding-top:20px}.home-service-grid,.upgraded-grid,.home-countries-grid{grid-template-columns:1fr!important}.home-samples-grid .service-showcase-card{min-height:auto}.section-head{display:grid;gap:18px}.featured-video-card{border-radius:26px}.featured-video-media,.featured-video-media video,.featured-video-media img,.featured-video-media iframe,.featured-video-item{min-height:260px}.featured-video-content{padding:22px}.featured-video-content h3{font-size:25px}.featured-video-content p{font-size:15px;line-height:1.85}.review-strip-card{padding:22px;border-radius:24px}.review-strip-content{padding:18px;border-radius:20px}.compact-page-hero{padding:42px 0 24px}.video-library-grid .video-media-wrap{height:240px}
}


/* ===== v7 hero refinement responsive ===== */
@media (max-width:1200px){
  .hero-full-copy .hero-title{font-size:clamp(40px,5vw,64px);max-width:11ch}
  .hero-full-content{grid-template-columns:minmax(0,1fr) 250px}
}
@media (max-width:900px){
  .hero-full-content{grid-template-columns:1fr;align-items:end;gap:18px;padding:64px 0 52px}
  .hero-full-copy{padding:32px 28px;max-width:min(100%,720px)}
  .hero-full-copy .hero-title{max-width:12ch;font-size:clamp(36px,7vw,56px);line-height:1.18}
  .hero-full-copy .hero-subtitle{font-size:17px;line-height:1.9}
  .hero-actions{display:flex;flex-wrap:wrap}
  .hero-actions .btn{min-width:190px;width:auto;flex:1 1 220px}
  .hero-mini-panel{width:max-content;max-width:100%;padding:18px 18px;flex-direction:row;align-items:center}
  .hero-mini-panel strong{font-size:16px}
}
@media (max-width:620px){
  .hero-full-overlay{background:linear-gradient(180deg,rgba(4,4,4,.42),rgba(4,4,4,.88))}
  .hero-full-content{padding:28px 0 30px;align-content:end;min-height:calc(100vh - var(--headerH))}
  .hero-full-copy{padding:22px 18px;border-radius:24px}
  .hero-full-copy .eyebrow{font-size:13px;margin-bottom:10px}
  .hero-full-copy .hero-title{font-size:clamp(31px,9vw,42px);max-width:100%;line-height:1.22}
  .hero-full-copy .hero-subtitle{font-size:15px;line-height:1.85;margin-top:16px}
  .hero-actions{display:grid;grid-template-columns:1fr;gap:10px;margin-top:20px}
  .hero-actions .btn{width:100%;min-width:0;min-height:50px;font-size:15px;border-radius:16px}
  .hero-mini-panel{display:none}
}


/* ===== v8 responsive: smaller cleaner hero ===== */
@media (max-width:1100px){
  .hero-full-content{grid-template-columns:1fr;gap:16px;padding:60px 0 46px}
  .hero-full-copy{padding:28px 26px;max-width:100%}
  .hero-full-copy .hero-title{font-size:clamp(32px,5.6vw,50px);max-width:100%;line-height:1.24}
  .hero-full-copy .hero-subtitle{font-size:16px}
}
@media (max-width:620px){
  .hero-full-content{padding:24px 0 28px}
  .hero-full-copy{padding:20px 16px;border-radius:22px}
  .hero-full-copy .hero-title{font-size:clamp(28px,8vw,38px);line-height:1.28;max-width:100%}
  .hero-full-copy .hero-subtitle{font-size:14.5px;line-height:1.85}
  .hero-actions .btn{font-size:14px;min-height:48px}
}


/* ===== v9 fixed video preview responsive ===== */
@media (max-width:1100px){
  .featured-video-media{height:340px!important;max-height:340px!important;min-height:0!important}
  .featured-video-media video,
  .featured-video-media img,
  .featured-video-media iframe,
  .featured-video-media .featured-video-item{height:100%!important;min-height:0!important;max-height:100%!important}
  .featured-video-content{min-height:auto}
}
@media (max-width:900px){
  .featured-video-media{height:310px!important;max-height:310px!important}
}
@media (max-width:620px){
  .featured-video-media{height:235px!important;max-height:235px!important;border-radius:22px 22px 0 0}
  .featured-video-media video,
  .featured-video-media img,
  .featured-video-media iframe,
  .featured-video-media .featured-video-item{height:100%!important;min-height:0!important;max-height:100%!important}
}

@media (max-width:620px){
  .video-media-wrap{height:235px!important;min-height:0!important}
  .video-media-wrap video,
  .video-media-wrap iframe,
  .video-media-wrap img,
  .video-media-wrap .work-media-item{height:100%!important;min-height:0!important;max-height:100%!important}
}
