:root {
  --primary-blue: #0284c7;       /* Refined Sky Blue */
  --primary-dark: #0369a1;       /* Deep Sky */
  --primary-hover: #075985;
  --accent-cyan: #06b6d4;
  --accent-blue-gradient: linear-gradient(135deg, #0284c7 0%, #0ea5e9 50%, #0369a1 100%);
  
  --bg-page: #f8fafc;            /* Crisp clean backdrop */
  --bg-white: #ffffff;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-header: rgba(255, 255, 255, 0.95);
  --bg-footer: #ffffff;
  
  --text-main: #0f172a;          /* Slate 900 */
  --text-body: #334155;          /* Slate 700 */
  --text-muted: #64748b;         /* Slate 500 */
  --text-light: #94a3b8;
  
  --border-light: #e2e8f0;
  --border-subtle: #cbd5e1;
  --border-hover: #bae6fd;
  
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 14px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 28px -4px rgba(15, 23, 42, 0.08), 0 4px 10px -2px rgba(0, 0, 0, 0.03);
  --shadow-card-hover: 0 22px 35px -5px rgba(2, 132, 199, 0.14), 0 8px 12px -4px rgba(0, 0, 0, 0.03);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background-color: var(--bg-page);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-page);
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 30px;
  font-size: 0.96rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  line-height: 1.2;
}

.btn-primary {
  background: var(--accent-blue-gradient);
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.32);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.45);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: #f0f9ff;
  color: var(--primary-blue);
  border-color: #bae6fd;
  transform: translateY(-2px);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-light-blue {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.06);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg-header);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-main);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.site-logo .highlight {
  color: var(--primary-blue);
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 4px;
}

.nav-menu > li {
  position: relative;
}

.nav-menu a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  color: #334155;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu li.current-menu-item > a,
.nav-menu li.current_page_item > a {
  color: var(--primary-blue);
  background: #f0f9ff;
}

.nav-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
  padding: 8px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
}

.nav-menu li:hover > .sub-menu,
.nav-menu li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-menu .sub-menu li a {
  padding: 10px 20px;
  display: block;
  color: #475569;
  font-size: 0.92rem;
  border-radius: 0;
}

.nav-menu .sub-menu li a:hover {
  background: #f0f9ff;
  color: var(--primary-blue);
  padding-left: 24px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-nav-toggle {
  display: none;
  background: #f1f5f9;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  color: var(--text-main);
  padding: 8px;
  cursor: pointer;
}

/* ==========================================================================
   Hero Section - Clean, Modern Centered Architecture with Floating Mockups
   ========================================================================== */
.hero-epic-section {
  position: relative;
  background: radial-gradient(circle at 50% 12%, #e0f2fe 0%, #f0f9ff 38%, #ffffff 85%);
  padding: 110px 0 75px;
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
  text-align: center;
}

.hero-mesh-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(#94a3b8 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.22;
  pointer-events: none;
}

.hero-epic-inner {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: 0 auto;
}

.hero-epic-badge {
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.08);
  border: 1px solid #bae6fd;
  backdrop-filter: blur(8px);
}

.hero-epic-title {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-top: 24px;
  margin-bottom: 20px;
}

.hero-epic-title .text-gradient-primary {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-epic-desc {
  font-family: var(--font-sans);
  font-size: 1.18rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 38px;
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
  letter-spacing: normal;
}

.hero-epic-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

/* Subtle Animated Scroll Cue */
.hero-scroll-cue {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #64748b;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: var(--transition);
  opacity: 0.85;
}

.hero-scroll-cue:hover {
  color: #0284c7;
  opacity: 1;
}

.scroll-cue-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0284c7;
  animation: floatBounce 2.2s infinite ease-in-out;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
  transition: var(--transition);
}

.hero-scroll-cue:hover .scroll-cue-icon {
  border-color: #0284c7;
  background: #f0f9ff;
  transform: translateY(2px);
}

@keyframes floatBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

/* Progressive Reveal: Dedicated Pillars Section */
.section-pillars {
  padding: 85px 0 95px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-light);
}

.hero-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  text-align: left;
}

.hero-pillar-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.hero-pillar-card:hover {
  transform: translateY(-8px);
  border-color: #bae6fd;
  box-shadow: var(--shadow-card-hover);
}

.pillar-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: #e0f2fe;
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.pillar-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.pillar-desc {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   Trust & Metrics Ribbon
   ========================================================================== */
.trust-strip {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 30px 0;
}

.trust-strip-grid {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
  text-align: center;
}

.trust-metric-box {
  display: flex;
  flex-direction: column;
}

.trust-metric-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: #0284c7;
  line-height: 1.1;
}

.trust-metric-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #64748b;
  margin-top: 4px;
}

/* ==========================================================================
   Services Section (Clean Light)
   ========================================================================== */
.section {
  padding: 95px 0;
}

.section-subtle {
  background-color: #f8fafc;
}

.section-white {
  background-color: #ffffff;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.section-title {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-main);
  margin: 16px 0;
  line-height: 1.2;
}

.section-desc {
  font-size: 1.15rem;
  color: #64748b;
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 44px 34px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-blue-gradient);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: #bae6fd;
  box-shadow: var(--shadow-card-hover);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon-wrap {
  width: 66px;
  height: 66px;
  border-radius: var(--radius-md);
  background: #e0f2fe;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0284c7;
  margin-bottom: 26px;
  transition: var(--transition);
}

.service-card:hover .service-icon-wrap {
  background: #0284c7;
  color: #ffffff;
  transform: scale(1.06);
}

.service-icon-wrap svg {
  width: 32px;
  height: 32px;
}

.service-title {
  font-size: 1.38rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-main);
}

.service-text {
  font-size: 0.98rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 26px;
  flex-grow: 1;
}

.service-bullet-list {
  list-style: none;
  border-top: 1px solid var(--border-light);
  padding-top: 22px;
}

.service-bullet-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: #334155;
  margin-bottom: 12px;
  font-weight: 500;
}

.service-bullet-list li svg {
  width: 18px;
  height: 18px;
  color: #0284c7;
  flex-shrink: 0;
}

/* ==========================================================================
   Company Profile (About Ghayma LLC)
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}

.about-card-banner {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-md);
}

.about-card-banner h4 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0284c7;
  margin-bottom: 12px;
}

.corporate-meta-rows {
  margin-top: 24px;
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.94rem;
}

.corporate-meta-rows div strong {
  color: var(--text-main);
  min-width: 120px;
  display: inline-block;
}

/* ==========================================================================
   Articles & Insights (10 Posts Grid)
   ========================================================================== */
.posts-grid-10 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.post-card-pro {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.post-card-pro:hover {
  transform: translateY(-8px);
  border-color: #bae6fd;
  box-shadow: var(--shadow-card-hover);
}

.post-thumb-pro {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #f1f5f9;
  overflow: hidden;
  display: block;
}

.post-thumb-pro a {
  display: block;
  width: 100%;
  height: 100%;
}

.post-thumb-pro img,
.post-thumb-pro img.wp-post-image,
.post-thumb-pro img[src$=".svg"] {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.post-card-pro:hover .post-thumb-pro img {
  transform: scale(1.08);
}


.category-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #ffffff;
  color: #0284c7;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  border: 1px solid #bae6fd;
  text-transform: uppercase;
}

.post-card-content {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.post-meta-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 12px;
}

.post-title-pro {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
}

.post-title-pro a {
  color: var(--text-main);
}

.post-title-pro a:hover {
  color: var(--primary-blue);
}

.post-excerpt-pro {
  font-size: 0.94rem;
  color: #64748b;
  line-height: 1.65;
  margin-bottom: 22px;
  flex-grow: 1;
}

.post-card-action {
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.read-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.92rem;
  color: #0284c7;
}

.read-link:hover {
  gap: 10px;
  color: #0369a1;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-footer);
  color: #64748b;
  border-top: 1px solid var(--border-light);
  padding: 80px 0 30px;
  font-size: 0.95rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 50px;
}

.footer-title {
  color: var(--text-main);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 22px;
}

.footer-brand p {
  line-height: 1.8;
  margin: 16px 0;
  color: #475569;
}

.footer-company-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.88rem;
  color: #64748b;
}

.footer-company-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #64748b;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-blue);
  padding-left: 6px;
}

.footer-contact-card {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px;
}

.footer-email {
  color: #0284c7;
  font-weight: 700;
  word-break: break-all;
}

.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 1px solid var(--border-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  transition: var(--transition);
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.social-icon-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.social-icon-btn.x-twitter:hover {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.social-icon-btn.youtube:hover {
  background: #ff0000;
  color: #ffffff;
  border-color: #ff0000;
}

.social-icon-btn.facebook:hover {
  background: #1877f2;
  color: #ffffff;
  border-color: #1877f2;
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.86rem;
  color: #64748b;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-legal-links a {
  color: #64748b;
}

.footer-legal-links a:hover {
  color: var(--primary-blue);
}

/* ==========================================================================
   Single Article Typography & Rich Elements (SEO & AdSense Optimized)
   ========================================================================== */
.article-body {
  font-size: 1.125rem;
  line-height: 1.85;
  color: #1e293b;
  margin-top: 36px;
}

.article-body p {
  margin-bottom: 24px;
}

.article-body h2 {
  font-size: 1.95rem;
  font-weight: 800;
  color: #0f172a;
  margin: 44px 0 20px;
  line-height: 1.35;
  letter-spacing: -0.02em;
  padding-bottom: 10px;
  border-bottom: 2px solid #f1f5f9;
}

.article-body h3 {
  font-size: 1.45rem;
  font-weight: 700;
  color: #0369a1;
  margin: 32px 0 16px;
  line-height: 1.4;
}

.article-body ul, .article-body ol {
  margin: 0 0 26px 28px;
}

.article-body li {
  margin-bottom: 10px;
  line-height: 1.75;
}

.article-body blockquote {
  border-left: 4px solid #0284c7;
  padding: 16px 24px;
  margin: 30px 0;
  background: #f0f9ff;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: #0369a1;
  font-size: 1.15rem;
}

.article-body pre {
  background: #0f172a;
  color: #e2e8f0;
  padding: 20px;
  border-radius: 12px;
  overflow-x: auto;
  font-size: 0.92rem;
  margin: 26px 0;
  line-height: 1.6;
}

.article-body code {
  background: #f1f5f9;
  color: #0284c7;
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 0.9em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.article-body pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  font-size: 0.98rem;
}

.article-body table th {
  background: #f8fafc;
  color: #0f172a;
  font-weight: 700;
  padding: 12px 16px;
  text-align: left;
  border: 1px solid #e2e8f0;
}

.article-body table td {
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
}

.article-body figure {
  margin: 36px 0;
}

.article-body figure img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.article-body figcaption {
  font-size: 0.88rem;
  color: #64748b;
  text-align: center;
  margin-top: 10px;
  font-style: italic;
}

.ghayma-callout {
  background: #f8fafc;
  border-left: 4px solid #0284c7;
  border-radius: 8px;
  padding: 20px;
  margin: 28px 0;
}

.ghayma-callout h4 {
  color: #0284c7;
  margin: 0 0 8px;
  font-weight: 700;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-pillars-grid, .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .services-grid, .posts-grid-10 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-epic-title {
    font-size: 2.8rem;
  }
  .services-grid, .posts-grid-10 {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .main-nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: #ffffff;
    padding: 24px;
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    display: none;
    flex-direction: column;
    align-items: stretch;
  }
  .main-nav.active {
    display: flex;
  }
  .nav-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .nav-menu > li.menu-item-has-children > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .nav-menu > li.menu-item-has-children > a svg {
    transition: transform 0.3s ease;
  }
  .nav-menu > li.menu-item-has-children.dropdown-open > a svg {
    transform: rotate(180deg);
  }
  .nav-menu .sub-menu {
    position: static;
    display: none;
    opacity: 0;
    visibility: hidden;
    transform: none;
    box-shadow: none;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    background: #f8fafc;
    padding: 6px 12px;
    margin-top: 6px;
    transition: all 0.3s ease;
  }
  .nav-menu > li.menu-item-has-children.dropdown-open > .sub-menu {
    display: block;
    opacity: 1;
    visibility: visible;
  }
  .header-actions .btn {
    display: none;
  }
}


/* ==========================================================================
   Ghayma Modern Comments Area Styling
   Clean, light tech aesthetic, rounded inputs, crisp typography, no raw borders
   ========================================================================== */
.ghayma-comments-area {
  margin-top: 60px;
  padding-top: 50px;
  border-top: 1px solid var(--border-light);
}

.comments-header {
  margin-bottom: 36px;
}

.comments-count-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.comments-count-title svg {
  color: var(--primary-blue);
}

/* Comments List */
.ghayma-comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 50px 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ghayma-comment-list .children {
  list-style: none;
  padding-left: 54px;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-left: 2px solid #e0f2fe;
}

.ghayma-comment-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.ghayma-comment-item:hover {
  border-color: #bae6fd;
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.06);
}

.comment-body {
  display: flex;
  gap: 20px;
}

.comment-author-avatar {
  flex-shrink: 0;
}

.comment-author-avatar .avatar-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #e0f2fe;
  object-fit: cover;
  display: block;
}

.comment-main-content {
  flex-grow: 1;
}

.comment-meta-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.comment-author-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
}

.comment-author-name a {
  color: var(--text-main);
  text-decoration: none;
}

.comment-author-name a:hover {
  color: var(--primary-blue);
}

.comment-meta-separator {
  color: #cbd5e1;
}

.comment-time {
  color: var(--text-muted);
}

.comment-edit-link a {
  color: #94a3b8;
  font-size: 0.85rem;
  margin-left: 8px;
}

.comment-edit-link a:hover {
  color: var(--primary-blue);
}

.comment-awaiting-moderation {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fef3c7;
  color: #92400e;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.comment-text-content {
  color: var(--text-body);
  font-size: 1rem;
  line-height: 1.7;
}

.comment-text-content p {
  margin-bottom: 12px;
}

.comment-text-content p:last-child {
  margin-bottom: 0;
}

.comment-reply-action {
  margin-top: 14px;
  text-align: right;
}

.comment-reply-action .comment-reply-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-blue);
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: var(--transition);
}

.comment-reply-action .comment-reply-link:hover {
  background: var(--primary-blue);
  color: #ffffff;
  border-color: var(--primary-blue);
  transform: translateY(-2px);
}

/* Comment Form & Respond Card */
.comment-respond {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 38px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  margin-top: 40px;
}

.comment-reply-header {
  margin-bottom: 24px;
}

.comment-reply-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin: 0 0 6px 0;
}

.comment-reply-subtitle {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin: 0;
}

.cancel-reply-wrap {
  margin-left: 14px;
}

.cancel-reply-wrap a {
  font-size: 0.85rem;
  color: #ef4444;
  font-weight: 600;
  text-decoration: underline;
}

.comment-notes {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.comment-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.comment-field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.comment-field-group label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
}

.comment-field-group label .required {
  color: #ef4444;
}

.comment-field-group input[type="text"],
.comment-field-group input[type="email"],
.comment-field-group input[type="url"],
.comment-field-group textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 13px 18px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.98rem;
  color: var(--text-main);
  background: #f8fafc;
  transition: var(--transition);
  outline: none;
}

.comment-field-group input:focus,
.comment-field-group textarea:focus,
.comment-form input:focus,
.comment-form textarea:focus {
  background: #ffffff;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.comment-field-textarea textarea,
.comment-form-comment textarea {
  resize: vertical;
  min-height: 140px;
}

.comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 26px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.comment-form-cookies-consent input[type="checkbox"] {
  margin-top: 4px;
  accent-color: var(--primary-blue);
  width: 17px;
  height: 17px;
  cursor: pointer;
}

.comment-form-cookies-consent label {
  cursor: pointer;
}

.form-submit,
.comment-submit-wrap {
  margin-top: 10px;
}

.comment-submit-btn,
.form-submit input[type="submit"] {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--accent-blue-gradient) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: var(--radius-full) !important;
  padding: 14px 34px !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25) !important;
  transition: var(--transition) !important;
}

.comment-submit-btn:hover,
.form-submit input[type="submit"]:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 22px rgba(2, 132, 199, 0.35) !important;
}

.comments-closed-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 24px;
  background: #f1f5f9;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .comment-form-grid {
    grid-template-columns: 1fr;
  }
  .comment-respond {
    padding: 24px;
  }
  .ghayma-comment-list .children {
    padding-left: 20px;
  }
  .comment-body {
    flex-direction: column;
    gap: 12px;
  }
}

/* ==========================================================================
   Modern Enterprise Pagination Bar
   High-end pill layout with 'More Articles' / 'Previous Articles' interactive buttons
   ========================================================================== */
.ghayma-pagination-wrapper {
  margin-top: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.pagination-indicator-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pagination-indicator-text strong {
  color: var(--text-main);
}

.ghayma-modern-pagination {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  padding: 10px 18px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.ghayma-modern-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 16px;
  border-radius: var(--radius-full);
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-body);
  text-decoration: none;
  transition: var(--transition);
}

.ghayma-modern-pagination .page-numbers:hover {
  background: #f0f9ff;
  color: var(--primary-blue);
  border-color: #bae6fd;
}

.ghayma-modern-pagination .page-numbers.current {
  background: var(--primary-blue);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.ghayma-modern-pagination .page-numbers.dots {
  color: var(--text-light);
  min-width: 30px;
}

.ghayma-modern-pagination .pag-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ghayma-modern-pagination .next.page-numbers {
  background: var(--accent-blue-gradient);
  color: #ffffff !important;
  padding: 0 24px;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.28);
}

.ghayma-modern-pagination .next.page-numbers:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.4);
}

.ghayma-modern-pagination .prev.page-numbers {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  color: var(--text-body) !important;
  padding: 0 20px;
}

.ghayma-modern-pagination .prev.page-numbers:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .ghayma-modern-pagination {
    flex-wrap: wrap;
    justify-content: center;
    border-radius: var(--radius-lg);
    padding: 14px;
  }
}


