/* Irannian contrast hotfix — scoped, no layout changes */
:root{--ir-black:#111;--ir-dark:#202020;--ir-gold:#b68a2d;--ir-gold2:#e2bd67;--ir-muted:#626262;--ir-border:rgba(17,17,17,.09)}

/* 1) LIGHT AI SCENE: dark copy on white cards */
#random-post.random-post{color:var(--ir-dark)!important}
#random-post> .container>h2.sr-only{color:var(--ir-black)!important}
#random-post .first-post,#random-post .second-post{
  background:#fff!important;border-color:var(--ir-border)!important;
  box-shadow:0 24px 70px rgba(17,17,17,.08)!important
}
#random-post .post-txt h1,#random-post .post-txt h2,#random-post .post-txt h3,#random-post .post-txt h4{color:var(--ir-black)!important;text-shadow:none!important}
#random-post .post-txt p,#random-post .post-txt li,#random-post .post-txt span:not(.label){color:var(--ir-muted)!important}
#random-post .label{color:#8b651f!important;background:rgba(182,138,45,.10)!important;border-color:rgba(182,138,45,.28)!important}
#random-post .post-img{background:linear-gradient(145deg,#fffaf0,#f5eee1)!important;border:1px solid rgba(182,138,45,.14)!important}
#random-post .post-txt>a{color:var(--ir-black)!important}

/* 2) DARK STATISTICS SCENE: white section heading; light cards stay dark */
#statistics.statistics{color:#fff!important}
#statistics> .container>h2.sr-only{color:#fff!important;text-shadow:0 4px 22px rgba(0,0,0,.22)!important}
#statistics .counter{color:var(--ir-black)!important}
#statistics .counter h1,#statistics .counter h2,#statistics .counter h3,#statistics .counter h4{color:var(--ir-black)!important}
#statistics .counter p,#statistics .counter li{color:var(--ir-muted)!important}
#statistics .counter.active{color:#fff!important;border-color:rgba(226,189,103,.28)!important}
#statistics .counter.active h1,#statistics .counter.active h2,#statistics .counter.active h3,#statistics .counter.active h4,#statistics .counter.active p,#statistics .counter.active li,#statistics .counter.active .counter-value{color:#fff!important}

/* 3) DARK WHY-IRANNIAN SCENE: all copy white/gold */
#start-working.start-working,#start-working .video-txt{color:#fff!important}
#start-working .video-txt>span{color:var(--ir-gold2)!important}
#start-working .video-txt h1,#start-working .video-txt h2,#start-working .video-txt h3,#start-working .video-txt h4{color:#fff!important;text-shadow:none!important}
#start-working .video-txt p{color:rgba(255,255,255,.76)!important}
#start-working .video-txt ul li{color:#fff!important;border-bottom-color:rgba(255,255,255,.12)!important}
#start-working .video-txt ul li i{color:var(--ir-gold2)!important}

/* 4) LIGHT CONTACT FORM: dark copy and fields. Keep the top contact banner dark. */
#contact-us .form-area{background:#fff!important;color:var(--ir-dark)!important}
#contact-us .form-box{
  background:#fff!important;border-color:var(--ir-border)!important;
  box-shadow:0 26px 75px rgba(17,17,17,.08)!important
}
#contact-us .form-box h1,#contact-us .form-box h2,#contact-us .form-box h3,#contact-us .form-box h4{color:var(--ir-black)!important}
#contact-us .form-box p{color:var(--ir-muted)!important}
#contact-us .floating-label-field{
  background:#fff!important;color:var(--ir-black)!important;
  border:1px solid rgba(17,17,17,.14)!important;
  box-shadow:0 8px 24px rgba(17,17,17,.035)!important
}
#contact-us .floating-label-field:focus{border-color:rgba(182,138,45,.65)!important;box-shadow:0 0 0 4px rgba(182,138,45,.09)!important}
#contact-us .floating-label{color:#656565!important}
#contact-us .form-area ::placeholder{color:#9a9a9a!important;opacity:1!important}
#contact-us .map-area,#contact-us .map-area .main-title{color:#fff!important}
#contact-us .map-area h1,#contact-us .map-area h2,#contact-us .map-area h3,#contact-us .map-area h4{color:#fff!important}
#contact-us .map-area p{color:rgba(255,255,255,.72)!important}

/* 5) Safety net for known light sections only — never touches dark scenes */
#clients,#services,#trial,#principles,#blog{color:var(--ir-dark)!important}
#clients h1,#clients h2,#clients h3,#clients h4,
#services h1,#services h2,#services h3,#services h4,
#trial h1,#trial h2,#trial h3,#trial h4,
#principles h1,#principles h2,#principles h3,#principles h4,
#blog h1,#blog h2,#blog h3,#blog h4{color:var(--ir-black)!important}

/* Inputs on any light inner page */
body.irannian-cinematic-inner input:not([type=submit]),body.irannian-cinematic-inner textarea,body.irannian-cinematic-inner select{color:#111}

@media(max-width:767px){
 #contact-us .form-box{padding:25px 18px!important}
 #random-post .first-post,#random-post .second-post{padding:12px!important}
}
