/*!
Theme Name: GBC
Theme URI: http://underscores.me/
Author: Athul
Author URI: https://www.aufaitux.com/
Description: This wordpress theme is designed specifically for GBC
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: gbc
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

GBC is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
/* Polylang Language Switcher */
.lang-switcher {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
}

.lang-item {
  display: inline-block;
}

.lang-item a {
  color: white;
  text-decoration: none;
  font-weight: 300;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 5px 10px;
  border-bottom: 2px solid transparent;
}

.lang-item a:hover {
  opacity: 0.7;
}

/* Current language styling */
.lang-item.current-lang a {
  font-weight: 600;
  border-bottom-color: white;
  opacity: 1;
}

/* Mobile menu language switcher */
.nav-menu-drawer .lang-item a {
  color: #323232;
  font-size: 12px;
}

.nav-menu-drawer .lang-item.current-lang a {
  border-bottom-color: #323232;
}

.header .nav-home-logo {
  margin: auto;
  max-width: unset;
  min-width: unset;
}
/* Arabic typography overrides */
html[lang="ar"] .font-body-small,
body.rtl .font-body-small {
  font-size: calc(1rem + 2px);
}

html[lang="ar"] .font-body-normal,
body.rtl .font-body-normal,
html[lang="ar"] .font-text-md,
body.rtl .font-text-md {
  font-size: calc(1.125rem + 2px);
}

html[lang="ar"] .font-head-small,
body.rtl .font-head-small,
html[lang="ar"] .font-title-xxs,
body.rtl .font-title-xxs {
  font-size: calc(0.875rem + 2px);
}

html[lang="ar"] .font-title-xs,
body.rtl .font-title-xs {
  font-size: calc(1rem + 2px);
}

html[lang="ar"] .font-title-small,
body.rtl .font-title-small {
  font-size: calc(1.125rem + 2px);
}

html[lang="ar"] .font-title-normal,
body.rtl .font-title-normal {
  font-size: calc(1.25rem + 2px);
}

html[lang="ar"] .font-title-medium,
body.rtl .font-title-medium {
  font-size: calc(1.5rem + 2px);
}

html[lang="ar"] .font-title-large,
body.rtl .font-title-large {
  font-size: calc(1.75rem + 2px);
}

html[lang="ar"] .font-title-xl,
body.rtl .font-title-xl {
  font-size: calc(2.5rem + 2px);
}

html[lang="ar"] .font-title-xxl,
body.rtl .font-title-xxl {
  font-size: calc(2.875rem + 2px);
}

html[lang="ar"] .font-head-large,
body.rtl .font-head-large {
  font-size: calc(3.25rem + 2px);
}
/* Dynamically align Key Features using CSS Grid & Subgrid */
.project-inner .desc-wrapper .desc-wrap {
  display: grid !important; /* override flex-wrap */
  grid-template-columns: repeat(2, minmax(0, 1fr));
  row-gap: 0; /* Margin on paragraphs and padding on headers will provide natural vertical spacing */
  column-gap: 2.5rem;
  align-items: start;
}

@media screen and (max-width: 1457px) {
  .project-inner .desc-wrapper .desc-wrap {
    column-gap: 1.25rem;
  }
}

/* Each .desc is a normal grid cell — fills its column, height is auto */
.project-inner .desc-wrapper .desc-wrap .desc {
  max-width: 100% !important;
}

/* Mobile fallback */
@media screen and (max-width: 1091px) {
  .project-inner .desc-wrapper .desc-wrap {
    grid-template-columns: 1fr;
    row-gap: 1.5rem; /* Standard gap for mobile layout */
  }
  .project-inner .desc-wrapper .desc-wrap .desc {
    display: flex;
    flex-direction: column;
  }
}
/* ============================================================
   Key Features — scoped typography (replaces JS class injection)
   Targets h4 and p inside the .desc box directly, no classes needed.
   Mirrors what the footer.php JS was injecting dynamically.
   ============================================================ */
.project-inner .desc-wrapper .desc-wrap .desc h1,
.project-inner .desc-wrapper .desc-wrap .desc h2,
.project-inner .desc-wrapper .desc-wrap .desc h3,
.project-inner .desc-wrapper .desc-wrap .desc h4,
.project-inner .desc-wrapper .desc-wrap .desc h5,
.project-inner .desc-wrapper .desc-wrap .desc h6 {
  /* mirrors .font-title-normal */
  font-weight: 500;
  font-size: 1.25rem;
  color: #262626; /* var(--text-primary) */
  line-height: 1.3;
  /* mirrors .auf-pb-10 / .auf-pt-10 */
  padding-block-start: 0.625rem;
  padding-block-end: 0.625rem;
  margin: 0;
}

@media screen and (max-width: 480px) {
  .project-inner .desc-wrapper .desc-wrap .desc h4 {
    font-size: 1.125rem;
  }
}

.project-inner .desc-wrapper .desc-wrap .desc p {
  /* mirrors .font-body-normal + .font-color-tertiary + .font-weight-400 */
  font-weight: 400;
  font-size: 1.125rem;
  color: #505050; /* var(--text-primary-light) */
  line-height: 1.4;
  /* mirrors .auf-pt-10 / .auf-pb-20 */
  padding-block-start: 0.625rem;
  padding-block-end: 1.25rem;
  margin: 0;
}

@media screen and (max-width: 480px) {
  .project-inner .desc-wrapper .desc-wrap .desc p {
    font-size: 1rem;
  }
}

/* Arabic / RTL size bumps for key-features area */
html[lang="ar"] .project-inner .desc-wrapper .desc-wrap .desc h4,
body.rtl .project-inner .desc-wrapper .desc-wrap .desc h4 {
  font-size: calc(1.25rem + 2px);
}

html[lang="ar"] .project-inner .desc-wrapper .desc-wrap .desc p,
body.rtl .project-inner .desc-wrapper .desc-wrap .desc p {
  font-size: calc(1.125rem + 2px);
}

/* ============================================================
   sub-desc-wrapper — typography for the_content() output
   (h2, h3, p that sit directly in the content area, outside
    the key-features desc-wrap grid).
   Uses !important on color to beat any inline editor styles.
   ============================================================ */

/* h2 — mirrors .font-title-xl */
.project-inner .sub-desc-wrapper h2 {
  font-weight: 700;
  font-size: 2.5rem; /* 40px */
  color: #262626 !important;
  line-height: 1.3;
  letter-spacing: -0.8px;
  padding-block-start: 0;
  padding-block-end: 0.625rem;
  margin: 0;
}
.project-inner .sub-desc-wrapper h2 *,
.project-inner .sub-desc-wrapper h2 strong {
  font-size: inherit;
  font-weight: inherit;
  color: inherit !important;
}
@media screen and (max-width: 768px) {
  .project-inner .sub-desc-wrapper h2 {
    font-size: 1.875rem;
  } /* 30px */
}
@media screen and (max-width: 480px) {
  .project-inner .sub-desc-wrapper h2 {
    font-size: 1.625rem;
  } /* 26px */
}

/* h3 — mirrors .font-title-large */
.project-inner .sub-desc-wrapper h3 {
  font-weight: 500;
  font-size: 1.75rem; /* 28px */
  color: #262626 !important;
  line-height: 1.3;
  padding-block-start: 1.25rem;
  padding-block-end: 0.625rem;
  margin: 0;
}
.project-inner .sub-desc-wrapper h3 * {
  font-size: inherit;
  font-weight: inherit;
  color: inherit !important;
}
@media screen and (max-width: 480px) {
  .project-inner .sub-desc-wrapper h3 {
    font-size: 1.25rem;
  }
}

/* h4 outside the desc-wrap (intro h4s) — mirrors .font-title-normal */
.project-inner .sub-desc-wrapper > h4,
.project-inner .sub-desc-wrapper > .desc-wrapper h4 {
  font-weight: 500;
  font-size: 1.25rem;
  color: #262626 !important;
  line-height: 1.3;
  padding-block-start: 0.625rem;
  padding-block-end: 0.625rem;
  margin: 0;
}

/* p — mirrors .font-body-normal + .font-color-tertiary */
.project-inner .sub-desc-wrapper > p {
  font-weight: 400;
  font-size: 1.125rem;
  color: #505050 !important;
  line-height: 1.6;
  padding-block-start: 0;
  padding-block-end: 1rem;
  margin: 0;
  text-decoration: none;
}
.project-inner .sub-desc-wrapper > p * {
  color: inherit !important;
  text-decoration: none;
}
@media screen and (max-width: 480px) {
  .project-inner .sub-desc-wrapper > p {
    font-size: 1rem;
  }
}

/* Arabic / RTL bumps for sub-desc-wrapper content */
html[lang="ar"] .project-inner .sub-desc-wrapper h2,
body.rtl .project-inner .sub-desc-wrapper h2 {
  font-size: calc(2.5rem + 2px);
}
html[lang="ar"] .project-inner .sub-desc-wrapper h3,
body.rtl .project-inner .sub-desc-wrapper h3 {
  font-size: calc(1.75rem + 2px);
}
html[lang="ar"] .project-inner .sub-desc-wrapper > p,
body.rtl .project-inner .sub-desc-wrapper > p {
  font-size: calc(1.125rem + 2px);
}
.projects .image-property .overlay {
  background-color: rgb(0 0 0 / 48%);
}

/* ============================================================
   Investor banner — scoped white typography
   The banner always sits on a dark background image, so all
   text inside .investor-header-content is always white.
   Editors should type plain h2/p — no inline color needed.
   ============================================================ */
.investor-header-content h1,
.investor-header-content h2,
.investor-header-content h3,
.investor-header-content h4,
.investor-header-content h5,
.investor-header-content h6 {
  /* mirrors .font-title-xl .font-weight-500 */
  font-weight: 700;
  font-size: 3.25rem;
  line-height: 1.3;
  letter-spacing: -0.8px;
  color: #ffffff;
  padding-block-start: 0;
  padding-block-end: 0.75rem;
  margin: 0;
}

/* Allow h2 > strong without doubling bold */
.investor-header-content h1 *,
.investor-header-content h2 *,
.investor-header-content h3 *,
.investor-header-content h4 *,
.investor-header-content h5 *,
.investor-header-content h6 * {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.investor-header-content p {
  /* mirrors .font-body-normal .font-weight-400 */
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.6;
  color: #ffffff;
  padding-block-start: 0;
  padding-block-end: 0.625rem;
  margin: 0;
}

.investor-header-content p * {
  color: inherit;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .investor-header-content h2 {
    font-size: 1.875rem;
  }
}
@media screen and (max-width: 480px) {
  .investor-header-content h2 {
    font-size: 1.625rem;
  }
  .investor-header-content p {
    font-size: 1rem;
  }
}

/* Arabic / RTL */
html[lang="ar"] .investor-header-content h2,
body.rtl .investor-header-content h2 {
  font-size: calc(3.25rem + 2px);
}
html[lang="ar"] .investor-header-content p,
body.rtl .investor-header-content p {
  font-size: calc(1.25rem + 2px);
}
/* ============================================================
   About us header content — white typography
   ============================================================ */
.about-us-header-content h1,
.about-us-header-content h2,
.about-us-header-content h3,
.about-us-header-content h4,
.about-us-header-content h5,
.about-us-header-content h6 {
  /* mirrors .font-title-xl .font-weight-500 */
  font-weight: 700;
  font-size: 3.25rem;
  line-height: 1.3;
  letter-spacing: -0.8px;
  color: #ffffff;
  padding-block-start: 0;
  padding-block-end: 0.75rem;
  margin: 0;
}

/* Allow h2 > strong without doubling bold */
.about-us-header-content h1 *,
.about-us-header-content h2 *,
.about-us-header-content h3 *,
.about-us-header-content h4 *,
.about-us-header-content h5 *,
.about-us-header-content h6 * {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.about-us-header-content p {
  /* mirrors .font-body-normal .font-weight-400 */
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.6;
  color: #ffffff;
  padding-block-start: 0;
  padding-block-end: 0.625rem;
  margin: 0;
}

/* ============================================================
   Project header content — white typography
   ============================================================ */
.project-header-content h1,
.project-header-content h2,
.project-header-content h3,
.project-header-content h4,
.project-header-content h5,
.project-header-content h6 {
  /* mirrors .font-title-xl .font-weight-500 */
  font-weight: 700;
  font-size: 3.25rem;
  line-height: 1.3;
  letter-spacing: -0.8px;
  color: #ffffff;
  padding-block-start: 0;
  padding-block-end: 0.75rem;
  margin: 0;
}

/* Allow h2 > strong without doubling bold */
.project-header-content h1 *,
.project-header-content h2 *,
.project-header-content h3 *,
.project-header-content h4 *,
.project-header-content h5 *,
.project-header-content h6 * {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.project-header-content p {
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.6;
  color: #ffffff;
  padding-block-start: 0;
  padding-block-end: 0.625rem;
  margin: 0;
}

/* ============================================================
   Contact header content — white typography
   ============================================================ */
.contact-header-content h1,
.contact-header-content h2,
.contact-header-content h3,
.contact-header-content h4,
.contact-header-content h5,
.contact-header-content h6 {
  /* mirrors .font-title-xl .font-weight-500 */
  font-weight: 700;
  font-size: 3.25rem;
  line-height: 1.3;
  letter-spacing: -0.8px;
  color: #ffffff;
  padding-block-start: 0;
  padding-block-end: 0.75rem;
  margin: 0;
}

/* Allow h2 > strong without doubling bold */
.contact-header-content h1 *,
.contact-header-content h2 *,
.contact-header-content h3 *,
.contact-header-content h4 *,
.contact-header-content h5 *,
.contact-header-content h6 * {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.contact-header-content p {
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.6;
  color: #ffffff;
  padding-block-start: 0;
  padding-block-end: 0.625rem;
  margin: 0;
}
.header .home-logo {
    max-width: 7.25rem;
}
ul#wpforms-1062-field_10 {
    display: none;
}
ul#wpforms-1303-field_10 {
    display: none;
}
body.rtl div.wpforms-container-full .wpforms-form .iti--allow-dropdown input[type=tel] {
    padding-right: 94px !important;
}