/*
Theme Name: Kashaf Blocksy Child
Description: Custom child theme for Kashaf Real Estate site.
Author: Trendly Agency
Template: blocksy
Version: 1.0.0
Text Domain: kashaf-blocksy-child
*/

/* ---------------------------------------------------------
   Kashaf Premium Navigation & Submenu Styles (RTL-optimized)
   Desktop only — scoped to min-width:1000px so mobile off-canvas
   is unaffected (Phase 2A + 2B performance fix).
   --------------------------------------------------------- */

/* Main Header Container alignment — applies at all widths */
.ct-header nav {
    position: relative;
    z-index: 100;
}

@media (min-width: 1000px) {

/* Submenu Base: solid dark bg (no blur — GPU-expensive on large surfaces) */
.ct-header .sub-menu,
.ct-header .dropdown-menu {
    background: rgb(22, 11, 40) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px !important;
    box-shadow:
        0 10px 30px -5px rgba(19, 10, 36, 0.3),
        0 20px 50px -10px rgba(109, 40, 217, 0.15) !important;
    padding: 12px 8px !important;
    min-width: 230px !important;
    will-change: transform, opacity;

    /* Animation base state */
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.97);
    transition:
        opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1),
        visibility 0.18s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hover & focus triggers */
.menu-item-has-children:hover > .sub-menu,
.menu-item-has-children:hover > .dropdown-menu,
.menu-item-has-children.focus > .sub-menu,
.menu-item-has-children.focus > .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
}

/* Dropdown Menu Items */
.ct-header .sub-menu li,
.ct-header .dropdown-menu li {
    margin: 4px 0 !important;
    padding: 0 !important;
    list-style: none !important;
    position: relative;
}

.ct-header .sub-menu li a,
.ct-header .dropdown-menu li a {
    color: rgba(255, 255, 255, 0.88) !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    padding: 10px 14px !important;
    border-radius: 10px !important;
    transition: background 0.18s ease, color 0.18s ease, padding 0.18s ease !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    text-decoration: none !important;
}

.ct-header .sub-menu li a:hover,
.ct-header .dropdown-menu li a:hover {
    background: rgba(133, 102, 177, 0.16) !important;
    color: #a38bc4 !important;
}

body.rtl .ct-header .sub-menu li a:hover,
body.rtl .ct-header .dropdown-menu li a:hover {
    padding-right: 18px !important;
    padding-left: 10px !important;
}

body:not(.rtl) .ct-header .sub-menu li a:hover,
body:not(.rtl) .ct-header .dropdown-menu li a:hover {
    padding-left: 18px !important;
    padding-right: 10px !important;
}

.ct-header .sub-menu li a::before,
.ct-header .dropdown-menu li a::before {
    content: "";
    width: 5px;
    height: 5px;
    background: #a38bc4;
    border-radius: 50%;
    position: absolute;
    opacity: 0;
    transform: scale(0);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

body.rtl .ct-header .sub-menu li a::before,
body.rtl .ct-header .dropdown-menu li a::before {
    right: 8px;
}

body:not(.rtl) .ct-header .sub-menu li a::before,
body:not(.rtl) .ct-header .dropdown-menu li a::before {
    left: 8px;
}

.ct-header .sub-menu li a:hover::before,
.ct-header .dropdown-menu li a:hover::before {
    opacity: 1;
    transform: scale(1);
}

/* 3rd-level Flyouts */
.ct-header .sub-menu .sub-menu,
.ct-header .dropdown-menu .dropdown-menu {
    position: absolute !important;
    top: -8px !important;
    z-index: 110;
}

body.rtl .ct-header .sub-menu .sub-menu,
body.rtl .ct-header .dropdown-menu .dropdown-menu {
    right: 100% !important;
    left: auto !important;
    margin-right: 10px !important;
    margin-left: 0 !important;
    transform: translateX(12px) scale(0.97);
}

body.rtl .ct-header .sub-menu li:hover > .sub-menu,
body.rtl .ct-header .dropdown-menu li:hover > .dropdown-menu {
    transform: translateX(0) scale(1) !important;
}

body:not(.rtl) .ct-header .sub-menu .sub-menu,
body:not(.rtl) .ct-header .dropdown-menu .dropdown-menu {
    left: 100% !important;
    right: auto !important;
    margin-left: 10px !important;
    margin-right: 0 !important;
    transform: translateX(-12px) scale(0.97);
}

body:not(.rtl) .ct-header .sub-menu li:hover > .sub-menu,
body:not(.rtl) .ct-header .dropdown-menu li:hover > .dropdown-menu {
    transform: translateX(0) scale(1) !important;
}

/* Submenu Chevron indicators */
.ct-header .sub-menu .menu-item-has-children > a::after,
.ct-header .dropdown-menu .menu-item-has-children > a::after {
    content: "←" !important;
    font-size: 11px;
    font-weight: bold;
    opacity: 0.6;
    margin-right: auto;
    margin-left: 0;
    transition: transform 0.18s ease;
}

body:not(.rtl) .ct-header .sub-menu .menu-item-has-children > a::after,
body:not(.rtl) .ct-header .dropdown-menu .menu-item-has-children > a::after {
    content: "→" !important;
    margin-left: auto;
    margin-right: 0;
}

.ct-header .sub-menu .menu-item-has-children:hover > a::after,
.ct-header .dropdown-menu .menu-item-has-children:hover > a::after {
    opacity: 1;
    transform: translateX(-3px);
}

body:not(.rtl) .ct-header .sub-menu .menu-item-has-children:hover > a::after,
body:not(.rtl) .ct-header .dropdown-menu .menu-item-has-children:hover > a::after {
    transform: translateX(3px);
}

} /* end @media (min-width: 1000px) */


/* ---------------------------------------------------------
   Kashaf Premium Header, Top-Level Links & Button Overrides
   --------------------------------------------------------- */

/* Make the overall header container feel premium and airy */
.ct-header {
    box-shadow: 0 4px 30px rgba(133, 102, 177, 0.015) !important;
    border-bottom: 1px solid rgba(133, 102, 177, 0.05) !important;
    transition: all 0.3s ease !important;
}

/* WordPress Admin Bar — Blocksy handles [data-sticky*=yes] and [data-sticky*=fixed] automatically
   but NOT [data-sticky="slide"]. We fix the slide type here so the header doesn't cover the bar. */
body.admin-bar [data-sticky="slide"] {
    top: 32px !important;
}

@media screen and (max-width: 782px) {
    body.admin-bar [data-sticky="slide"] {
        top: 46px !important;
    }
}

@media screen and (max-width: 600px) {
    body.admin-bar [data-sticky="slide"] {
        top: 0 !important;
    }
}

/* Glassmorphism background for sticky header when scrolled */
.ct-header [data-sticky="active"],
.ct-header .sticky-wrapper.is-sticky .ct-header-root {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    box-shadow: 0 12px 40px rgba(133, 102, 177, 0.04) !important;
    border-bottom: 1px solid rgba(133, 102, 177, 0.08) !important;
}

/* Top-level Menu Items Hover Animation */
.ct-header nav.header-menu > ul > li,
.ct-header .ct-menu-container > ul > li {
    position: relative;
}

.ct-header nav.header-menu > ul > li > a,
.ct-header .ct-menu-container > ul > li > a {
    position: relative;
    padding: 10px 16px !important;
    font-weight: 700 !important;
    color: #2D2D2D !important;
    transition: color 0.25s ease !important;
}

.ct-header nav.header-menu > ul > li > a::after,
.ct-header .ct-menu-container > ul > li > a::after {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #8566B1, #a38bc4);
    border-radius: 99px;
    transform: translateX(-50%);
    transition: width 0.28s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.ct-header nav.header-menu > ul > li:hover > a,
.ct-header .ct-menu-container > ul > li:hover > a {
    color: #8566B1 !important;
}

.ct-header nav.header-menu > ul > li:hover > a::after,
.ct-header .ct-menu-container > ul > li:hover > a::after,
.ct-header nav.header-menu > ul > li.current-menu-item > a::after,
.ct-header .ct-menu-container > ul > li.current-menu-item > a::after {
    width: 70%;
}

/* Premium gradient and hover dynamics for the "Download App" Header Button */
.ct-header [class*="button"] a,
.ct-header .ct-button,
.ct-header a.ct-button {
    background: linear-gradient(135deg, #8566B1 0%, #7252a1 100%) !important; /* Brand Soft Purple Gradient */
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 14.5px !important;
    padding: 12px 28px !important;
    border-radius: 999px !important; /* Elegant pill button */
    box-shadow: 0 6px 20px rgba(133, 102, 177, 0.2) !important;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    text-transform: none !important;
    letter-spacing: 0 !important;
    min-height: 44px;
}

.ct-header [class*="button"] a:hover,
.ct-header .ct-button:hover,
.ct-header a.ct-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 
        0 10px 24px rgba(133, 102, 177, 0.35),
        0 0 0 4px rgba(133, 102, 177, 0.15) !important; /* Interactive outer ring glow */
    background: linear-gradient(135deg, #7252a1 0%, #5d3f8a 100%) !important;
}

.ct-header [class*="button"] a:active,
.ct-header .ct-button:active,
.ct-header a.ct-button:active {
    transform: translateY(0) !important;
    box-shadow: 0 4px 10px rgba(133, 102, 177, 0.2) !important;
}

/* ---------------------------------------------------------
   Kashaf Custom Services Header Styles (Global)
   --------------------------------------------------------- */
.kashaf-services-header {
  padding: 24px 0 12px;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all 0.3s ease;
  background: transparent;
}

.kashaf-services-header .kashaf-header-inner {
  height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  padding: 10px 24px;
  box-shadow: 0 12px 30px rgba(19, 10, 36, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.kashaf-services-header .kashaf-brand {
  display: flex;
  align-items: center;
  width: 140px;
}

.kashaf-services-header .kashaf-brand img {
  display: block;
  width: 140px;
  max-height: 44px;
  object-fit: contain;
}

.kashaf-services-header .kashaf-main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.kashaf-services-header .kashaf-main-nav a {
  font-size: 15px;
  font-weight: 700;
  color: #1f1a28 !important; /* var(--kashaf-ink) */
  padding: 6px 4px;
  position: relative;
  opacity: 0.8;
  text-decoration: none !important;
}

.kashaf-services-header .kashaf-main-nav a.active,
.kashaf-services-header .kashaf-main-nav a:hover {
  opacity: 1;
  color: #8566B1 !important; /* var(--kashaf-brand-strong) */
}

.kashaf-services-header .kashaf-main-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background: #8566B1; /* var(--kashaf-brand-strong) */
  border-radius: 999px;
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.kashaf-services-header .kashaf-main-nav a.active::after,
.kashaf-services-header .kashaf-main-nav a:hover::after {
  transform: scaleX(1);
}

.kashaf-services-header .kashaf-header-note {
  color: #8566B1 !important; /* var(--kashaf-brand-strong) */
  background: #f4edf9; /* var(--kashaf-soft2) */
  border: 1px solid rgba(109, 40, 217, 0.12);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.kashaf-services-header .kashaf-header-note::before {
  content: "";
  width: 6px;
  height: 6px;
  background: #8566B1; /* var(--kashaf-brand-strong) */
  border-radius: 50%;
}

@media (max-width: 720px) {
  .kashaf-services-header {
    padding: 12px 0 6px;
  }
  
  .kashaf-services-header .kashaf-header-inner {
    height: 60px;
    padding: 8px 16px;
  }
  
  .kashaf-services-header .kashaf-brand {
    width: 95px;
  }
  
  .kashaf-services-header .kashaf-brand img {
    width: 95px;
    max-height: 30px;
  }
  
  .kashaf-services-header .kashaf-header-note {
    display: none !important;
  }
  
  .kashaf-services-header .kashaf-main-nav {
    gap: 16px;
  }
  
  .kashaf-services-header .kashaf-main-nav a {
    font-size: 13.5px;
    padding: 4px 0;
  }
}

/* ---------------------------------------------------------
   Kashaf About Us Page Styles
   --------------------------------------------------------- */
.kashaf-about-page {
  font-family: "Tajawal", system-ui, -apple-system, sans-serif;
  color: #1f1a28; /* var(--kashaf-ink) */
  background: #fbf9ff;
  line-height: 1.8;
  padding-bottom: 60px;
}

.kashaf-about-page .wrap {
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
}

.kashaf-about-page .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.25s ease;
  cursor: pointer;
  text-decoration: none;
}

.kashaf-about-page .btn-primary {
  background: #8566B1;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(133, 102, 177, 0.2);
}

.kashaf-about-page .btn-primary:hover {
  background: #130a24;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(133, 102, 177, 0.3);
}

.kashaf-about-page .btn-ghost {
  background: #ffffff;
  color: #8566B1;
  border: 1px solid rgba(133, 102, 177, 0.15);
}

.kashaf-about-page .btn-ghost:hover {
  background: #f4edf9;
  transform: translateY(-2px);
  border-color: #8566B1;
}

/* About Hero */
.kashaf-about-hero {
  padding: 120px 0;
  background-color: #130a24;
  background-image:
    linear-gradient(rgba(19, 10, 36, 0.86), rgba(19, 10, 36, 0.72)),
    url('assets/images/about-hero-building.webp');
  background-size: cover;
  background-position: center;
  color: #ffffff;
  text-align: center;
  border-bottom: 1px solid rgba(133, 102, 177, 0.2);
}

.kashaf-about-hero h1 {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  margin: 10px 0 20px;
  color: #ffffff;
  line-height: 1.2;
}

.kashaf-about-hero .about-eyebrow {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(133, 102, 177, 0.3);
  color: #ffffff;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.kashaf-about-hero .hero-lead {
  font-size: clamp(16px, 1.8vw, 20px);
  color: rgba(255, 255, 255, 0.85);
  max-width: 700px;
  margin: 0 auto;
  font-weight: 500;
}

/* Intro Section */
.kashaf-about-intro {
  padding: 80px 0;
}

.kashaf-about-intro .intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.kashaf-about-intro .intro-media {
  display: flex;
}

.kashaf-about-intro .intro-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(19, 10, 36, 0.12);
  display: block;
}

.kashaf-about-intro .section-badge {
  color: #8566B1;
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 12px;
}

.kashaf-about-intro h2 {
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 800;
  margin-bottom: 24px;
  color: #130a24;
}

.kashaf-about-intro p {
  color: #645f70;
  margin-bottom: 20px;
  font-size: 16.5px;
}

.kashaf-about-intro .intro-quote {
  background: #ffffff;
  border-right: 5px solid #b45309; /* Gold accent */
  border-radius: 16px;
  padding: 30px;
  margin-top: 32px;
  box-shadow: 0 10px 30px rgba(19, 10, 36, 0.04);
}

.kashaf-about-intro .quote-icon {
  width: 36px;
  height: 36px;
  color: rgba(180, 83, 9, 0.15);
  margin-bottom: 15px;
}

.kashaf-about-intro .quote-inner p {
  font-size: 17.5px;
  font-weight: 700;
  color: #130a24;
  line-height: 1.6;
  margin: 0;
}

/* Services About Grid */
.kashaf-about-services {
  padding: 80px 0;
  background: #ffffff;
}

.kashaf-about-services .section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px;
}

.kashaf-about-services .section-header h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #130a24;
}

.kashaf-about-services .section-header p {
  color: #645f70;
  font-size: 16px;
}

.services-about-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-about-card {
  background: #fbf9ff;
  border: 1px solid rgba(133, 102, 177, 0.06);
  border-radius: 20px;
  padding: 30px 24px;
  transition: all 0.3s ease;
}

.service-about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(19, 10, 36, 0.05);
  border-color: rgba(133, 102, 177, 0.15);
}

.service-about-card .card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
}

.service-about-card .card-icon svg {
  width: 24px;
  height: 24px;
}

.service-about-card .card-icon.gold {
  background: #fffbeb;
  color: #b45309;
}

.service-about-card .card-icon.purple {
  background: #f4edf9;
  color: #8566B1;
}

.service-about-card .card-icon.blue {
  background: #eff6ff;
  color: #2563eb;
}

.service-about-card .card-icon.dark-purple {
  background: rgba(133, 102, 177, 0.08);
  color: #7252a1;
}

.service-about-card h3 {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #130a24;
}

.service-about-card p {
  font-size: 14.5px;
  color: #645f70;
  margin: 0;
  line-height: 1.6;
}

/* Why Section */
.kashaf-about-why {
  padding: 80px 0;
}

.kashaf-about-why .section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px;
}

.kashaf-about-why .section-header h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #130a24;
}

.kashaf-about-why .section-header p {
  color: #645f70;
  font-size: 16px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.why-card {
  background: #ffffff;
  border: 1px solid rgba(133, 102, 177, 0.04);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 15px rgba(19, 10, 36, 0.02);
  transition: all 0.3s ease;
}

.why-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(19, 10, 36, 0.05);
  border-color: rgba(133, 102, 177, 0.12);
}

.why-card h4 {
  font-size: 16.5px;
  font-weight: 800;
  color: #8566B1;
  margin-bottom: 12px;
}

.why-card p {
  font-size: 13.5px;
  color: #645f70;
  margin: 0;
  line-height: 1.6;
}

/* Approach Section */
.kashaf-about-approach {
  padding: 80px 0;
  background: #ffffff;
}

.kashaf-about-approach .section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px;
}

.kashaf-about-approach .section-header h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #130a24;
}

.kashaf-about-approach .section-header p {
  color: #645f70;
  font-size: 16px;
}

.approach-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}

.approach-timeline::before {
  content: "";
  position: absolute;
  top: 25px;
  left: 40px;
  right: 40px;
  height: 2px;
  background: rgba(133, 102, 177, 0.1);
  z-index: 0;
}

.timeline-step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.timeline-step .step-num {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #8566B1;
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 900;
  margin: 0 auto 24px;
  box-shadow: 0 4px 12px rgba(109, 40, 217, 0.2);
  border: 4px solid #ffffff;
}

.timeline-step:nth-child(2) .step-num {
  background: #b45309;
  box-shadow: 0 4px 12px rgba(180, 83, 9, 0.2);
}

.timeline-step:nth-child(3) .step-num {
  background: #130a24;
  box-shadow: 0 4px 12px rgba(19, 10, 36, 0.2);
}

.timeline-step h3 {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 10px;
  color: #130a24;
}

.timeline-step p {
  font-size: 14.5px;
  color: #645f70;
  margin: 0;
  padding: 0 10px;
  line-height: 1.6;
}

/* Board of Directors Section */
.kashaf-about-board {
  padding: 80px 0;
}

.kashaf-about-board .section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px;
}

.kashaf-about-board .section-header h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #130a24;
}

.kashaf-about-board .section-header p {
  color: #645f70;
  font-size: 16px;
}

.board-grid {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.board-card {
  background: #ffffff;
  border: 1px solid rgba(133, 102, 177, 0.05);
  border-radius: 24px;
  padding: 40px;
  width: 280px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(19, 10, 36, 0.03);
  transition: all 0.3s ease;
}

.board-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(19, 10, 36, 0.06);
  border-color: rgba(133, 102, 177, 0.15);
}

.board-avatar {
  width: 120px;
  height: 120px;
  margin: 0 auto 24px;
}

.board-avatar .avatar-placeholder {
  width: 100%;
  height: 100%;
  display: block;
}

.board-name {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #130a24;
}

.board-title {
  font-size: 14.5px;
  color: #b45309;
  font-weight: 700;
  margin: 0;
}

.board-card:nth-child(2) .board-title {
  color: #8566B1;
}

/* About CTA */
.kashaf-about-cta {
  padding: 40px 0 80px;
}

.cta-inner-card {
  background: linear-gradient(135deg, #130a24 0%, #23123c 100%);
  border-radius: 28px;
  padding: 60px 40px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 20px 50px rgba(19, 10, 36, 0.15);
}

.cta-inner-card h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
}

.cta-inner-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 17px;
  max-width: 600px;
  margin: 0 auto 32px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Responsive Media Queries - About */
@media (max-width: 1024px) {
  .services-about-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .kashaf-about-intro .intro-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .kashaf-about-intro .intro-photo {
    height: auto;
  }
  .kashaf-about-intro .intro-quote {
    margin-top: 0;
  }
  .approach-timeline {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .approach-timeline::before {
    display: none;
  }
  .timeline-step {
    text-align: right;
    display: flex;
    gap: 20px;
    align-items: flex-start;
  }
  .timeline-step .step-num {
    margin: 0;
    flex-shrink: 0;
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .services-about-grid {
    grid-template-columns: 1fr;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .board-grid {
    gap: 24px;
  }
  .timeline-step {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .timeline-step .step-num {
    margin: 0 auto 16px;
  }
  .cta-inner-card {
    padding: 40px 20px;
  }
  .cta-buttons {
    flex-direction: column;
    gap: 12px;
  }
  .cta-buttons .btn {
    width: 100%;
  }
}

/* ---------------------------------------------------------
   Kashaf Contact Page Styles
   --------------------------------------------------------- */
.kashaf-contact-page {
  font-family: "Tajawal", system-ui, -apple-system, sans-serif;
  color: #1f1a28;
  background: #fbf9ff;
  line-height: 1.8;
  padding-bottom: 80px;
}

.kashaf-contact-page .wrap {
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
}

/* Contact Hero */
.kashaf-contact-hero {
  padding: 80px 0;
  background-color: #f6f4fa;
  background-image: 
    linear-gradient(to right, rgba(133, 102, 177, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(133, 102, 177, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  color: #130a24;
  text-align: center;
  border-bottom: 1px solid rgba(133, 102, 177, 0.08);
}

.kashaf-contact-hero h1 {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  margin: 10px 0 20px;
  color: #130a24;
}

.kashaf-contact-hero .contact-eyebrow {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(133, 102, 177, 0.08);
  color: #7252a1;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid rgba(133, 102, 177, 0.15);
}

.kashaf-contact-hero .hero-lead {
  font-size: clamp(16px, 1.8vw, 20px);
  color: #645f70;
  max-width: 700px;
  margin: 0 auto;
  font-weight: 500;
}

/* Contact Cards */
.kashaf-contact-cards {
  margin-top: -40px;
  position: relative;
  z-index: 10;
}

.kashaf-contact-cards .contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.contact-card {
  background: #ffffff;
  border: 1px solid rgba(133, 102, 177, 0.05);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(19, 10, 36, 0.04);
  transition: all 0.3s ease;
  text-decoration: none !important;
  color: inherit !important;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-card:not(.no-link):hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(19, 10, 36, 0.08);
  border-color: rgba(133, 102, 177, 0.15);
}

.contact-card .card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.contact-card .card-icon svg {
  width: 26px;
  height: 26px;
}

.contact-card .card-icon.whatsapp {
  background: #e6fcf5;
  color: #10b981;
}

.contact-card .card-icon.phone {
  background: #eff6ff;
  color: #2563eb;
}

.contact-card .card-icon.email {
  background: #f4edf9;
  color: #8566B1;
}

.contact-card .card-icon.location {
  background: #fffbeb;
  color: #b45309;
}

.contact-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #130a24;
}

.contact-card .contact-info {
  font-size: 15.5px;
  font-weight: 700;
  color: #1f1a28;
  margin: 0 0 12px;
}

.contact-card .contact-cta-text {
  font-size: 13px;
  font-weight: 700;
  color: #8566B1;
}

.contact-card.no-link .contact-cta-text {
  color: #b45309;
}

/* Contact Form Section */
.kashaf-contact-form-section {
  padding: 60px 0;
}

.form-container-card {
  background: #ffffff;
  border: 1px solid rgba(133, 102, 177, 0.05);
  border-radius: 28px;
  padding: 50px;
  box-shadow: 0 15px 45px rgba(19, 10, 36, 0.03);
  max-width: 800px;
  margin: 0 auto;
}

.form-container-card h2 {
  font-size: 28px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  color: #130a24;
}

.form-container-card p {
  text-align: center;
  color: #645f70;
  font-size: 15.5px;
  margin-bottom: 40px;
}

/* Map Section */
.kashaf-contact-map .kashaf-map-wrap {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(133, 102, 177, 0.08);
  box-shadow: 0 10px 30px rgba(19, 10, 36, 0.03);
  line-height: 0;
}

.kashaf-contact-map iframe {
  display: block;
  border: 0;
  width: 100%;
  height: 450px;
}

/* Responsive Media Queries - Contact */
@media (max-width: 1024px) {
  .kashaf-contact-cards .contact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .form-container-card {
    padding: 30px 20px;
  }
}

@media (max-width: 560px) {
  .kashaf-contact-cards {
    margin-top: -20px;
  }
  .kashaf-contact-cards .contact-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .form-container-card h2 {
    font-size: 24px;
  }
  .kashaf-contact-map iframe {
    height: 350px;
  }
}

/* =========================================================
   Legal / Policy pages (Terms 3512, Privacy 3, Refund 3513)
   Gives the bare policy text a readable, contained layout
   instead of edge-to-edge text glued to header/footer.
   Targets the WP content area now, and a .kashaf-legal-page
   wrapper for when content is wrapped later.
   ========================================================= */
body.page-id-3512 .entry-content,
body.page-id-3 .entry-content,
body.page-id-3513 .entry-content,
.kashaf-legal-page {
  max-width: 860px;
  margin-inline: auto;
  padding: 56px 24px 72px;
  direction: rtl;
  text-align: right;
  color: #3a3550;
  font-size: 16.5px;
  line-height: 1.95;
}

body.page-id-3512 .entry-content h2,
body.page-id-3 .entry-content h2,
body.page-id-3513 .entry-content h2,
.kashaf-legal-page h2 {
  color: #2d2d2d;
  font-size: 22px;
  font-weight: 800;
  margin: 38px 0 14px;
  padding-top: 6px;
  border-top: 1px solid rgba(133, 102, 177, 0.12);
}

body.page-id-3512 .entry-content p,
body.page-id-3 .entry-content p,
body.page-id-3513 .entry-content p,
.kashaf-legal-page p {
  margin: 0 0 16px;
}

body.page-id-3512 .entry-content ul,
body.page-id-3 .entry-content ul,
body.page-id-3513 .entry-content ul,
.kashaf-legal-page ul {
  margin: 0 0 20px;
  padding-right: 22px;
  list-style: disc;
}

body.page-id-3512 .entry-content li,
body.page-id-3 .entry-content li,
body.page-id-3513 .entry-content li,
.kashaf-legal-page li {
  margin-bottom: 8px;
}

body.page-id-3512 .entry-content a,
body.page-id-3 .entry-content a,
body.page-id-3513 .entry-content a,
.kashaf-legal-page a {
  color: #8566b1;
  text-decoration: underline;
}

/* Date line not required on any policy page */
.policy-updated {
  display: none;
}

/* ---------------------------------------------------------
   Global Floating WhatsApp Button (site-wide, single source)
   --------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #10b981;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.3);
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none !important;
}

.whatsapp-float:hover {
  background: #059669;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 14px 28px rgba(16, 185, 129, 0.4);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
  pointer-events: none;
}

@media (max-width: 720px) {
  .whatsapp-float {
    left: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
  }
  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
}

/* ---------------------------------------------------------
   Global Company Profile PDF Button
   --------------------------------------------------------- */
.btn-profile-pdf {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-weight: 700;
  font-size: 14.5px;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  text-decoration: none !important;
}

.btn-profile-pdf:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  color: #ffffff;
}
