/* =========================================================
   Al Fikrah Al Raedah Contracting Est. — site styles
   Loaded after the template's style.css on every page.
   Brand colors come from the company logo:
   navy #0F2B3D, gold #F2A900.
   ========================================================= */

:root {
  --af-navy: #0F2B3D;
  --af-navy-2: #1A3B52;
  --af-gold: #F2A900;
  --af-gold-ink: #946700;          /* gold dark enough for small text on light backgrounds */
  --af-tint: #EEF2F5;              /* light navy tint for hero bands */
  --af-line: rgba(15, 43, 61, 0.14);

  /* template variables re-pointed to the brand */
  --primary: #0F2B3D;
  --black: #0F2B3D;
  --bg: #0F2B3D;
  --theme: #F2A900;
  --action: #F2A900;
  --border: rgba(15, 43, 61, 0.12);
}

body {
  color: var(--af-navy);
}

/* ---------- Logo ----------
   The template caps header logos at max-width: 95px, which squashed
   this wide logo. Size by height and keep the natural proportions. */
.header-area .header__logo {
  padding: 10px 26px;
}

.header-area .header__logo img,
.header__logo img,
.offset-logo img {
  height: 50px;
  width: auto;
  max-width: none;
  object-fit: contain;
  image-rendering: auto;
}

@media only screen and (max-width: 1199px) {
  .header-area .header__logo {
    padding: 0;
  }
}

@media only screen and (max-width: 575px) {

  .header-area .header__logo img,
  .header__logo img {
    height: 40px;
  }
}

.footer-logo img {
  height: 70px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

/* ---------- Buttons on gold hover: keep text readable ---------- */
.rr-btn.hover-bg-theme:hover .btn-wrap .text-two,
.rr-btn.hover-bg-theme:focus .btn-wrap .text-two {
  color: var(--af-navy);
}

/* ---------- Header dropdown: keep it compact ---------- */
.main-menu ul li .dp-menu li a {
  white-space: nowrap;
}

/* ---------- Home hero ---------- */
.hero-area {
  background-color: var(--af-tint);
}

.hero-area .hero-content.af-hero-content {
  grid-template-columns: 1fr 490px;
}

@media only screen and (max-width: 1399px) {
  .hero-area .hero-content.af-hero-content {
    grid-template-columns: 1fr 440px;
  }
}

@media only screen and (max-width: 1199px) {
  .hero-area .hero-content.af-hero-content {
    grid-template-columns: 1fr;
  }
}

.hero-area .af-title-mark {
  display: inline-block;
  height: 0.78em;
  width: auto;
  vertical-align: -0.06em;
  margin: 0 0.12em;
}

.hero-area .big-text.af-big-text {
  font-size: 25.5vw;
  white-space: nowrap;
  color: var(--af-navy);
}

.hero-area .big-text.af-big-text span {
  color: var(--af-gold);
}

@media only screen and (min-width: 1920px) {
  .hero-area .big-text.af-big-text {
    font-size: 490px;
  }
}

/* ---------- Shared labels ---------- */
.af-eyebrow,
.hero-area .af-tagline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--af-gold-ink);
  margin-bottom: 18px;
}

.af-eyebrow::before,
.hero-area .af-tagline::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--af-gold);
}

.af-section {
  position: relative;
}

/* ---------- Inner page hero ---------- */
.af-page-hero {
  background-color: var(--af-tint);
  position: relative;
  overflow: hidden;
}

.af-page-hero-inner {
  padding: 190px 0 110px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: end;
}

@media only screen and (max-width: 991px) {
  .af-page-hero-inner {
    padding: 150px 0 70px;
    grid-template-columns: 1fr;
  }
}

.af-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 15px;
  margin-bottom: 26px;
  color: var(--af-navy);
  opacity: 0.75;
}

.af-breadcrumb a {
  color: inherit;
}

.af-breadcrumb a:hover {
  color: var(--af-gold-ink);
}

.af-page-hero h1 {
  font-size: 110px;
  line-height: 0.95;
  font-weight: 500;
  letter-spacing: -0.02em;
  max-width: 1100px;
  text-wrap: balance;
}

@media only screen and (max-width: 1399px) {
  .af-page-hero h1 {
    font-size: 80px;
  }
}

@media only screen and (max-width: 767px) {
  .af-page-hero h1 {
    font-size: 46px;
  }
}

.af-page-hero .af-lead {
  font-size: 21px;
  line-height: 1.55;
  max-width: 720px;
  margin-top: 30px;
  opacity: 0.85;
}

@media only screen and (max-width: 767px) {
  .af-page-hero .af-lead {
    font-size: 17px;
  }
}

.af-page-hero .af-hero-mark {
  width: 190px;
  height: auto;
}

@media only screen and (max-width: 991px) {
  .af-page-hero .af-hero-mark {
    display: none;
  }
}

/* ---------- Split layout (title left, text right) ---------- */
.af-split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 60px;
  align-items: start;
}

@media only screen and (max-width: 991px) {
  .af-split {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.af-split .af-split-title {
  position: sticky;
  top: 120px;
}

.af-split .af-split-title .section-title,
.af-h2 {
  font-size: 60px;
  line-height: 1.05;
  font-weight: 500;
  text-wrap: balance;
}

@media only screen and (max-width: 1199px) {

  .af-split .af-split-title .section-title,
  .af-h2 {
    font-size: 44px;
  }
}

@media only screen and (max-width: 767px) {

  .af-split .af-split-title .section-title,
  .af-h2 {
    font-size: 34px;
  }
}

.af-body p {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 24px;
  color: var(--af-navy);
  opacity: 0.85;
}

@media only screen and (max-width: 767px) {
  .af-body p {
    font-size: 17px;
  }
}

.af-body .af-pull {
  font-size: 30px;
  line-height: 1.3;
  opacity: 1;
  color: var(--af-gold-ink);
  margin: 36px 0;
}

.af-body .af-closing {
  font-size: 30px;
  line-height: 1.3;
  opacity: 1;
  border-top: 1px solid var(--af-line);
  padding-top: 30px;
  margin-top: 40px;
}

@media only screen and (max-width: 767px) {

  .af-body .af-pull,
  .af-body .af-closing {
    font-size: 23px;
  }
}

/* ---------- Home about block ---------- */
.about-area .af-about-more {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  max-width: 1100px;
  margin: 50px auto 0;
  text-align: left;
}

.about-area .af-about-more p {
  font-size: 16px;
  line-height: 1.65;
  opacity: 0.8;
}

@media only screen and (max-width: 991px) {
  .about-area .af-about-more {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.about-area .text-wrapper .af-lead {
  max-width: 1000px;
  margin: 0 auto;
}

/* ---------- Vision / Mission / Goal ---------- */
.af-vmg {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--af-line);
}

.af-vmg-item {
  padding: 40px 40px 10px 0;
}

.af-vmg-item+.af-vmg-item {
  padding-left: 40px;
  border-left: 1px solid var(--af-line);
}

.af-vmg-item .count {
  font-size: 18px;
  color: var(--af-gold-ink);
}

.af-vmg-item h3 {
  font-size: 36px;
  margin: 18px 0 22px;
}

.af-vmg-item p {
  font-size: 17px;
  line-height: 1.65;
  opacity: 0.85;
  margin-bottom: 16px;
}

@media only screen and (max-width: 991px) {
  .af-vmg {
    grid-template-columns: 1fr;
  }

  .af-vmg-item,
  .af-vmg-item+.af-vmg-item {
    padding: 30px 0 10px;
    border-left: 0;
    border-top: 1px solid var(--af-line);
  }

  .af-vmg-item:first-child {
    border-top: 0;
  }
}

/* ---------- Services list (template service-area) ---------- */
.service-area .service-box .af-service-intro {
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.8;
  margin: 14px 0 16px;
  max-width: 520px;
}

.service-area .service-box .service-list li {
  color: var(--af-navy);
}

.service-area .af-section-intro {
  max-width: 620px;
  margin-top: 24px;
  font-size: 18px;
  opacity: 0.8;
}

.service-area .service-box .title a:hover {
  color: var(--af-gold-ink);
}

.af-more-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font-size: 16px;
  font-weight: 500;
  color: var(--af-navy);
  border-bottom: 1px solid var(--af-gold);
  padding-bottom: 3px;
}

.af-more-link:hover {
  color: var(--af-gold-ink);
}

/* ---------- Why us (template funfact-area, dark) ---------- */
.funfact-area .funfact-item .af-why-title {
  display: block;
  color: var(--white);
  font-size: 26px;
  margin-top: 30px;
}

.funfact-area .funfact-item .af-why-title+.text {
  margin-top: 12px;
  color: #B7C3CC;
}

.funfact-area .funfact-item .number {
  color: var(--af-gold);
}

.funfact-area .funfact-item:not(:first-child) {
  margin-top: 110px;
}

@media only screen and (max-width: 991px) {
  .funfact-area .funfact-item:not(:first-child) {
    margin-top: 50px;
  }
}

/* ---------- Projects ---------- */
.work-area .af-projects-intro {
  max-width: 760px;
  font-size: 20px;
  line-height: 1.55;
  margin: 70px auto 70px;
  text-align: center;
  opacity: 0.85;
}

.work-area .work-box .af-work-desc {
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.75;
  margin-top: 10px;
  max-width: 520px;
}

.work-area .works-wrapper-box {
  padding-bottom: 40px;
}

/* ---------- Clients & partners ---------- */
.af-clients-list {
  list-style: none;
  padding: 0;
  margin: 70px 0 0;
  border-top: 1px solid var(--af-line);
}

.af-clients-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--af-line);
}

.af-clients-list .name {
  font-size: 44px;
  line-height: 1.1;
}

.af-clients-list .field {
  font-size: 15px;
  opacity: 0.65;
  text-align: right;
}

@media only screen and (max-width: 767px) {
  .af-clients-list .name {
    font-size: 26px;
  }

  .af-clients-list li {
    flex-direction: column;
    gap: 6px;
  }

  .af-clients-list .field {
    text-align: left;
  }
}

.af-clients-note {
  margin-top: 40px;
  font-size: 18px;
  opacity: 0.8;
  max-width: 640px;
}

/* ---------- Commitment ---------- */
.productivity-area .af-commit-text {
  max-width: 820px;
  margin: 50px auto 0;
  text-align: center;
}

.productivity-area .af-commit-text p {
  font-size: 20px;
  line-height: 1.6;
  opacity: 0.85;
  margin-bottom: 18px;
}

.productivity-area .section-title .shape-1,
.productivity-area .section-title .shape-2 {
  color: var(--af-gold-ink);
}

/* ---------- Service detail pages ---------- */
.af-offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--af-line);
  margin-top: 50px;
}

.af-offer-grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.af-offer {
  padding: 34px 34px 34px 0;
  border-bottom: 1px solid var(--af-line);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  min-width: 0;
}

.af-offer i {
  color: var(--af-gold);
  font-size: 20px;
  margin-top: 4px;
  flex: none;
}

.af-offer h3 {
  font-size: 22px;
  line-height: 1.35;
  font-weight: 500;
}

.af-offer p {
  font-size: 16px;
  line-height: 1.65;
  opacity: 0.8;
  margin-top: 10px;
}

@media only screen and (max-width: 1199px) {
  .af-offer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media only screen and (max-width: 767px) {

  .af-offer-grid,
  .af-offer-grid.cols-2 {
    grid-template-columns: 1fr;
  }

  .af-offer {
    padding: 24px 0;
  }
}

.af-detail-image {
  border-radius: 20px;
  overflow: hidden;
}

.af-detail-image img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 21 / 8;
  object-fit: cover;
  display: block;
}

@media only screen and (max-width: 767px) {
  .af-detail-image img {
    aspect-ratio: 4 / 3;
  }
}

.af-project-card {
  background: var(--af-navy);
  color: var(--white);
  border-radius: 24px;
  padding: 56px;
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 40px;
  align-items: start;
}

.af-project-card .af-eyebrow {
  color: var(--af-gold);
}

.af-project-card h3 {
  font-size: 48px;
  line-height: 1.05;
  color: var(--white);
  font-weight: 500;
}

.af-project-card p {
  font-size: 19px;
  line-height: 1.6;
  color: #C9D3DA;
}

.af-project-card .tag {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  color: var(--af-gold);
}

@media only screen and (max-width: 991px) {
  .af-project-card {
    grid-template-columns: 1fr;
    padding: 34px 26px;
  }

  .af-project-card h3 {
    font-size: 34px;
  }
}

.af-why-mini {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.af-why-mini h3 {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 10px;
}

.af-why-mini p {
  font-size: 16px;
  line-height: 1.65;
  opacity: 0.8;
}

@media only screen and (max-width: 991px) {
  .af-why-mini {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.af-other-services {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  border-top: 1px solid var(--af-line);
}

.af-other-services li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--af-line);
  font-size: 36px;
  line-height: 1.15;
  color: var(--af-navy);
  transition: color 0.2s, padding 0.3s;
}

.af-other-services li a i {
  font-size: 22px;
  color: var(--af-gold);
}

.af-other-services li a:hover {
  color: var(--af-gold-ink);
  padding-left: 12px;
}

@media only screen and (max-width: 767px) {
  .af-other-services li a {
    font-size: 24px;
  }
}

.af-pad {
  padding: 120px 0;
}

.af-pad-top {
  padding-top: 120px;
}

.af-pad-bottom {
  padding-bottom: 120px;
}

@media only screen and (max-width: 991px) {
  .af-pad {
    padding: 80px 0;
  }

  .af-pad-top {
    padding-top: 80px;
  }

  .af-pad-bottom {
    padding-bottom: 80px;
  }
}

.af-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  flex-wrap: wrap;
}

.af-section-head p {
  max-width: 560px;
  font-size: 18px;
  line-height: 1.6;
  opacity: 0.8;
}

/* ---------- CTA circle ---------- */
.cta-area-inner .area-bg {
  background-color: var(--af-navy);
}

/* ---------- Footer contact ---------- */
.footer-area .af-contact-list li {
  line-height: 1.5;
  margin-bottom: 10px;
}

.footer-area .af-contact-list .label {
  display: block;
  font-size: 13px;
  opacity: 0.6;
}

.footer-area .footer-widget-wrapper {
  justify-content: space-between;
}

.footer-area .footer-nav-list a:hover {
  color: var(--af-gold-ink);
}

/* ---------- Current page in the menu ---------- */
.main-menu > ul > li.af-active > a {
  color: var(--af-gold-ink);
}

.af-clients-list .name a {
  color: inherit;
}

.af-clients-list .name a:hover {
  color: var(--af-gold-ink);
}

/* ---------- Illustrations fill their frames ---------- */
.service-area .service-box .thumb img,
.work-area .work-box .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Language switch ---------- */
.af-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.af-lang {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 0 20px;
  border: 1px solid var(--af-line);
  border-radius: 100px;
  font-size: 16px;
  font-weight: 500;
  color: var(--af-navy);
  background: transparent;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.af-lang i {
  color: var(--af-gold-ink);
  font-size: 15px;
}

.af-lang:hover,
.af-lang:focus-visible {
  background: var(--af-navy);
  border-color: var(--af-navy);
  color: #fff;
}

.af-lang:hover i,
.af-lang:focus-visible i {
  color: var(--af-gold);
}

.af-lang:focus-visible {
  outline: 2px solid var(--af-gold);
  outline-offset: 2px;
}

.af-navicon {
  display: flex;
  align-items: center;
  gap: 12px;
}

.af-lang.af-lang-mobile {
  height: 40px;
  padding: 0 14px;
  font-size: 14px;
}

.af-offset-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.af-body .af-pull.af-pull-first {
  margin-top: 0;
}

.af-btn-gap {
  margin-top: 36px;
}

.header__navicon .af-lang i,
.af-lang i {
  font-size: 15px !important;
}
