/*
Theme Name: Dhilaalo Elite Hub
Theme URI: https://dhilaalo.com
Author: Mohamed
Author URI: https://dhilaalo.com
Description: Premium WordPress hub theme for elite businesses, communities, and digital platforms. Modern, responsive, and conversion-focused.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dhilaalo-elite-hub
Tags: custom-menu, custom-logo, featured-images, full-width-template, theme-options, translation-ready, blog, business
*/

/* ==========================================================================
   CSS Variables
   ========================================================================== */

:root {
  --deh-primary: #0a0f1c;
  --deh-primary-light: #111827;
  --deh-secondary: #c9a227;
  --deh-secondary-dark: #a8841a;
  --deh-accent: #3b82f6;
  --deh-accent-hover: #2563eb;
  --deh-text: #f1f5f9;
  --deh-text-muted: #94a3b8;
  --deh-border: rgba(148, 163, 184, 0.15);
  --deh-card-bg: rgba(17, 24, 39, 0.75);
  --deh-gradient: linear-gradient(135deg, #0a0f1c 0%, #1e293b 50%, #0f172a 100%);
  --deh-gold-gradient: linear-gradient(135deg, #c9a227 0%, #f0d060 50%, #c9a227 100%);
  --deh-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --deh-font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --deh-radius: 12px;
  --deh-radius-lg: 20px;
  --deh-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
  --deh-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --deh-container: 1200px;
  --deh-header-height: 80px;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--deh-font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--deh-text);
  background: var(--deh-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--deh-secondary);
  text-decoration: none;
  transition: color var(--deh-transition);
}

a:hover {
  color: #f0d060;
}

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--deh-font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--deh-text);
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.deh-container {
  width: 100%;
  max-width: var(--deh-container);
  margin: 0 auto;
  padding: 0 24px;
}

.deh-section {
  padding: 100px 0;
  position: relative;
}

.deh-section--alt {
  background: var(--deh-primary-light);
}

.deh-section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.deh-section__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--deh-secondary);
  margin-bottom: 16px;
}

.deh-section__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 16px;
}

.deh-section__subtitle {
  font-size: 1.125rem;
  color: var(--deh-text-muted);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.deh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--deh-font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--deh-transition);
  text-decoration: none;
  white-space: nowrap;
}

.deh-btn--primary {
  background: var(--deh-gold-gradient);
  color: var(--deh-primary);
  border-color: var(--deh-secondary);
}

.deh-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(201, 162, 39, 0.35);
  color: var(--deh-primary);
}

.deh-btn--outline {
  background: transparent;
  color: var(--deh-text);
  border-color: rgba(255, 255, 255, 0.25);
}

.deh-btn--outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--deh-secondary);
  color: var(--deh-secondary);
}

.deh-btn--accent {
  background: var(--deh-accent);
  color: #fff;
  border-color: var(--deh-accent);
}

.deh-btn--accent:hover {
  background: var(--deh-accent-hover);
  border-color: var(--deh-accent-hover);
  color: #fff;
  transform: translateY(-2px);
}

.deh-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   Header
   ========================================================================== */

.deh-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--deh-header-height);
  transition: all var(--deh-transition);
}

.deh-header.is-scrolled {
  background: rgba(10, 15, 28, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.deh-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--deh-header-height);
}

.deh-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.deh-logo__icon {
  width: 42px;
  height: 42px;
  background: var(--deh-gold-gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--deh-font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--deh-primary);
}

.deh-logo__text {
  font-family: var(--deh-font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--deh-text);
  line-height: 1.2;
}

.deh-logo__text span {
  display: block;
  font-family: var(--deh-font-body);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--deh-secondary);
}

.deh-logo img {
  max-height: 48px;
  width: auto;
}

.deh-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.deh-nav__menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.deh-nav__menu li a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--deh-text-muted);
  position: relative;
  padding: 4px 0;
}

.deh-nav__menu li a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--deh-secondary);
  transition: width var(--deh-transition);
}

.deh-nav__menu li a:hover,
.deh-nav__menu li.current-menu-item a,
.deh-nav__menu li.current_page_item a {
  color: var(--deh-text);
}

.deh-nav__menu li a:hover::after,
.deh-nav__menu li.current-menu-item a::after,
.deh-nav__menu li.current_page_item a::after {
  width: 100%;
}

.deh-nav__cta {
  flex-shrink: 0;
}

.deh-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.deh-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--deh-text);
  transition: all var(--deh-transition);
  border-radius: 2px;
}

.deh-menu-toggle.is-active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.deh-menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.deh-menu-toggle.is-active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.deh-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--deh-header-height);
  background: var(--deh-gradient);
  overflow: hidden;
}

.deh-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.deh-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}

.deh-hero__orb--1 {
  width: 500px;
  height: 500px;
  background: var(--deh-secondary);
  top: -100px;
  right: -100px;
  opacity: 0.15;
}

.deh-hero__orb--2 {
  width: 400px;
  height: 400px;
  background: var(--deh-accent);
  bottom: -50px;
  left: -100px;
  opacity: 0.12;
}

.deh-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 162, 39, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 162, 39, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

.deh-hero__content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.deh-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(201, 162, 39, 0.12);
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--deh-secondary);
  margin-bottom: 28px;
}

.deh-hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--deh-secondary);
  border-radius: 50%;
  animation: deh-pulse 2s infinite;
}

@keyframes deh-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.deh-hero__title {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.deh-hero__title em {
  font-style: normal;
  background: var(--deh-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.deh-hero__subtitle {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  color: var(--deh-text-muted);
  margin-bottom: 40px;
  max-width: 580px;
}

.deh-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--deh-border);
}

.deh-hero__stat-number {
  font-family: var(--deh-font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--deh-secondary);
  line-height: 1;
  margin-bottom: 4px;
}

.deh-hero__stat-label {
  font-size: 0.8125rem;
  color: var(--deh-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ==========================================================================
   Trust Bar
   ========================================================================== */

.deh-trust {
  padding: 48px 0;
  border-top: 1px solid var(--deh-border);
  border-bottom: 1px solid var(--deh-border);
  background: rgba(17, 24, 39, 0.5);
}

.deh-trust__label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--deh-text-muted);
  margin-bottom: 28px;
}

.deh-trust__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 48px;
}

.deh-trust__logo {
  font-family: var(--deh-font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: rgba(148, 163, 184, 0.5);
  letter-spacing: 0.05em;
  transition: color var(--deh-transition);
}

.deh-trust__logo:hover {
  color: var(--deh-text-muted);
}

/* ==========================================================================
   Features / Services
   ========================================================================== */

.deh-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.deh-feature-card {
  background: var(--deh-card-bg);
  border: 1px solid var(--deh-border);
  border-radius: var(--deh-radius-lg);
  padding: 36px 28px;
  transition: all var(--deh-transition);
  position: relative;
  overflow: hidden;
}

.deh-feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--deh-gold-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--deh-transition);
}

.deh-feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 162, 39, 0.3);
  box-shadow: var(--deh-shadow);
}

.deh-feature-card:hover::before {
  transform: scaleX(1);
}

.deh-feature-card__icon {
  width: 56px;
  height: 56px;
  background: rgba(201, 162, 39, 0.12);
  border-radius: var(--deh-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.deh-feature-card__title {
  font-family: var(--deh-font-body);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.deh-feature-card__text {
  font-size: 0.9375rem;
  color: var(--deh-text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   About
   ========================================================================== */

.deh-about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.deh-about__visual {
  position: relative;
}

.deh-about__image {
  border-radius: var(--deh-radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--deh-primary-light);
  border: 1px solid var(--deh-border);
}

.deh-about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.deh-about__image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  font-size: 4rem;
}

.deh-about__float-card {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--deh-card-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--deh-border);
  border-radius: var(--deh-radius);
  padding: 20px 28px;
  box-shadow: var(--deh-shadow);
}

.deh-about__float-number {
  font-family: var(--deh-font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--deh-secondary);
  line-height: 1;
}

.deh-about__float-text {
  font-size: 0.8125rem;
  color: var(--deh-text-muted);
  margin-top: 4px;
}

.deh-about__content .deh-section__label {
  text-align: left;
}

.deh-about__content .deh-section__title {
  text-align: left;
  margin-bottom: 20px;
}

.deh-about__text {
  color: var(--deh-text-muted);
  margin-bottom: 32px;
}

.deh-about__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.deh-about__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--deh-text-muted);
}

.deh-about__list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: rgba(201, 162, 39, 0.15);
  color: var(--deh-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

/* ==========================================================================
   Stats
   ========================================================================== */

.deh-stats {
  background: var(--deh-gradient);
  position: relative;
  overflow: hidden;
}

.deh-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.deh-stat-item__number {
  font-family: var(--deh-font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  background: var(--deh-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.deh-stat-item__label {
  font-size: 0.9375rem;
  color: var(--deh-text-muted);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.deh-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.deh-testimonial-card {
  background: var(--deh-card-bg);
  border: 1px solid var(--deh-border);
  border-radius: var(--deh-radius-lg);
  padding: 32px;
  transition: all var(--deh-transition);
}

.deh-testimonial-card:hover {
  border-color: rgba(201, 162, 39, 0.25);
  transform: translateY(-4px);
}

.deh-testimonial-card__stars {
  color: var(--deh-secondary);
  font-size: 0.875rem;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.deh-testimonial-card__quote {
  font-size: 0.9375rem;
  color: var(--deh-text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
  font-style: italic;
}

.deh-testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.deh-testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--deh-gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--deh-primary);
  flex-shrink: 0;
}

.deh-testimonial-card__name {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--deh-text);
}

.deh-testimonial-card__role {
  font-size: 0.8125rem;
  color: var(--deh-text-muted);
}

/* ==========================================================================
   Blog / Latest Posts
   ========================================================================== */

.deh-posts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.deh-post-card {
  background: var(--deh-card-bg);
  border: 1px solid var(--deh-border);
  border-radius: var(--deh-radius-lg);
  overflow: hidden;
  transition: all var(--deh-transition);
}

.deh-post-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 162, 39, 0.25);
  box-shadow: var(--deh-shadow);
}

.deh-post-card__thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--deh-primary-light);
}

.deh-post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.deh-post-card:hover .deh-post-card__thumb img {
  transform: scale(1.06);
}

.deh-post-card__thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  background: linear-gradient(135deg, #1e293b, #0f172a);
}

.deh-post-card__body {
  padding: 24px;
}

.deh-post-card__meta {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--deh-secondary);
  margin-bottom: 10px;
}

.deh-post-card__title {
  font-family: var(--deh-font-body);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.deh-post-card__title a {
  color: var(--deh-text);
  text-decoration: none;
}

.deh-post-card__title a:hover {
  color: var(--deh-secondary);
}

.deh-post-card__excerpt {
  font-size: 0.875rem;
  color: var(--deh-text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   CTA
   ========================================================================== */

.deh-cta {
  padding: 80px 0;
}

.deh-cta__box {
  background: var(--deh-gold-gradient);
  border-radius: var(--deh-radius-lg);
  padding: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.deh-cta__box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.deh-cta__content {
  position: relative;
  z-index: 1;
}

.deh-cta__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--deh-primary);
  margin-bottom: 16px;
}

.deh-cta__text {
  font-size: 1.0625rem;
  color: rgba(10, 15, 28, 0.75);
  max-width: 520px;
  margin: 0 auto 32px;
}

.deh-cta__box .deh-btn--primary {
  background: var(--deh-primary);
  color: var(--deh-text);
  border-color: var(--deh-primary);
}

.deh-cta__box .deh-btn--primary:hover {
  background: var(--deh-primary-light);
  color: var(--deh-text);
  box-shadow: 0 12px 30px rgba(10, 15, 28, 0.35);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.deh-footer {
  background: #060912;
  border-top: 1px solid var(--deh-border);
  padding-top: 80px;
}

.deh-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
}

.deh-footer__brand p {
  font-size: 0.9375rem;
  color: var(--deh-text-muted);
  margin: 20px 0 28px;
  max-width: 300px;
}

.deh-footer__social {
  display: flex;
  gap: 12px;
}

.deh-footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--deh-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--deh-text-muted);
  font-size: 0.875rem;
  transition: all var(--deh-transition);
}

.deh-footer__social a:hover {
  background: var(--deh-secondary);
  border-color: var(--deh-secondary);
  color: var(--deh-primary);
}

.deh-footer__heading {
  font-family: var(--deh-font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--deh-text);
  margin-bottom: 24px;
}

.deh-footer__links li {
  margin-bottom: 12px;
}

.deh-footer__links a {
  font-size: 0.9375rem;
  color: var(--deh-text-muted);
}

.deh-footer__links a:hover {
  color: var(--deh-secondary);
}

.deh-footer__bottom {
  border-top: 1px solid var(--deh-border);
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: gap;
  gap: 16px;
}

.deh-footer__copyright {
  font-size: 0.875rem;
  color: var(--deh-text-muted);
}

.deh-footer__bottom-links {
  display: flex;
  gap: 24px;
}

.deh-footer__bottom-links a {
  font-size: 0.875rem;
  color: var(--deh-text-muted);
}

/* ==========================================================================
   WordPress Core
   ========================================================================== */

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  word-wrap: normal !important;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  max-width: 100%;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .deh-features__grid,
  .deh-testimonials__grid,
  .deh-posts__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .deh-stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .deh-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .deh-about__grid {
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .deh-section {
    padding: 72px 0;
  }

  .deh-menu-toggle {
    display: flex;
  }

  .deh-nav__menu {
    display: none;
    position: fixed;
    top: var(--deh-header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 15, 28, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 40px;
  }

  .deh-nav__menu.is-open {
    display: flex;
  }

  .deh-nav__menu li a {
    font-size: 1.25rem;
  }

  .deh-nav__cta {
    display: none;
  }

  .deh-hero__stats {
    gap: 24px;
  }

  .deh-features__grid,
  .deh-testimonials__grid,
  .deh-posts__grid {
    grid-template-columns: 1fr;
  }

  .deh-about__grid {
    grid-template-columns: 1fr;
  }

  .deh-about__float-card {
    right: 16px;
    bottom: -16px;
  }

  .deh-stats__grid {
    grid-template-columns: 1fr 1fr;
  }

  .deh-cta__box {
    padding: 40px 28px;
  }

  .deh-footer__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .deh-footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .deh-btn-group {
    flex-direction: column;
  }

  .deh-btn {
    width: 100%;
  }

  .deh-hero__stats {
    flex-direction: column;
    gap: 20px;
  }

  .deh-stats__grid {
    grid-template-columns: 1fr;
  }

  .deh-trust__logos {
    gap: 24px;
  }
}
