/*
Theme Name: Get My Leads Fast
Theme URI: https://getmyleadsfast.com
Author: Get My Leads Fast
Author URI: https://getmyleadsfast.com
Description: A lightweight, conversion-focused WordPress theme for Gulf service businesses. Includes service and area content types, global business settings, RTL support, and prominent call and WhatsApp actions.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gmlf
Tags: custom-logo, custom-menu, featured-images, rtl-language-support, translation-ready, blog
*/

:root {
  --gmlf-navy: #061d3a;
  --gmlf-navy-2: #0c315c;
  --gmlf-green: #58a62c;
  --gmlf-green-dark: #3f861f;
  --gmlf-white: #ffffff;
  --gmlf-ink: #11233b;
  --gmlf-muted: #5f6f82;
  --gmlf-light: #f4f7f9;
  --gmlf-border: #dfe7ed;
  --gmlf-radius: 20px;
  --gmlf-shadow: 0 18px 50px rgba(6, 29, 58, .12);
  --gmlf-container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--gmlf-ink); background: #fff; font-family: Inter, Arial, sans-serif; line-height: 1.7; }
img { max-width: 100%; height: auto; }
a { color: var(--gmlf-navy-2); text-decoration: none; }
a:hover { color: var(--gmlf-green-dark); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.gmlf-container { width: min(100% - 32px, var(--gmlf-container)); margin-inline: auto; }
.gmlf-section { padding: 86px 0; }
.gmlf-section--soft { background: var(--gmlf-light); }
.gmlf-eyebrow { color: var(--gmlf-green-dark); font-size: .84rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.gmlf-title { margin: 8px 0 18px; color: var(--gmlf-navy); font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.08; letter-spacing: -.035em; }
.gmlf-lead { max-width: 720px; color: var(--gmlf-muted); font-size: 1.08rem; }
.gmlf-grid { display: grid; gap: 24px; }
.gmlf-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gmlf-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gmlf-card { overflow: hidden; background: #fff; border: 1px solid var(--gmlf-border); border-radius: var(--gmlf-radius); box-shadow: 0 10px 35px rgba(6,29,58,.07); transition: transform .2s ease, box-shadow .2s ease; }
.gmlf-card:hover { transform: translateY(-4px); box-shadow: var(--gmlf-shadow); }
.gmlf-card__media { aspect-ratio: 16 / 10; background: linear-gradient(135deg, #dfe8ef, #f7fafb); overflow: hidden; }
.gmlf-card__media img { width: 100%; height: 100%; object-fit: cover; }
.gmlf-card__body { padding: 25px; }
.gmlf-card h3 { margin: 0 0 10px; color: var(--gmlf-navy); font-size: 1.28rem; line-height: 1.25; }
.gmlf-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 0 22px; color: #fff; background: var(--gmlf-green); border: 0; border-radius: 999px; font: inherit; font-weight: 800; cursor: pointer; transition: .2s ease; }
.gmlf-button:hover { color: #fff; background: var(--gmlf-green-dark); transform: translateY(-1px); }
.gmlf-button--navy { background: var(--gmlf-navy); }
.gmlf-button--navy:hover { background: var(--gmlf-navy-2); }
.gmlf-button--outline { color: var(--gmlf-navy); background: #fff; border: 2px solid var(--gmlf-navy); }
.gmlf-button--outline:hover { color: #fff; background: var(--gmlf-navy); }

.gmlf-topbar { padding: 8px 0; color: #fff; background: var(--gmlf-navy); font-size: .88rem; }
.gmlf-topbar__inner { display: flex; justify-content: space-between; gap: 18px; }
.gmlf-topbar a { color: #fff; }
.gmlf-header { position: sticky; top: 0; z-index: 999; background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(6,29,58,.08); backdrop-filter: blur(14px); }
.admin-bar .gmlf-header { top: 32px; }
.gmlf-header__inner { min-height: 82px; display: flex; align-items: center; gap: 30px; }
.gmlf-brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.gmlf-brand img, .custom-logo { max-height: 56px; width: auto; }
.gmlf-brand__mark { width: 48px; height: 48px; display: grid; place-items: center; color: #fff; background: var(--gmlf-navy); border-radius: 50%; font-weight: 900; font-size: 1.5rem; }
.gmlf-brand__text strong { display: block; color: var(--gmlf-navy); font-size: 1.25rem; line-height: 1; }
.gmlf-brand__text span { color: var(--gmlf-green-dark); font-size: .72rem; font-weight: 700; }
.gmlf-nav { margin-inline-start: auto; }
.gmlf-menu { display: flex; align-items: center; gap: 24px; list-style: none; margin: 0; padding: 0; }
.gmlf-menu li { position: relative; }
.gmlf-menu a { color: var(--gmlf-navy); font-size: .95rem; font-weight: 750; }
.gmlf-menu .sub-menu { position: absolute; top: 100%; left: 0; min-width: 230px; padding: 12px; margin: 15px 0 0; list-style: none; background: #fff; border-radius: 14px; box-shadow: var(--gmlf-shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s ease; }
.gmlf-menu li:hover > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.gmlf-menu .sub-menu a { display: block; padding: 9px 10px; border-radius: 8px; }
.gmlf-menu .sub-menu a:hover { background: var(--gmlf-light); }
.gmlf-header__actions { display: flex; gap: 9px; }
.gmlf-menu-toggle { display: none; margin-inline-start: auto; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--gmlf-light); font-size: 1.3rem; }

.gmlf-hero { position: relative; overflow: hidden; padding: 92px 0; background: radial-gradient(circle at 84% 25%, rgba(88,166,44,.18), transparent 26%), linear-gradient(115deg, #f9fbfc 0%, #eef4f7 100%); }
.gmlf-hero::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 8px; background: var(--gmlf-green); }
.gmlf-hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 54px; }
.gmlf-hero h1 { margin: 10px 0 18px; color: var(--gmlf-navy); font-size: clamp(2.75rem, 6.4vw, 5.5rem); line-height: .95; letter-spacing: -.06em; }
.gmlf-hero h1 em { display: block; color: var(--gmlf-green-dark); font-style: normal; }
.gmlf-hero__copy { max-width: 670px; color: var(--gmlf-muted); font-size: 1.1rem; }
.gmlf-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.gmlf-hero__visual { position: relative; min-height: 480px; border-radius: 34px; background: linear-gradient(145deg, var(--gmlf-navy), var(--gmlf-navy-2)); box-shadow: var(--gmlf-shadow); overflow: hidden; }
.gmlf-hero__visual img { width: 100%; height: 100%; min-height: 480px; object-fit: cover; opacity: .86; }
.gmlf-hero__badge { position: absolute; left: 24px; bottom: 24px; max-width: 300px; padding: 18px 20px; color: #fff; background: rgba(6,29,58,.88); border: 1px solid rgba(255,255,255,.22); border-radius: 18px; backdrop-filter: blur(10px); }
.gmlf-hero__badge strong { display: block; font-size: 1.15rem; }
.gmlf-trustbar { position: relative; z-index: 2; margin-top: -32px; }
.gmlf-trustbar__inner { display: grid; grid-template-columns: repeat(4, 1fr); padding: 22px; color: #fff; background: var(--gmlf-navy); border-radius: 20px; box-shadow: var(--gmlf-shadow); }
.gmlf-trustbar__item { display: flex; align-items: center; gap: 12px; padding: 0 18px; border-inline-end: 1px solid rgba(255,255,255,.17); }
.gmlf-trustbar__item:last-child { border: 0; }
.gmlf-trustbar__icon { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 auto; color: #fff; background: var(--gmlf-green); border-radius: 50%; font-weight: 900; }

.gmlf-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.gmlf-checks { display: grid; gap: 12px; margin: 25px 0; }
.gmlf-check { display: flex; gap: 12px; align-items: flex-start; }
.gmlf-check::before { content: "✓"; display: grid; place-items: center; flex: 0 0 25px; height: 25px; color: #fff; background: var(--gmlf-green); border-radius: 50%; font-weight: 900; }
.gmlf-feature-panel { padding: 36px; color: #fff; background: linear-gradient(145deg, var(--gmlf-navy), var(--gmlf-navy-2)); border-radius: 28px; box-shadow: var(--gmlf-shadow); }
.gmlf-feature-panel h2, .gmlf-feature-panel h3 { color: #fff; }
.gmlf-area-list { display: flex; flex-wrap: wrap; gap: 10px; }
.gmlf-area-list a { padding: 10px 15px; color: var(--gmlf-navy); background: #fff; border: 1px solid var(--gmlf-border); border-radius: 999px; font-weight: 700; }
.gmlf-area-list a:hover { color: #fff; background: var(--gmlf-green); border-color: var(--gmlf-green); }
.gmlf-cta { padding: 46px; color: #fff; background: linear-gradient(110deg, var(--gmlf-navy), var(--gmlf-navy-2)); border-radius: 28px; }
.gmlf-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.gmlf-cta h2 { margin: 0 0 6px; color: #fff; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.1; }
.gmlf-cta p { margin: 0; color: rgba(255,255,255,.76); }
.gmlf-cta__actions { display: flex; gap: 10px; flex: 0 0 auto; }

.gmlf-page-hero { padding: 74px 0; color: #fff; background: linear-gradient(125deg, var(--gmlf-navy), var(--gmlf-navy-2)); }
.gmlf-page-hero h1 { max-width: 850px; margin: 0; color: #fff; font-size: clamp(2.3rem, 5vw, 4.4rem); line-height: 1.05; }
.gmlf-breadcrumbs { margin-bottom: 14px; color: rgba(255,255,255,.72); font-size: .9rem; }
.gmlf-breadcrumbs a { color: #fff; }
.gmlf-content { max-width: 850px; margin: 0 auto; }
.gmlf-content h2, .gmlf-content h3 { color: var(--gmlf-navy); line-height: 1.25; }
.gmlf-content h2 { margin-top: 2.1em; font-size: 2rem; }
.gmlf-content h3 { margin-top: 1.8em; font-size: 1.45rem; }
.gmlf-featured { margin: 0 0 35px; border-radius: 24px; box-shadow: var(--gmlf-shadow); }
.gmlf-pagination { margin-top: 36px; }
.gmlf-empty { padding: 35px; text-align: center; background: var(--gmlf-light); border-radius: 18px; }

.gmlf-footer { padding: 70px 0 24px; color: rgba(255,255,255,.76); background: #04162c; }
.gmlf-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 42px; }
.gmlf-footer h3 { margin-top: 0; color: #fff; font-size: 1.05rem; }
.gmlf-footer a { color: rgba(255,255,255,.78); }
.gmlf-footer a:hover { color: #fff; }
.gmlf-footer ul { list-style: none; margin: 0; padding: 0; }
.gmlf-footer li { margin: 8px 0; }
.gmlf-footer__brand { display: inline-flex; margin-bottom: 17px; }
.gmlf-footer__bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: .86rem; }
.gmlf-mobile-bar { display: none; }

@media (max-width: 980px) {
  .gmlf-grid--3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .gmlf-hero__grid, .gmlf-split { grid-template-columns: 1fr; }
  .gmlf-hero__visual { min-height: 390px; }
  .gmlf-hero__visual img { min-height: 390px; }
  .gmlf-trustbar__inner { grid-template-columns: repeat(2,1fr); gap: 20px 0; }
  .gmlf-trustbar__item:nth-child(2) { border: 0; }
  .gmlf-footer__grid { grid-template-columns: repeat(2,1fr); }
  .gmlf-menu-toggle { display: block; }
  .gmlf-nav { display: none; position: absolute; left: 16px; right: 16px; top: calc(100% + 8px); padding: 16px; background: #fff; border-radius: 16px; box-shadow: var(--gmlf-shadow); }
  .gmlf-nav.is-open { display: block; }
  .gmlf-menu { align-items: stretch; flex-direction: column; gap: 0; }
  .gmlf-menu a { display: block; padding: 10px; }
  .gmlf-menu .sub-menu { position: static; display: block; padding: 0 0 0 15px; margin: 0; opacity: 1; visibility: visible; transform: none; box-shadow: none; }
  .gmlf-header__actions { display: none; }
}

@media (max-width: 700px) {
  body { padding-bottom: 64px; }
  .admin-bar .gmlf-header { top: 46px; }
  .gmlf-section { padding: 62px 0; }
  .gmlf-topbar__inner { justify-content: center; text-align: center; }
  .gmlf-topbar__inner span:last-child { display: none; }
  .gmlf-brand__text span { display: none; }
  .gmlf-hero { padding: 65px 0 78px; }
  .gmlf-hero h1 { font-size: clamp(2.55rem, 14vw, 4.2rem); }
  .gmlf-hero__visual { min-height: 310px; border-radius: 24px; }
  .gmlf-hero__visual img { min-height: 310px; }
  .gmlf-grid--3, .gmlf-grid--2 { grid-template-columns: 1fr; }
  .gmlf-trustbar { margin-top: -26px; }
  .gmlf-trustbar__inner { grid-template-columns: 1fr; }
  .gmlf-trustbar__item { border: 0; }
  .gmlf-footer__grid { grid-template-columns: 1fr; }
  .gmlf-footer__bottom, .gmlf-cta__inner { align-items: flex-start; flex-direction: column; }
  .gmlf-cta { padding: 32px 24px; }
  .gmlf-cta__actions { width: 100%; flex-direction: column; }
  .gmlf-mobile-bar { position: fixed; inset: auto 0 0; z-index: 1000; display: grid; grid-template-columns: 1fr 1fr; box-shadow: 0 -8px 25px rgba(6,29,58,.15); }
  .gmlf-mobile-bar a { min-height: 64px; display: flex; align-items: center; justify-content: center; gap: 8px; color: #fff; background: var(--gmlf-navy); font-weight: 900; }
  .gmlf-mobile-bar a:last-child { background: var(--gmlf-green); }
}

body.rtl .gmlf-menu .sub-menu { left: auto; right: 0; }

