/*
Theme Name: Al Barq Group of Companies
Theme URI: https://albarqgoc.com/
Author: Al Barq Group of Companies
Author URI: https://albarqgoc.com/
Description: A clean corporate theme for Al Barq Group of Companies — research, consulting and market intelligence. Homepage with hero, about, services, industries, why choose us, working process, leadership team and contact sections.
Version: 2.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: albarq-group
Tags: corporate, business, consulting, responsive, custom-menu, featured-images
*/

/* ============ Reset & base ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --navy: #0b2a4a;
  --navy-dark: #071e35;
  --navy-light: #14395e;
  --gold: #c9a227;
  --gold-dark: #a9861d;
  --ink: #1e2a32;
  --muted: #5a6b77;
  --line: #e3e8ec;
  --bg-soft: #f4f6f8;
  --white: #ffffff;
}
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold-dark); }
.container { width: min(1180px, 92%); margin: 0 auto; }
.section { padding: 80px 0; }
.section-soft { background: var(--bg-soft); }
.eyebrow {
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-title { font-size: 30px; line-height: 1.25; color: var(--navy); margin-bottom: 12px; }
.section-sub { color: var(--muted); max-width: 720px; margin-bottom: 40px; }
.center { text-align: center; }
.center .section-sub { margin-left: auto; margin-right: auto; }

/* ============ Top bar ============ */
.top-bar { background: var(--navy-dark); color: #c7d3dd; font-size: 13.5px; }
.top-bar-inner { display: flex; gap: 26px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.top-bar a { color: var(--gold); font-weight: 600; }
.top-bar a:hover { color: #fff; }
.top-bar-hours { margin-left: auto; }

/* ============ Header ============ */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 96px; }
.site-logo { display: flex; align-items: center; gap: 12px; }
.site-logo img.site-logo-img { height: 84px; width: auto; }
.site-logo .mark {
  width: 44px; height: 44px; border-radius: 8px;
  background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 20px; letter-spacing: 1px;
}
.site-logo .name { font-size: 22px; font-weight: 800; color: var(--navy); line-height: 1.15; }
.site-logo .name small { display: block; font-size: 11px; font-weight: 600; letter-spacing: 2.5px; color: var(--gold-dark); text-transform: uppercase; }
.main-nav ul { list-style: none; display: flex; gap: 6px; }
.main-nav a {
  display: block; padding: 10px 14px; border-radius: 6px;
  font-weight: 600; font-size: 15px; color: var(--navy);
}
.main-nav a:hover { background: var(--bg-soft); color: var(--gold-dark); }
.main-nav li { position: relative; }
.main-nav .menu-item-has-children > a::after { content: " \25BE"; font-size: 12px; }
.main-nav .sub-menu {
  display: none; position: absolute; top: 100%; left: 0;
  background: var(--white); min-width: 300px; max-height: 70vh; overflow-y: auto;
  flex-direction: column; gap: 0; padding: 8px;
  border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0,0,0,.14); z-index: 60;
}
.main-nav .sub-menu a { padding: 9px 12px; font-size: 14px; font-weight: 500; white-space: normal; }
.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu,
.main-nav li.open > .sub-menu { display: flex; }

/* ============ Inner pages ============ */
.page-banner {
  background-color: var(--navy);
  background-image: radial-gradient(rgba(255,255,255,.14) 1.2px, transparent 1.3px);
  background-size: 22px 22px;
  padding: 74px 0 66px;
  text-align: center;
  color: #fff;
}
.page-banner h1 { font-size: 36px; line-height: 1.2; color: #fff; margin-bottom: 8px; }
.page-banner-sub { color: var(--gold); font-size: 14px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; }
.page-section { padding-top: 56px; }
.page-featured { border-radius: 14px; overflow: hidden; margin-bottom: 36px; box-shadow: 0 18px 40px rgba(7,30,53,.16); max-width: 780px; margin-left: auto; margin-right: auto; }
.page-featured img { width: 100%; height: 420px; object-fit: cover; object-position: center; display: block; }
.page-title { font-size: 30px; line-height: 1.2; color: var(--navy); margin-bottom: 24px; }
.page-content h2 { font-size: 23px; color: var(--navy); margin: 32px 0 12px; }
.page-content h3 { font-size: 20px; color: var(--navy); margin: 24px 0 10px; }
.page-content p { margin-bottom: 14px; color: #333; line-height: 1.7; font-size: 16px; }
.page-content ul, .page-content ol { margin: 0 0 16px 22px; line-height: 1.7; }
.page-content li { margin-bottom: 6px; }

/* ============ Forms (Contact + Career) ============ */
.form-title { font-size: 23px; color: var(--navy); margin: 44px 0 18px; }
.albarq-form { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 30px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-weight: 600; color: var(--navy); font-size: 15px; margin-bottom: 6px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 11px 13px; border: 1px solid #cbd5db; border-radius: 6px;
  font: inherit; font-size: 15px; background: #fff; color: var(--ink);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: 2px solid var(--gold); border-color: var(--gold);
}
.form-note { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.hp-field { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-notice { padding: 14px 18px; border-radius: 8px; font-weight: 600; margin-bottom: 22px; }
.form-notice-success { background: #e6f4ea; color: #137333; border: 1px solid #a8dab5; }
.form-notice-error { background: #fce8e6; color: #a50e0e; border: 1px solid #f5a9a2; }
.menu-toggle {
  display: none; background: var(--navy); color: #fff; border: 0;
  padding: 10px 16px; border-radius: 6px; font-size: 15px; cursor: pointer;
}
.btn {
  display: inline-block; background: var(--gold); color: #fff;
  padding: 13px 28px; border-radius: 6px; font-weight: 700; font-size: 15px;
  border: 0; cursor: pointer;
}
.btn:hover { background: var(--gold-dark); color: #fff; }
.btn-outline {
  background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.7);
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.12); color: #fff; }

/* ============ Logo hero (big logo centred on white, like the original) ============ */
.logo-hero { background: var(--white); padding: 46px 0 40px; text-align: center; }
.logo-hero-img { width: min(520px, 84%); height: auto; margin: 0 auto; }

/* ============ Hero ============ */
.hero {
  position: relative; color: #fff;
  background: var(--navy-dark) center/cover no-repeat;
  padding: 130px 0 110px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(7,30,53,.92) 0%, rgba(7,30,53,.72) 55%, rgba(7,30,53,.35) 100%);
}
.hero-inner { position: relative; max-width: 720px; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { font-size: 42px; line-height: 1.15; margin-bottom: 18px; }
.hero p.lead { font-size: 18px; color: #d7e0e8; margin-bottom: 30px; max-width: 620px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============ Hero slider (auto-rotating, like the original) ============ */
.hero-slider { position: relative; overflow: hidden; background: var(--white); }
.hero-slide {
  display: none; position: relative; min-height: 540px;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  align-items: center; color: #fff;
}
.hero-slide.is-active { display: flex; animation: slideFade .6s ease; }
@keyframes slideFade { from { opacity: 0; } to { opacity: 1; } }
.hero-slide.slide-logo { background: var(--white); justify-content: center; min-height: 480px; }
.hero-slide.slide-logo img { width: min(520px, 84%); height: auto; }
.hero-slide::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(7,30,53,.92) 0%, rgba(7,30,53,.72) 55%, rgba(7,30,53,.35) 100%);
}
.hero-slide.slide-logo::before { display: none; }
.slide-inner { position: relative; max-width: 720px; padding: 90px 0; }
.slide-inner .eyebrow { color: var(--gold); }
.slide-inner h1 { font-size: 42px; line-height: 1.15; margin-bottom: 18px; color: #fff; }
.slide-inner p.lead { font-size: 18px; color: #d7e0e8; margin-bottom: 30px; max-width: 620px; }
.slide-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.85); color: var(--navy); font-size: 26px; line-height: 1;
}
.slide-arrow:hover { background: var(--gold); color: #fff; }
.slide-prev { left: 18px; }
.slide-next { right: 18px; }
.slide-dots {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 5;
  display: flex; gap: 10px;
}
.slide-dot {
  width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff;
  background: transparent; cursor: pointer; padding: 0;
}
.slide-dot.is-active { background: var(--gold); border-color: var(--gold); }

/* ============ Stats ============ */
.stats { background: var(--navy); color: #fff; padding: 46px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat b { display: block; font-size: 40px; color: var(--gold); line-height: 1.1; }
.stat span { font-size: 14px; letter-spacing: 1px; text-transform: uppercase; color: #c7d3dd; }

/* ============ About ============ */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.about-img { border-radius: 12px; overflow: hidden; box-shadow: 0 18px 40px rgba(7,30,53,.18); }
.about-img img { width: 100%; height: auto; display: block; }
.about-text p { color: var(--muted); margin-bottom: 16px; }
.check-list { list-style: none; margin: 8px 0 24px; }
.check-list li { padding: 6px 0 6px 30px; position: relative; font-weight: 600; color: var(--navy); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 6px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold); color: #fff; font-size: 13px; line-height: 22px; text-align: center;
}

/* ============ Cards ============ */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 28px 24px; transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(7,30,53,.10); }
.card .icon {
  width: 52px; height: 52px; border-radius: 10px; margin-bottom: 16px;
  background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 800;
}
.card h3 { font-size: 18px; color: var(--navy); margin-bottom: 8px; line-height: 1.35; }
.card p { color: var(--muted); font-size: 15px; }
.card-photo {
  width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover;
  border-radius: 8px; margin-bottom: 18px;
}
.service-card { padding: 22px 22px 28px; }
.industry-card { text-align: center; }
.industry-photo {
  width: 168px; height: 168px; border-radius: 50%; object-fit: cover;
  margin: 0 auto 18px; border: 4px solid var(--bg-soft);
  box-shadow: 0 10px 26px rgba(7,30,53,.14);
}
.industry-card h3 { display: flex; align-items: center; gap: 10px; justify-content: center; }
.why-photo { max-width: 860px; margin: 0 auto 40px; border-radius: 14px; overflow: hidden; box-shadow: 0 18px 40px rgba(7,30,53,.16); }
.why-photo img { width: 100%; height: auto; display: block; }
.team-initials {
  width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff; font-size: 30px; font-weight: 800; letter-spacing: 1px;
  display: flex; align-items: center; justify-content: center;
}
.team-card { text-align: center; }
.team-card .role { color: var(--gold-dark); font-weight: 700; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.industry-card { text-align: left; }
.industry-card h3 { display: flex; align-items: center; gap: 10px; }

/* ============ Why choose us ============ */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-item { display: flex; gap: 16px; }
.why-item .num {
  flex: 0 0 46px; height: 46px; border-radius: 50%;
  background: var(--gold); color: #fff; font-weight: 800; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
}
.why-item h3 { font-size: 18px; color: var(--navy); margin-bottom: 6px; }
.why-item p { color: var(--muted); font-size: 15px; }

/* ============ Process ============ */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.step { text-align: center; padding: 26px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.process-photo {
  width: 132px; height: 132px; border-radius: 50%; object-fit: cover;
  margin: 0 auto 16px; border: 4px solid var(--bg-soft);
  box-shadow: 0 10px 26px rgba(7,30,53,.14);
}
.step .step-num {
  width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--navy); color: var(--gold); font-size: 22px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { font-size: 16px; color: var(--navy); margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14px; }

/* ============ CTA / Contact ============ */
.cta {
  background: var(--navy); color: #fff; border-radius: 16px;
  padding: 56px 48px; text-align: center;
}
.cta h2 { font-size: 28px; margin-bottom: 10px; }
.cta p { color: #c7d3dd; max-width: 640px; margin: 0 auto 26px; }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 44px; }
.contact-box { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 26px; text-align: center; }
.contact-box h3 { font-size: 16px; color: var(--navy); margin-bottom: 6px; }
.contact-box p { color: var(--muted); font-size: 15px; word-break: break-word; }

/* ============ Footer ============ */
.site-footer { background: var(--navy-dark); color: #b9c8d4; padding: 54px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 0.8fr 1fr; gap: 40px; padding-bottom: 40px; }
.site-footer h4 { color: #fff; font-size: 17px; margin-bottom: 14px; }
.site-footer p { font-size: 15px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: #b9c8d4; font-size: 15px; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 18px 0; font-size: 14px; text-align: center; color: #8fa2b1;
}

/* ============ Blog / index fallback ============ */
.post-list { max-width: 820px; margin: 0 auto; }
.post-item { padding: 26px 0; border-bottom: 1px solid var(--line); }
.post-item h2 { font-size: 26px; color: var(--navy); margin-bottom: 8px; }
.post-item .meta { color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.page-title { font-size: 30px; color: var(--navy); margin-bottom: 10px; }

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero h1 { font-size: 36px; }
  .section { padding: 60px 0; }
}
@media (max-width: 720px) {
  .menu-toggle { display: block; }
  .main-nav { display: none; width: 100%; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 10px 0 16px; }
  .main-nav .sub-menu {
    position: static; display: none; min-width: 0; max-height: none;
    border: 0; box-shadow: none; padding: 0 0 0 16px;
  }
  .main-nav li.open > .sub-menu { display: flex; }
  .header-inner { flex-wrap: wrap; padding: 12px 0; min-height: 0; }
  .site-logo img.site-logo-img { height: 64px; }
  .top-bar-hours { display: none; }
  .top-bar-inner { gap: 14px; }
  .logo-hero { padding: 30px 0 26px; }
  .logo-hero-img { width: min(320px, 84%); }
  .page-banner { padding: 52px 0 46px; }
  .page-banner h1 { font-size: 30px; }
  .site-logo .name { font-size: 16px; }
  .site-logo .name small { font-size: 10px; letter-spacing: 2px; }
  .hero-slide { min-height: 430px; }
  .hero-slide h1 { font-size: 30px; }
  .form-row { grid-template-columns: 1fr; }
  .industry-photo { width: 150px; height: 150px; }
  .cards, .cards-3, .why-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .hero { padding: 90px 0 80px; }
  .hero h1 { font-size: 30px; }
  .section-title { font-size: 27px; }
  .cta { padding: 40px 22px; }
}
/* ===== Al Barq fixes 2026-12-03 ===== */
.top-bar{background:#f2d06b;}
.top-bar a,.top-bar span{color:#0b2a4a;}
.site-header .container.header-inner{width:min(1720px,97%);}
.site-header .header-inner{min-height:110px;}
.site-logo .custom-logo{width:375px;height:auto;max-width:375px;}
.site-logo img.site-logo-img{width:375px;height:auto;}
.site-logo .name{display:none;}
.main-nav ul{flex-wrap:nowrap;}
.main-nav>ul>li>a{color:#000;font-weight:400;font-size:16px;white-space:nowrap;padding:10px 9px;}
.main-nav>ul>li+li>a::before{content:"|";color:#000;margin-right:9px;}
.main-nav .sub-menu{max-height:none;overflow:visible;}
.main-nav .sub-menu a{font-size:15px;}
.hero-video{position:relative;height:450px;overflow:hidden;background:#0b2a4a;}
.hero-video .hero-video-el{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
.hero-video .hero-slide,.hero-video .hero-dots,.hero-video .hero-arrow{display:none !important;}
.hero-video .hero-overlay{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#fff;padding:0 20px;background:rgba(11,42,74,.35);}
.hero-video .hero-overlay h1{color:#fff;font-size:44px;margin:0 0 12px;text-shadow:0 2px 12px rgba(0,0,0,.45);}
.hero-video .hero-overlay p{color:#fff;font-size:18px;max-width:760px;margin:0;text-shadow:0 1px 8px rgba(0,0,0,.45);}
@media (min-width:981px){.about-grid{grid-template-columns:minmax(0,1fr) 520px;}}
.btn-navy{background:var(--navy);}
.btn-navy:hover{background:#071f38;}
.btn-sm{padding:10px 22px;font-size:14px;}
.site-header .site-logo img{max-height:96px;}
.page-banner p{color:#dbe6ee;font-size:17px;max-width:820px;margin:14px auto 0;}
@media (max-width:720px){.site-logo .custom-logo{width:230px;max-width:230px;}.site-logo img.site-logo-img{width:230px;}.hero-video{height:380px;}.hero-video .hero-overlay h1{font-size:30px;}}
.custom-logo{width:375px !important;height:auto !important;max-width:375px !important;}
@media (max-width:720px){.custom-logo{width:230px !important;max-width:230px !important;}}
/* Alternating two-column inner-page rows */
.alt-row{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;margin-bottom:56px;}

.alt-row:nth-child(even) .alt-text{order:2;}
.alt-row:nth-child(even) .alt-img{order:1;}.alt-img img{width:100%;height:340px;object-fit:cover;border-radius:14px;display:block;box-shadow:0 18px 40px rgba(7,30,53,.16);}
.alt-text h2{margin-top:0;}
@media (max-width:720px){.alt-row{grid-template-columns:1fr;gap:24px;margin-bottom:40px;}.alt-img img{height:260px;}}