/*
Theme Name: PCM — بلاتفورم للتسويق العقاري
Theme URI: https://pcm-realestate.com
Author: PCM Development Team
Author URI: https://pcm-realestate.com
Description: ثيم عقاري احترافي مخصص لشركة PCM بلاتفورم للتسويق العقاري. يدعم العربية بالكامل (RTL) ومصمم لمواقع التسويق العقاري في مصر.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pcm
Tags: rtl-language, arabic, real-estate, custom-colors, custom-logo, custom-menu, footer-widgets, responsive-layout, threaded-comments
*/

/* =========================================
   PCM THEME — CSS VARIABLES
========================================= */
:root {
  --pcm-primary:       #476290;
  --pcm-primary-dark:  #132538;
  --pcm-navy:          #1d324d;
  --pcm-blue-light:    #5d84c7;
  --pcm-lavender:      #f8f7ff;
  --pcm-beige:         #F3E7D8;
  --pcm-lp:            #edebf8;
  --pcm-wa:            #25D366;
  --pcm-call:          #006AFF;
  --pcm-red:           #AE1F26;
  --pcm-gray:          #888888;
  --pcm-border:        #C6C6C6;
  --pcm-shadow:        0 15px 35px -5px rgba(50,88,130,.22);
  --pcm-shadow-h:      0 20px 50px -5px rgba(50,88,130,.55);
  --pcm-radius:        12px;
  --pcm-header-h:      72px;
}

/* =========================================
   RESET & BASE
========================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Cairo', sans-serif;
  font-size: 1rem;
  color: #222;
  background: #fff;
  overflow-x: hidden;
  direction: rtl;
  text-align: right;
}
a { text-decoration: none; color: inherit; transition: color .2s; }
img { max-width: 100%; display: block; height: auto; }
ul { list-style: none; padding: 0; margin: 0; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.section-pad { padding: 90px 0; }
.row { display: flex; flex-wrap: wrap; margin: 0 -12px; }
.col { padding: 0 12px; }

/* =========================================
   TYPOGRAPHY
========================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Tajawal', sans-serif;
  font-weight: 900;
  line-height: 1.25;
  color: var(--pcm-primary-dark);
}
p { line-height: 1.8; color: #555; }

/* =========================================
   BUTTONS
========================================= */
.pcm-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 10px;
  font-family: 'Cairo', sans-serif;
  font-weight: 800;
  font-size: .95rem;
  cursor: pointer;
  border: none;
  transition: all .25s;
  white-space: nowrap;
}
.pcm-btn-primary {
  background: var(--pcm-primary);
  color: #fff;
  box-shadow: 0 6px 20px rgba(71,98,144,.35);
}
.pcm-btn-primary:hover { background: #325070; transform: translateY(-2px); color: #fff; }
.pcm-btn-dark {
  background: var(--pcm-primary-dark);
  color: #fff;
}
.pcm-btn-dark:hover { background: #0d1c29; color: #fff; transform: translateY(-2px); }
.pcm-btn-outline {
  background: transparent;
  color: var(--pcm-primary);
  border: 2px solid var(--pcm-primary);
}
.pcm-btn-outline:hover { background: var(--pcm-primary); color: #fff; }
.pcm-btn-wa {
  background: var(--pcm-wa);
  color: #fff;
  box-shadow: 0 6px 20px rgba(37,211,102,.3);
}
.pcm-btn-wa:hover { background: #1ca355; color: #fff; transform: translateY(-2px); }

/* =========================================
   SECTION HEADERS
========================================= */
.pcm-sec-head { text-align: center; margin-bottom: 50px; }
.pcm-sec-tag {
  display: inline-block;
  background: var(--pcm-lp);
  color: var(--pcm-primary);
  font-size: .78rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 50px;
  margin-bottom: 12px;
  letter-spacing: .3px;
}
.pcm-sec-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--pcm-primary-dark);
  margin-bottom: 0;
}
.pcm-sec-title span { color: var(--pcm-primary); }
.pcm-sec-line {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--pcm-primary), var(--pcm-blue-light));
  border-radius: 2px;
  margin: 14px auto 0;
}
.pcm-sec-sub { color: var(--pcm-gray); font-size: .95rem; margin-top: 12px; }

/* =========================================
   SCROLL PROGRESS
========================================= */
#pcm-scroll-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pcm-primary), var(--pcm-blue-light));
  z-index: 9999;
  width: 0%;
  transition: width .1s linear;
}

/* =========================================
   PAGE LOADER
========================================= */
#pcm-loader {
  position: fixed;
  inset: 0;
  background: #132538;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity .5s, visibility .5s;
  /* Failsafe: auto-hide after 4s if JS never fires */
  animation: pcm-loader-timeout 0s 4s forwards;
}
@keyframes pcm-loader-timeout {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}
#pcm-loader.hide {
  opacity: 0;
  visibility: hidden;
  animation: none; /* cancel timeout when JS hides it properly */
}
.pcm-loader-logo {
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
  font-family: 'Tajawal', sans-serif;
  margin-bottom: 24px;
}
.pcm-loader-logo span { color: var(--pcm-blue-light); }
.pcm-loader-bar {
  width: 200px; height: 3px;
  background: rgba(255,255,255,.15);
  border-radius: 2px;
  overflow: hidden;
}
.pcm-loader-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--pcm-blue-light), var(--pcm-primary));
  border-radius: 2px;
  animation: pcm-fill 1.4s ease forwards;
}
@keyframes pcm-fill { from { width: 0 } to { width: 100% } }

/* =========================================
   HEADER
========================================= */
.pcm-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 24px rgba(50,88,130,.1);
  border-bottom: 1px solid rgba(71,98,144,.08);
  transition: all .3s;
}
.pcm-header.scrolled {
  background: rgba(255,255,255,.98);
  box-shadow: 0 4px 30px rgba(50,88,130,.15);
}
.pcm-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--pcm-header-h);
  gap: 16px;
}

/* Logo */
.pcm-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.pcm-logo-badge {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--pcm-primary), var(--pcm-blue-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  box-shadow: 0 4px 16px rgba(71,98,144,.4);
  transition: transform .3s;
}
.pcm-logo:hover .pcm-logo-badge { transform: rotate(-8deg) scale(1.08); }
.pcm-logo-name {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--pcm-primary-dark);
  font-family: 'Tajawal', sans-serif;
  letter-spacing: 1px;
}
.pcm-logo-name span { color: var(--pcm-primary); }
.pcm-logo-sub {
  font-size: .7rem;
  color: var(--pcm-gray);
  display: block;
  margin-top: -4px;
}

/* Navigation */
.pcm-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.pcm-nav li a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: .9rem;
  font-weight: 700;
  color: #333;
  border-radius: 8px;
  transition: all .2s;
  white-space: nowrap;
}
.pcm-nav li a:hover,
.pcm-nav li a.current-menu-item { color: var(--pcm-primary); background: var(--pcm-lavender); }

.pcm-header-ctas { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.pcm-btn-call {
  background: var(--pcm-call);
  color: #fff;
  border: none;
  padding: 9px 18px;
  border-radius: 9px;
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: .85rem;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.pcm-btn-call:hover { background: #0050cc; transform: translateY(-2px); color: #fff; }

.pcm-btn-wa-h {
  background: var(--pcm-wa);
  color: #fff;
  border: none;
  padding: 9px 18px;
  border-radius: 9px;
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: .85rem;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.pcm-btn-wa-h:hover { background: #1ca355; transform: translateY(-2px); color: #fff; }

.pcm-hamburger {
  display: none;
  background: none;
  border: 1px solid var(--pcm-border);
  border-radius: 8px;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--pcm-primary-dark);
  cursor: pointer;
}

/* =========================================
   HERO SECTION
========================================= */
.pcm-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0c1e30;
}
.pcm-hero-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 30%, rgba(71,98,144,.5) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 20% 70%, rgba(19,37,56,.8) 0%, transparent 60%),
    linear-gradient(160deg, #0c1e30 0%, #132538 40%, #1a3050 100%);
}
.pcm-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.pcm-hero-content { position: relative; z-index: 2; padding: 120px 0 80px; }

.pcm-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(71,98,144,.25);
  border: 1px solid rgba(93,132,199,.35);
  color: rgba(255,255,255,.9);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 700;
  margin-bottom: 24px;
}
.pcm-hero-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 18px;
}
.pcm-hero-title .highlight {
  color: transparent;
  background: linear-gradient(90deg, #F3E7D8, #5d84c7);
  -webkit-background-clip: text;
  background-clip: text;
}
.pcm-hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.7);
  line-height: 1.8;
  margin-bottom: 32px;
}
.pcm-hero-wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  line-height: 0;
}
.pcm-hero-wave svg { display: block; width: 100%; }

/* =========================================
   SEARCH BOX
========================================= */
.pcm-search-box {
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  padding: 24px;
}
.pcm-search-tabs { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.pcm-s-tab {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.75);
  padding: 8px 20px;
  border-radius: 50px;
  font-family: 'Cairo', sans-serif;
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .25s;
}
.pcm-s-tab.active, .pcm-s-tab:hover {
  background: var(--pcm-primary);
  border-color: var(--pcm-primary);
  color: #fff;
}
.pcm-search-select {
  width: 100%;
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.15);
  border-radius: 10px;
  padding: 11px 14px;
  font-family: 'Cairo', sans-serif;
  font-size: .88rem;
  color: #fff;
  outline: none;
  appearance: none;
}
.pcm-search-select option { background: #1d324d; color: #fff; }
.pcm-search-select:focus { border-color: var(--pcm-blue-light); }
.pcm-search-label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  color: rgba(255,255,255,.6);
  margin-bottom: 6px;
}
.pcm-btn-search {
  background: linear-gradient(135deg, var(--pcm-primary), var(--pcm-blue-light));
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 10px;
  font-family: 'Cairo', sans-serif;
  font-weight: 800;
  font-size: .95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all .25s;
  box-shadow: 0 6px 24px rgba(71,98,144,.5);
  white-space: nowrap;
  width: 100%;
  justify-content: center;
  margin-top: 12px;
}
.pcm-btn-search:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(71,98,144,.7); }

/* =========================================
   STATS
========================================= */
.pcm-stats-sec { padding: 80px 0; background: #fff; }
.pcm-stat-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: 16px;
  border: 1px solid rgba(71,98,144,.1);
  box-shadow: var(--pcm-shadow);
  transition: all .3s;
  background: #fff;
  position: relative;
  overflow: hidden;
}
.pcm-stat-card:hover { transform: translateY(-6px); box-shadow: var(--pcm-shadow-h); }
.pcm-stat-icon {
  width: 70px; height: 70px;
  border-radius: 18px;
  background: var(--pcm-lavender);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--pcm-primary);
  margin: 0 auto 20px;
  transition: transform .3s;
}
.pcm-stat-card:hover .pcm-stat-icon { transform: scale(1.1) rotate(-5deg); }
.pcm-stat-num {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--pcm-primary-dark);
  font-family: 'Tajawal', sans-serif;
  line-height: 1;
  margin-bottom: 8px;
}
.pcm-stat-lbl { font-size: 1rem; font-weight: 700; color: #555; }
.pcm-stat-desc { font-size: .82rem; color: var(--pcm-gray); margin-top: 4px; }

/* =========================================
   PROPERTY CARDS
========================================= */
.pcm-prop-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--pcm-shadow);
  transition: all .4s;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.pcm-prop-card:hover { box-shadow: var(--pcm-shadow-h); transform: translateY(-8px); }
.pcm-prop-img {
  position: relative;
  height: 230px;
  overflow: hidden;
  flex-shrink: 0;
}
.pcm-prop-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}
.pcm-prop-card:hover .pcm-prop-img img { transform: scale(1.1); }
.pcm-prop-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(19,37,56,.65) 0%, transparent 60%);
}
.pcm-prop-badge {
  position: absolute;
  top: 14px; right: 14px;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 800;
}
.pcm-badge-av { background: #22c55e; color: #fff; }
.pcm-badge-uc { background: #f59e0b; color: #fff; }
.pcm-badge-ltd { background: var(--pcm-red); color: #fff; }
.pcm-prop-price-ov {
  position: absolute;
  bottom: 14px; right: 14px;
  color: #fff;
}
.pcm-prop-price-from { font-size: .7rem; opacity: .8; }
.pcm-prop-price-val { font-size: 1.1rem; font-weight: 900; }
.pcm-prop-body {
  padding: 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.pcm-prop-dev { font-size: .75rem; color: var(--pcm-primary); font-weight: 700; margin-bottom: 4px; }
.pcm-prop-name { font-size: 1rem; font-weight: 800; color: #132538; margin-bottom: 10px; }
.pcm-prop-metas { display: flex; flex-wrap: wrap; gap: 12px; font-size: .78rem; color: #666; margin-bottom: 14px; }
.pcm-prop-meta { display: flex; align-items: center; gap: 5px; }
.pcm-prop-meta i { color: var(--pcm-primary); font-size: .75rem; }
.pcm-prop-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pcm-btn-prop {
  background: var(--pcm-lavender);
  color: var(--pcm-primary);
  padding: 8px 18px;
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 800;
  border: 2px solid var(--pcm-lp);
  transition: all .2s;
}
.pcm-btn-prop:hover { background: var(--pcm-primary); color: #fff; border-color: var(--pcm-primary); }
.pcm-prop-wa {
  width: 36px; height: 36px;
  background: var(--pcm-wa);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  transition: transform .2s;
}
.pcm-prop-wa:hover { transform: scale(1.1); color: #fff; }

/* =========================================
   FILTER TABS
========================================= */
.pcm-filter-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.pcm-f-tab {
  background: #fff;
  border: 2px solid var(--pcm-border);
  color: #555;
  padding: 9px 22px;
  border-radius: 50px;
  font-family: 'Cairo', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .25s;
}
.pcm-f-tab.active, .pcm-f-tab:hover {
  background: var(--pcm-primary);
  border-color: var(--pcm-primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(71,98,144,.35);
}

/* =========================================
   CONSULTATION FORM
========================================= */
.pcm-consult-sec {
  padding: 90px 0;
  background: linear-gradient(135deg, var(--pcm-primary-dark), var(--pcm-navy));
  position: relative;
  overflow: hidden;
}
.pcm-consult-form {
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 40px;
}
.pcm-c-input {
  width: 100%;
  background: rgba(255,255,255,.07);
  border: 1.5px solid rgba(255,255,255,.15);
  border-radius: 10px;
  padding: 12px 16px;
  font-family: 'Cairo', sans-serif;
  font-size: .92rem;
  color: #fff;
  outline: none;
  transition: border-color .2s;
  margin-bottom: 14px;
}
.pcm-c-input::placeholder { color: rgba(255,255,255,.4); }
.pcm-c-input:focus { border-color: var(--pcm-blue-light); }
.pcm-c-input option { background: #1d324d; }
.pcm-c-label {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: rgba(255,255,255,.7);
  margin-bottom: 6px;
}
.pcm-btn-consult {
  width: 100%;
  background: linear-gradient(135deg, var(--pcm-wa), #1ca355);
  color: #fff;
  border: none;
  padding: 15px;
  border-radius: 12px;
  font-family: 'Cairo', sans-serif;
  font-weight: 900;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all .25s;
  box-shadow: 0 8px 30px rgba(37,211,102,.3);
  margin-top: 8px;
}
.pcm-btn-consult:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(37,211,102,.5); }

/* =========================================
   TESTIMONIALS
========================================= */
.pcm-testi-card {
  background: #fff;
  border: 1px solid rgba(71,98,144,.1);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--pcm-shadow);
  transition: all .3s;
  height: 100%;
}
.pcm-testi-card:hover { box-shadow: var(--pcm-shadow-h); transform: translateY(-5px); }
.pcm-stars { color: #f59e0b; font-size: .95rem; margin-bottom: 14px; }
.pcm-testi-text {
  font-size: .9rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}
.pcm-testi-author { display: flex; align-items: center; gap: 12px; }
.pcm-testi-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
}
.pcm-testi-name { font-weight: 800; color: #132538; font-size: .92rem; }
.pcm-testi-loc { font-size: .78rem; color: var(--pcm-gray); }

/* =========================================
   BLOG CARDS
========================================= */
.pcm-blog-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--pcm-shadow);
  transition: all .35s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.pcm-blog-card:hover { box-shadow: var(--pcm-shadow-h); transform: translateY(-6px); }
.pcm-blog-img {
  height: 210px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
.pcm-blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s;
}
.pcm-blog-card:hover .pcm-blog-img img { transform: scale(1.1); }
.pcm-blog-cat {
  position: absolute;
  bottom: 14px; right: 14px;
  background: var(--pcm-primary);
  color: #fff;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: .72rem;
  font-weight: 700;
}
.pcm-blog-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.pcm-blog-date { font-size: .78rem; color: var(--pcm-gray); margin-bottom: 10px; }
.pcm-blog-title { font-size: 1rem; font-weight: 800; color: #132538; line-height: 1.4; margin-bottom: 10px; }
.pcm-blog-excerpt { font-size: .85rem; color: #666; line-height: 1.8; flex: 1; margin-bottom: 16px; }
.pcm-blog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid #f0f0f0;
}
.pcm-btn-blog { color: var(--pcm-primary); font-weight: 700; font-size: .85rem; }
.pcm-btn-blog:hover { color: var(--pcm-primary); gap: 10px; }

/* =========================================
   DEVELOPERS CARDS
========================================= */
.pcm-dev-card {
  border: 2px solid rgba(71,98,144,.1);
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  transition: all .3s;
  background: #fff;
  cursor: pointer;
}
.pcm-dev-card:hover { border-color: var(--pcm-primary); transform: translateY(-5px); box-shadow: var(--pcm-shadow); }
.pcm-dev-logo {
  width: 80px; height: 80px;
  border-radius: 18px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 900;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.pcm-dev-name { font-size: .95rem; font-weight: 800; color: #132538; margin-bottom: 6px; }
.pcm-dev-count { font-size: .8rem; color: var(--pcm-gray); }
.pcm-dev-count strong { color: var(--pcm-primary); }

/* =========================================
   FINAL CTA
========================================= */
.pcm-cta-sec {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--pcm-primary-dark), #1d324d, var(--pcm-primary));
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pcm-cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 14px;
}
.pcm-cta-sub { color: rgba(255,255,255,.75); font-size: 1.05rem; margin-bottom: 40px; }
.pcm-cta-btns { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.pcm-btn-cta-white {
  background: #fff;
  color: var(--pcm-primary-dark);
  padding: 16px 40px;
  border-radius: 12px;
  font-weight: 900;
  font-size: 1rem;
  border: none;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all .25s;
}
.pcm-btn-cta-white:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,.25); color: var(--pcm-primary-dark); }
.pcm-btn-cta-wa {
  background: var(--pcm-wa);
  color: #fff;
  padding: 16px 40px;
  border-radius: 12px;
  font-weight: 900;
  font-size: 1rem;
  border: none;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all .25s;
  box-shadow: 0 8px 30px rgba(37,211,102,.3);
}
.pcm-btn-cta-wa:hover { transform: translateY(-3px); color: #fff; box-shadow: 0 16px 40px rgba(37,211,102,.5); }

/* =========================================
   FOOTER
========================================= */
.pcm-footer { background: var(--pcm-navy); padding: 70px 0 0; }
.pcm-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 50px;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.pcm-footer-copy { color: rgba(255,255,255,.45); font-size: .82rem; }
.pcm-footer-copy span { color: var(--pcm-blue-light); font-weight: 700; }
.pcm-footer-policy { display: flex; gap: 20px; }
.pcm-footer-policy a { color: rgba(255,255,255,.45); font-size: .8rem; transition: color .2s; }
.pcm-footer-policy a:hover { color: #fff; }
.pcm-footer-title {
  font-size: .95rem;
  font-weight: 800;
  color: #fff;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--pcm-primary);
  margin-bottom: 20px;
  display: inline-block;
}
.pcm-footer-links li a {
  color: rgba(255,255,255,.6);
  font-size: .87rem;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  transition: all .2s;
}
.pcm-footer-links li a:hover { color: #fff; gap: 12px; }
.pcm-footer-links li a i { color: var(--pcm-primary); font-size: .65rem; }
.pcm-social-row { display: flex; gap: 8px; margin-top: 18px; }
.pcm-social-btn {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  transition: all .2s;
}
.pcm-social-btn:hover { background: var(--pcm-primary); color: #fff; transform: translateY(-2px); }
.pcm-contact-row { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.pcm-cr-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(71,98,144,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pcm-blue-light);
  flex-shrink: 0;
  font-size: .9rem;
}
.pcm-cr-text strong { display: block; color: #fff; font-size: .87rem; margin-bottom: 2px; }
.pcm-cr-text span { color: rgba(255,255,255,.55); font-size: .8rem; }

/* =========================================
   FLOATING BUTTONS
========================================= */
.pcm-phone-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 990;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--pcm-call);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 6px 24px rgba(0,106,255,.4);
  animation: pcm-pulse-ph 2.5s ease-in-out infinite;
  transition: transform .2s;
}
.pcm-phone-float:hover { transform: scale(1.1); color: #fff; animation: none; }
@keyframes pcm-pulse-ph {
  0%, 100% { box-shadow: 0 6px 24px rgba(0,106,255,.4); }
  50% { box-shadow: 0 6px 40px rgba(0,106,255,.7); }
}

.pcm-wa-float {
  position: fixed;
  bottom: 28px; left: 28px;
  z-index: 990;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--pcm-wa);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 6px 24px rgba(37,211,102,.45);
  animation: pcm-pulse-wa 2.5s ease-in-out infinite;
  animation-delay: 1.25s;
  transition: transform .2s;
}
.pcm-wa-float:hover { transform: scale(1.1); color: #fff; animation: none; }
@keyframes pcm-pulse-wa {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,.45); }
  50% { box-shadow: 0 6px 40px rgba(37,211,102,.75); }
}

#pcm-back-top {
  position: fixed;
  bottom: 100px; right: 28px;
  width: 44px; height: 44px;
  background: var(--pcm-primary);
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 988;
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px);
  transition: all .3s;
  box-shadow: 0 4px 16px rgba(71,98,144,.35);
  border: none;
}
#pcm-back-top.show { opacity: 1; transform: translateY(0); }
#pcm-back-top:hover { background: #325070; transform: translateY(-3px); }

/* =========================================
   REVEAL ANIMATIONS
========================================= */
.pcm-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.pcm-reveal.in { opacity: 1; transform: translateY(0); }
.pcm-reveal.d1 { transition-delay: .1s; }
.pcm-reveal.d2 { transition-delay: .2s; }
.pcm-reveal.d3 { transition-delay: .3s; }

/* =========================================
   MARQUEE PARTNERS
========================================= */
.pcm-marquee { overflow: hidden; mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); }
.pcm-marquee-inner { display: flex; gap: 16px; width: max-content; animation: pcm-slide 30s linear infinite; }
.pcm-marquee-inner:hover { animation-play-state: paused; }
@keyframes pcm-slide { to { transform: translateX(-50%); } }
.pcm-partner-logo {
  background: #f8f9fb;
  border: 1.5px solid var(--pcm-border);
  border-radius: 12px;
  padding: 14px 24px;
  min-width: 150px;
  text-align: center;
  flex-shrink: 0;
  transition: all .25s;
  cursor: pointer;
}
.pcm-partner-logo:hover { border-color: var(--pcm-primary); box-shadow: var(--pcm-shadow); transform: translateY(-3px); }
.pcm-partner-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
  color: #fff;
}
.pcm-partner-name { font-size: .8rem; font-weight: 700; color: #444; }

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 991px) {
  .pcm-nav { display: none; }
  .pcm-hamburger { display: flex; }
}
@media (max-width: 767px) {
  .pcm-header-ctas .btn-text { display: none; }
  .pcm-phone-float, .pcm-wa-float { width: 50px; height: 50px; font-size: 1.2rem; }
  .pcm-phone-float { bottom: 18px; right: 18px; }
  .pcm-wa-float { bottom: 18px; left: 18px; }
  #pcm-back-top { right: 18px; bottom: 82px; }
  .pcm-footer-bottom { flex-direction: column; text-align: center; }
  .pcm-cta-btns { flex-direction: column; align-items: stretch; }
}

/* =========================================
   HERO STAT CARDS (right side)
========================================= */
.pcm-hstat {
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  animation: pcm-fadeup .6s ease both;
  animation-delay: var(--d, 0s);
}
@keyframes pcm-fadeup {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =========================================
   PARTNERS MARQUEE
========================================= */
.pcm-partners-sec {
  padding: 50px 0;
  background: #fff;
  border-top: 1px solid #f0f2f5;
}

/* =========================================
   MOBILE DRAWER
========================================= */
.pcm-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 1040;
  backdrop-filter: blur(2px);
}
.pcm-drawer-overlay.open { display: block; }

.pcm-mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 290px;
  height: 100vh;
  background: #fff;
  z-index: 1050;
  padding: 20px;
  transition: right .35s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
  box-shadow: -8px 0 40px rgba(0,0,0,.15);
}
.pcm-mobile-drawer.open { right: 0; }

.pcm-drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--pcm-border);
}
.pcm-drawer-close {
  background: none;
  border: 1px solid var(--pcm-border);
  border-radius: 8px;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #666;
  cursor: pointer;
}
.pcm-drawer-nav li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  font-weight: 700;
  color: #333;
  border-bottom: 1px solid #f5f5f5;
  font-size: .95rem;
  transition: color .2s;
}
.pcm-drawer-nav li a:hover { color: var(--pcm-primary); }
.pcm-drawer-nav li a i { color: var(--pcm-primary); width: 20px; }

/* =========================================
   WHATSAPP WIDGET
========================================= */
.pcm-wa-widget {
  position: fixed;
  bottom: 100px;
  left: 28px;
  z-index: 990;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.pcm-wa-box {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(0,0,0,.18);
  width: 300px;
  overflow: hidden;
  transform-origin: bottom left;
  transform: scale(0);
  opacity: 0;
  pointer-events: none;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), opacity .25s;
}
.pcm-wa-box.open {
  transform: scale(1);
  opacity: 1;
  pointer-events: auto;
}

.pcm-wa-head {
  background: var(--pcm-wa);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.pcm-wa-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  flex-shrink: 0;
}
.pcm-wa-info strong { display: block; color: #fff; font-size: .9rem; font-weight: 800; }
.pcm-wa-info span {
  color: rgba(255,255,255,.85);
  font-size: .74rem;
  display: flex;
  align-items: center;
  gap: 5px;
}
.pcm-wa-online {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #fff;
  display: inline-block;
}
.pcm-wa-body { padding: 18px; background: #e5ddd5; }
.pcm-wa-bubble {
  background: #fff;
  border-radius: 10px 10px 10px 0;
  padding: 12px 14px;
  font-size: .86rem;
  color: #333;
  line-height: 1.65;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.pcm-wa-time {
  display: block;
  font-size: .68rem;
  color: #999;
  margin-top: 6px;
  text-align: left;
}
.pcm-wa-foot {
  padding: 12px 16px;
  background: #f0f0f0;
  display: flex;
  gap: 10px;
}
.pcm-wa-inp {
  flex: 1;
  border: none;
  border-radius: 20px;
  padding: 10px 14px;
  font-family: 'Cairo', sans-serif;
  font-size: .86rem;
  outline: none;
  cursor: pointer;
}
.pcm-wa-send {
  width: 40px; height: 40px;
  background: var(--pcm-wa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  flex-shrink: 0;
}

.pcm-wa-trigger {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--pcm-wa);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(37,211,102,.45);
  animation: pcm-pulse-wa 2.5s ease-in-out infinite;
  transition: transform .2s;
}
.pcm-wa-trigger:hover { transform: scale(1.1); animation: none; }

/* =========================================
   BLINK ANIMATION (for WA live dot)
========================================= */
@keyframes pcm-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}

/* =========================================
   DEVELOPERS SECTION (front page)
========================================= */
.pcm-devs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 991px) { .pcm-devs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px)  { .pcm-devs-grid { grid-template-columns: 1fr 1fr; } }

/* =========================================
   TESTIMONIALS SECTION (front page)
========================================= */
.pcm-testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 991px) { .pcm-testi-grid { grid-template-columns: 1fr; } }
@media (max-width: 767px) { .pcm-testi-grid { grid-template-columns: 1fr; } }

/* =========================================
   FOOTER ABOUT
========================================= */
.pcm-footer-about {
  color: rgba(255,255,255,.6);
  font-size: .88rem;
  line-height: 1.8;
  margin-bottom: 22px;
}
