/* =========================================================
   Maal Home - Global unified section headings
   Matches the Projects section heading style across public site sections.
   ========================================================= */
:root {
  --maal-heading-font: "Cairo", sans-serif;
  --maal-heading-title: #ffffff;
  --maal-heading-title-light: #18324b;
  --maal-heading-desc: rgba(234, 245, 255, .90);
  --maal-heading-desc-light: #607186;
  --maal-heading-line: #5a9ed8;
  --maal-heading-line-2: #2f7fc6;
}

/* Shared wrapper for every section title block */
.heading,
.home-section-heading,
.project-heading,
.section-header,
.section-title,
.service .heading,
.project .heading,
.blog-area .heading,
.team .heading,
.testimonial .heading,
.partner .heading,
.feature .heading,
.pricing .heading,
.corona-case .heading,
.countrywise .heading,
.newsletter-text {
  position: relative !important;
  z-index: 2 !important;
  width: min(820px, 100%) !important;
  max-width: 820px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: clamp(34px, 5vw, 56px) !important;
  padding: 0 14px !important;
  text-align: center !important;
  font-family: var(--maal-heading-font) !important;
}

/* Main section title */
.heading h2,
.home-section-heading h2,
.project-heading h2,
.section-header h2,
.section-title h2,
.service .heading h2,
.project .heading h2,
.blog-area .heading h2,
.team .heading h2,
.testimonial .heading h2,
.partner .heading h2,
.feature .heading h2,
.pricing .heading h2,
.corona-case .heading h2,
.countrywise .heading h2,
.newsletter-text h2,
.page-banner .text h1 {
  position: relative !important;
  display: inline-block !important;
  margin: 0 !important;
  padding: 0 12px 22px !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  font-family: var(--maal-heading-font) !important;
  font-size: clamp(30px, 4vw, 54px) !important;
  line-height: 1.22 !important;
  font-weight: 900 !important;
  letter-spacing: -0.02em !important;
  color: var(--maal-heading-title-light) !important;
  text-align: center !important;
  text-wrap: balance;
}

/* Remove older decorative blobs so every heading keeps the clean Projects look. */
.heading h2::before,
.home-section-heading h2::before,
.project-heading h2::before,
.section-header h2::before,
.section-title h2::before,
.service .heading h2::before,
.project .heading h2::before,
.blog-area .heading h2::before,
.team .heading h2::before,
.testimonial .heading h2::before,
.partner .heading h2::before,
.feature .heading h2::before,
.pricing .heading h2::before,
.corona-case .heading h2::before,
.countrywise .heading h2::before,
.newsletter-text h2::before,
.page-banner .text h1::before {
  content: none !important;
  display: none !important;
}

/* Blue underline exactly under the title */
.heading h2::after,
.home-section-heading h2::after,
.project-heading h2::after,
.section-header h2::after,
.section-title h2::after,
.service .heading h2::after,
.project .heading h2::after,
.blog-area .heading h2::after,
.team .heading h2::after,
.testimonial .heading h2::after,
.partner .heading h2::after,
.feature .heading h2::after,
.pricing .heading h2::after,
.corona-case .heading h2::after,
.countrywise .heading h2::after,
.newsletter-text h2::after,
.page-banner .text h1::after {
  content: "" !important;
  position: absolute !important;
  right: 50% !important;
  bottom: 0 !important;
  width: 116px !important;
  max-width: 70% !important;
  height: 5px !important;
  border-radius: 999px !important;
  background: linear-gradient(270deg, var(--maal-heading-line) 0%, var(--maal-heading-line-2) 100%) !important;
  box-shadow: 0 8px 18px rgba(90, 158, 216, .18) !important;
  transform: translateX(50%) !important;
  pointer-events: none !important;
}

/* Section description/subtitle */
.heading h3,
.home-section-heading h3,
.project-heading h3,
.section-header h3,
.section-header p,
.section-title h3,
.section-title p,
.service .heading h3,
.project .heading h3,
.blog-area .heading h3,
.team .heading h3,
.testimonial .heading h3,
.partner .heading h3,
.feature .heading h3,
.pricing .heading h3,
.corona-case .heading h3,
.countrywise .heading h3,
.newsletter-text p {
  display: block !important;
  width: min(760px, 100%) !important;
  max-width: 760px !important;
  margin: 18px auto 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  font-family: var(--maal-heading-font) !important;
  font-size: clamp(15px, 1.7vw, 21px) !important;
  line-height: 1.8 !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
  color: var(--maal-heading-desc-light) !important;
  text-align: center !important;
}

/* Dark/blue sections: keep the white Projects screenshot style. */
.project.project-parallax-jeddah .heading h2,
.project.project-parallax-jeddah .project-heading h2,
.project.project-parallax-jeddah.project-fixed-bg-section .heading h2,
.project.project-parallax-jeddah.project-fixed-bg-section .project-heading h2,
.newsletter-text h2,
.page-banner .text h1 {
  color: var(--maal-heading-title) !important;
  text-shadow: 0 10px 30px rgba(0, 0, 0, .42) !important;
}

.project.project-parallax-jeddah .heading h3,
.project.project-parallax-jeddah .project-heading h3,
.project.project-parallax-jeddah.project-fixed-bg-section .heading h3,
.project.project-parallax-jeddah.project-fixed-bg-section .project-heading h3,
.newsletter-text p {
  color: var(--maal-heading-desc) !important;
  text-shadow: 0 8px 24px rgba(0, 0, 0, .34) !important;
}

/* Make the Projects heading card keep the same centered title/description rhythm. */
.project.project-parallax-jeddah .project-heading,
.project.project-parallax-jeddah.project-fixed-bg-section .project-heading {
  margin-bottom: clamp(34px, 5vw, 56px) !important;
}

/* Page banners do not have descriptions, but their titles now share the same font/size/underline. */
.page-banner .text {
  text-align: center !important;
  font-family: var(--maal-heading-font) !important;
}

@media (max-width: 767.98px) {
  .heading,
  .home-section-heading,
  .project-heading,
  .section-header,
  .section-title,
  .service .heading,
  .project .heading,
  .blog-area .heading,
  .team .heading,
  .testimonial .heading,
  .partner .heading,
  .feature .heading,
  .pricing .heading,
  .corona-case .heading,
  .countrywise .heading,
  .newsletter-text {
    margin-bottom: 32px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .heading h2,
  .home-section-heading h2,
  .project-heading h2,
  .section-header h2,
  .section-title h2,
  .service .heading h2,
  .project .heading h2,
  .blog-area .heading h2,
  .team .heading h2,
  .testimonial .heading h2,
  .partner .heading h2,
  .feature .heading h2,
  .pricing .heading h2,
  .corona-case .heading h2,
  .countrywise .heading h2,
  .newsletter-text h2,
  .page-banner .text h1 {
    font-size: clamp(28px, 9vw, 40px) !important;
    line-height: 1.24 !important;
    padding-bottom: 18px !important;
  }

  .heading h2::after,
  .home-section-heading h2::after,
  .project-heading h2::after,
  .section-header h2::after,
  .section-title h2::after,
  .service .heading h2::after,
  .project .heading h2::after,
  .blog-area .heading h2::after,
  .team .heading h2::after,
  .testimonial .heading h2::after,
  .partner .heading h2::after,
  .feature .heading h2::after,
  .pricing .heading h2::after,
  .corona-case .heading h2::after,
  .countrywise .heading h2::after,
  .newsletter-text h2::after,
  .page-banner .text h1::after {
    width: 90px !important;
    height: 4px !important;
  }

  .heading h3,
  .home-section-heading h3,
  .project-heading h3,
  .section-header h3,
  .section-header p,
  .section-title h3,
  .section-title p,
  .service .heading h3,
  .project .heading h3,
  .blog-area .heading h3,
  .team .heading h3,
  .testimonial .heading h3,
  .partner .heading h3,
  .feature .heading h3,
  .pricing .heading h3,
  .corona-case .heading h3,
  .countrywise .heading h3,
  .newsletter-text p {
    width: min(94%, 760px) !important;
    font-size: clamp(15px, 4.2vw, 18px) !important;
    line-height: 1.85 !important;
    margin-top: 14px !important;
  }
}

/* =========================================================
   USER UPDATE - Force unified Projects-style heading on Why Us
   The Why Us section has its own highly-specific CSS, so this
   override is intentionally more specific and loaded last.
   ========================================================= */
.why-us-final-section .heading.home-section-heading.why-us-final-heading,
.why-us-final-section .home-section-heading.why-us-final-heading,
.why-us-final-section .why-us-final-heading{
  position: relative !important;
  z-index: 4 !important;
  width: min(820px, 100%) !important;
  max-width: 820px !important;
  margin: 0 auto clamp(34px, 5vw, 56px) !important;
  padding: 0 14px !important;
  text-align: center !important;
  font-family: var(--maal-heading-font) !important;
}

.why-us-final-section .heading.home-section-heading.why-us-final-heading h2,
.why-us-final-section .home-section-heading.why-us-final-heading h2,
.why-us-final-section .why-us-final-heading h2{
  position: relative !important;
  display: inline-block !important;
  margin: 0 !important;
  padding: 0 12px 22px !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  font-family: var(--maal-heading-font) !important;
  font-size: clamp(30px, 4vw, 54px) !important;
  line-height: 1.22 !important;
  font-weight: 900 !important;
  letter-spacing: -0.02em !important;
  color: var(--maal-heading-title-light) !important;
  text-align: center !important;
  text-wrap: balance;
  text-shadow: none !important;
}

.why-us-final-section .heading.home-section-heading.why-us-final-heading h2::before,
.why-us-final-section .home-section-heading.why-us-final-heading h2::before,
.why-us-final-section .why-us-final-heading h2::before{
  content: none !important;
  display: none !important;
}

.why-us-final-section .heading.home-section-heading.why-us-final-heading h2::after,
.why-us-final-section .home-section-heading.why-us-final-heading h2::after,
.why-us-final-section .why-us-final-heading h2::after{
  content: "" !important;
  position: absolute !important;
  right: 50% !important;
  bottom: 0 !important;
  width: 116px !important;
  max-width: 70% !important;
  height: 5px !important;
  border-radius: 999px !important;
  background: linear-gradient(270deg, var(--maal-heading-line) 0%, var(--maal-heading-line-2) 100%) !important;
  box-shadow: 0 8px 18px rgba(90, 158, 216, .18) !important;
  transform: translateX(50%) !important;
  pointer-events: none !important;
}

.why-us-final-section .heading.home-section-heading.why-us-final-heading h3,
.why-us-final-section .home-section-heading.why-us-final-heading h3,
.why-us-final-section .why-us-final-heading h3{
  display: block !important;
  width: min(760px, 100%) !important;
  max-width: 760px !important;
  margin: 18px auto 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  font-family: var(--maal-heading-font) !important;
  font-size: clamp(15px, 1.7vw, 21px) !important;
  line-height: 1.8 !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
  color: var(--maal-heading-desc-light) !important;
  text-align: center !important;
  text-shadow: none !important;
}

@media (max-width: 767.98px) {
  .why-us-final-section .heading.home-section-heading.why-us-final-heading,
  .why-us-final-section .home-section-heading.why-us-final-heading,
  .why-us-final-section .why-us-final-heading{
    margin-bottom: 32px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .why-us-final-section .heading.home-section-heading.why-us-final-heading h2,
  .why-us-final-section .home-section-heading.why-us-final-heading h2,
  .why-us-final-section .why-us-final-heading h2{
    font-size: clamp(28px, 9vw, 40px) !important;
    line-height: 1.24 !important;
    padding-bottom: 18px !important;
  }

  .why-us-final-section .heading.home-section-heading.why-us-final-heading h2::after,
  .why-us-final-section .home-section-heading.why-us-final-heading h2::after,
  .why-us-final-section .why-us-final-heading h2::after{
    width: 90px !important;
    height: 4px !important;
  }

  .why-us-final-section .heading.home-section-heading.why-us-final-heading h3,
  .why-us-final-section .home-section-heading.why-us-final-heading h3,
  .why-us-final-section .why-us-final-heading h3{
    width: min(94%, 760px) !important;
    font-size: clamp(15px, 4.2vw, 18px) !important;
    line-height: 1.85 !important;
    margin-top: 14px !important;
  }
}
