/* =========================================================
   DeepTarget – Home Styles (Clean & Organized)
   ========================================================= */

/* =========================
   Tokens
========================= */
:root{
  --blue-950:#062a45;
  --blue-900:#0A3D62;
  --blue-800:#0E4D7A;
  --blue-700:#136AA6;

  --ink:#0b1b2b;
  --muted:#5b6b7a;
  --white:#ffffff;

  --line: rgba(15, 55, 90, .14);
  --shadow: 0 14px 34px rgba(0,0,0,.10);
  --radius: 18px;
}

/* =========================
   Base / Resets
========================= */
*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

html, body{
  margin: 0;
  padding: 0;
}

body{
  color: var(--ink);
  background: #fff;
}

/* إذا القالب يضيف تعويض لهيدر ثابت حتى لو Header=None */
body{ padding-top: 0 !important; }

/* منع أي مسافة علوية من wrappers شائعة */
main, #main, .main, .main-body, .container-fluid, .content, .page, .site-content, #wrapper, .wrapper{
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Container */
.container{
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

/* =========================
   Buttons
========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;

  padding: 12px 18px;
  border-radius: 999px;
  text-decoration:none;
  font-weight: 700;

  border: 1px solid transparent;
  cursor:pointer;

  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease, opacity .15s ease;
}

.btn-lg{ padding: 14px 22px; }

.btn-primary{
  background: linear-gradient(135deg, var(--blue-700), var(--blue-800));
  color: var(--white);
  box-shadow: 0 12px 26px rgba(19,106,166,.25);
}
.btn-primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(19,106,166,.30);
}

.btn-outline{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.35);
  color: var(--white);
}
.btn-outline:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.12);
}

/* Bootstrap helper (اختياري إذا تستخدمه) */
.btn-outline-light{
  background: transparent;
  border: 1px solid rgba(255,255,255,.45);
  color: #fff;
}
.btn-outline-light:hover{
  background: rgba(255,255,255,.10);
  transform: translateY(-1px);
}

/* =========================
   HERO – Home
========================= */
.hero-home{
  position: relative;
  min-height: 52vh;                 /* لإظهار البطاقات في نفس الشاشة */
  display: flex;
  align-items: flex-start;

  overflow: hidden;
  margin: 0;
  padding: 0;

  /* خلفية واحدة فقط */
  background-image: url("https://www.thedeeptarget.com/images/hero/hero-directional.jpg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;

  /* Fix A: اجعل الـHero فوق قسم الخدمات المرفوع */
  z-index: 5;
}

/* Overlay */
.hero-home .hero-overlay{
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(rgba(10, 61, 98, 0.55), rgba(10, 61, 98, 0.55));
}

/* Content */
.hero-home .hero-content{
  position: relative;
  z-index: 6;
  color: #ffffff;
  text-align: center;
  max-width: 920px;

  /* مساحة كافية لظهور الـtrust */
  padding: 34px 0 34px;
}

.hero-home .hero-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.08);

  font-weight: 700;
  font-size: 13px;
  letter-spacing:.2px;
  margin-bottom: 14px;
}

.hero-home h1{
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  margin: 0 0 10px;
  letter-spacing: -.6px;
}

.hero-home p{
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.65;
  margin: 0 auto 14px;
  color: rgba(255,255,255,.92);
  max-width: 760px;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap: 12px;
  margin-bottom: 16px;
}

/* Trust Indicators (Fix A) */
.hero-trust{
  position: relative;
  z-index: 7;

  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap: 18px;

  border-top: 1px solid rgba(255,255,255,.18);
  padding-top: 12px;

  max-width: 760px;
  margin: 0 auto;
}

.trust-item{
  display:flex;
  flex-direction:column;
  gap: 2px;
  min-width: 140px;
}
.trust-num{ font-size: 20px; font-weight: 800; }
.trust-text{ font-size: 13px; color: rgba(255,255,255,.86); }

/* =========================
   HOME – Core Services (3 Cards)
========================= */
.home-services{
  background: #0a3d62;
  color: #ffffff;

  /* رفع القسم للأعلى (مع ترك مجال للـTrust) */
  margin-top: -12vh;
  position: relative;
  z-index: 3;

  padding: 44px 0 80px;
}

.home-services .section-head{
  text-align: center;
  margin-bottom: 18px;
}

.home-services .section-head h2{
  font-size: 2.1rem;
  font-weight: 800;
  margin: 0 0 10px;
}

.home-services .section-head p{
  margin: 0 auto;
  max-width: 820px;
  color: #e6edf3;
  line-height: 1.7;
}

.home-services .services-grid{
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.home-services .service-card{
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  padding: 22px;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.home-services .service-card:hover{
  transform: translateY(-3px);
  background: rgba(255,255,255,0.11);
  border-color: rgba(255,255,255,0.22);
}

.home-services .service-card h3{
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 10px;
}

.home-services .service-card p{
  margin: 0;
  color: #e6edf3;
  line-height: 1.65;
}

.home-services .section-cta{
  margin-top: 22px;
  text-align: center;
}

/* =========================
   Value Strip
========================= */
.value-strip{
  background: #f6f9fc;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 1;
}

.value-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 18px 0;
}

.value-card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}

.value-card h3{
  margin: 0 0 6px 0;
  font-size: 16px;
  color: var(--ink);
}

.value-card p{
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

/* =========================
   Generic Sections
========================= */
.section{ padding: 64px 0; }

.section-alt{
  background: #f6f9fc;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head{ margin-bottom: 22px; }

.section-head h2{
  margin: 0 0 8px 0;
  font-size: 30px;
  letter-spacing: -.3px;
  color: var(--ink);
}

.section-head p{
  margin:0;
  color: var(--muted);
  max-width: 760px;
  line-height: 1.7;
}

/* =========================
   Services (Detailed Cards)
========================= */
.cards-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.cards-grid .service-card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.icon-pill{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(19,106,166,.10);
  border: 1px solid rgba(19,106,166,.18);
  margin-bottom: 12px;
}

.cards-grid .service-card h3{
  margin:0 0 8px 0;
  color: var(--ink);
  font-size: 18px;
}

.cards-grid .service-card p{
  margin:0 0 12px 0;
  color: var(--muted);
  line-height: 1.7;
}

.bullets{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}
.bullets li{ margin: 6px 0; }

/* =========================
   Capabilities (Split)
========================= */
.split{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 22px;
  align-items: stretch;
}

.split-text h2{
  margin: 0 0 10px 0;
  color: var(--ink);
  font-size: 30px;
}

.split-text p{
  margin: 0 0 14px 0;
  color: var(--muted);
  line-height:1.7;
}

.checklist{
  display:flex;
  flex-direction:column;
  gap: 10px;
  margin: 0 0 18px 0;
}

.check{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  color: var(--ink);
}

.split-panel{
  background: linear-gradient(135deg, rgba(19,106,166,.10), rgba(10,61,98,.08));
  border: 1px solid rgba(15,55,90,.14);
  border-radius: var(--radius);
  padding: 18px;
}

.panel-card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}

.panel-card h3{
  margin: 0 0 12px 0;
  color: var(--ink);
}

.mini-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.mini-item{
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
}

.mini-title{ display:block; font-weight: 700; color: var(--ink); }
.mini-sub{ display:block; margin-top: 4px; color: var(--muted); font-size: 13px; }

/* =========================
   CTA Band
========================= */
.cta-band{
  background:
    linear-gradient(135deg, rgba(10,61,98,.92), rgba(19,106,166,.92)),
    url('/deeptarget/images/hero/cta-oilfield.jpg');

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  color: var(--white);
  padding: 46px 0;
}

.cta-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
}

.cta-inner h2{ margin:0 0 8px 0; font-size: 30px; }
.cta-inner p{ margin:0; color: rgba(255,255,255,.92); line-height: 1.65; }
.cta-actions{ display:flex; flex-wrap:wrap; gap: 12px; }

/* =========================
   FAQ
========================= */
.faq-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.faq-item{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}

.faq-item summary{
  cursor:pointer;
  font-weight: 800;
  color: var(--ink);
  list-style:none;
}
.faq-item summary::-webkit-details-marker{ display:none; }

.faq-body{
  margin-top: 10px;
  color: var(--muted);
  line-height:1.7;
}
/*=============================*/
/* ==============================
   WHY DEEPTARGET
============================== */
.why-deeptarget .section-head{
  margin-bottom: 26px;
}

.why-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.why-card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 12px 26px rgba(0,0,0,.06);
}

.why-card h3{
  margin: 0 0 8px 0;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: -.2px;
}

.why-card p{
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 992px){
  .why-grid{
    grid-template-columns: 1fr;
  }
}


/* =========================
   Responsive
========================= */
@media (max-width: 992px){
  .home-services{ margin-top: -6vh; }
  .home-services .services-grid{ grid-template-columns: 1fr; }

  .value-grid{ grid-template-columns: 1fr; }
  .cards-grid{ grid-template-columns: 1fr; }

  .split{ grid-template-columns: 1fr; }

  .faq-grid{ grid-template-columns: 1fr; }
  .cta-inner{ flex-direction:column; align-items:flex-start; }
}

@media (max-width: 768px){
  .hero-home{ min-height: 60vh; }
  .hero-home .hero-content{ padding: 40px 0 18px; }

  /* على الموبايل لا نرفع قسم الخدمات للأعلى */
  .home-services{ margin-top: 0; }
}

/*=================================*/
/* ===== Dark sections typography consistency ===== */
.home-services .section-head h2,
.home-services .section-head p{
  color: #fff;
}

.home-services .section-head p{
  color: rgba(255,255,255,.88);
}

/* اجعل عنوان Our Core Services أوضح */
.home-services .section-head h2{
  letter-spacing: -.2px;
}
/*========================*/

/* ===== Detailed services cards: more corporate ===== */
.cards-grid .service-card{
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
}

.icon-pill{
  font-size: 20px;
}

.bullets{
  margin-top: 10px;
}
/*====================*/
/* ===== Fix: home-services heading goes under hero due to overlap ===== */

/* نفس قيمة الرفع التي تستخدمها */
.home-services{
  margin-top: -12vh;                 /* كما هي */
  padding-top: calc(44px + 12vh) !important;  /* ندفع المحتوى للأسفل */
}

/* موبايل: لا يوجد رفع أصلاً */
@media (max-width: 768px){
  .home-services{
    margin-top: 0 !important;
    padding-top: 44px !important;
  }
}

/*==========================================================*/
/* ==============================
   EQUIPMENT / TOOLS
============================== */
.equipment .section-head{
  margin-bottom: 24px;
}

.equip-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.equip-card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 12px 28px rgba(0,0,0,.06);
}

.equip-top{
  display:flex;
  align-items:center;
  gap: 12px;
  margin-bottom: 10px;
}

.equip-ic{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(19,106,166,.10);
  border: 1px solid rgba(19,106,166,.18);
  font-size: 20px;
}

.equip-card h3{
  margin:0;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: -.2px;
}

.equip-card p{
  margin: 0 0 10px 0;
  color: var(--muted);
  line-height: 1.7;
}

.equip-list{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}
.equip-list li{
  margin: 6px 0;
}

.equipment-cta{
  margin-top: 22px;
  display:flex;
  flex-wrap:wrap;
  gap: 12px;
}

@media (max-width: 992px){
  .equip-grid{ grid-template-columns: 1fr; }
}

