/*
Theme Name: العالمية لنقل العفش والأثاث
Theme URI: https://elalamiaformoving-sa.site/
Author: Alamia Moving Team
Author URI: https://elalamiaformoving-sa.site/
Description: قالب ووردبريس احترافي ومتكامل لشركة العالمية لنقل العفش والأثاث في جدة. تصميم عصري سريع ومتجاوب يدعم اللغة العربية بالكامل (RTL) مع إدارة متكاملة لكافة المحتويات، وبدون أي اعتمادية على Node.js أو React على الخادم.
Version: 1.0.0
Requires at least: 5.6
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: alamia-moving
Domain Path: /languages
Tags: custom-colors, custom-menu, custom-logo, featured-images, rtl-language-support, theme-options, translation-ready
*/

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&display=swap');

/* ==========================================================================
   CSS Variables & Design Tokens
   ========================================================================== */
:root {
  --background: #ffffff;
  --foreground: #0f172a;
  --border: #e2e8f0;
  --input: #e2e8f0;
  --ring: #0a84c1;
  
  /* Trust Blue/Teal (Primary) */
  --primary: #0a84c1;
  --primary-hover: #086fa2;
  --primary-foreground: #ffffff;
  --primary-light: rgba(10, 132, 193, 0.1);
  --primary-light-20: rgba(10, 132, 193, 0.2);
  
  /* Energetic Orange (Secondary) */
  --secondary: #fa6b15;
  --secondary-hover: #e05b0a;
  --secondary-foreground: #ffffff;
  --secondary-light: rgba(250, 107, 21, 0.1);
  
  /* System / Neutral Colors */
  --muted: #f8fafc;
  --muted-dark: #f1f5f9;
  --muted-foreground: #64748b;
  --card: #ffffff;
  --card-foreground: #0f172a;
  
  /* Brand Specific */
  --whatsapp: #25D366;
  --whatsapp-hover: #20ba59;
  --radius: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-3xl: 3rem;
}

/* ==========================================================================
   Base Styles & Resets
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: 'Cairo', 'Segoe UI', Arial, sans-serif;
  direction: rtl;
  text-align: right;
  line-height: 1.75;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

img, svg, iframe {
  display: block;
  max-width: 100%;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.3;
  text-wrap: balance;
}

h1 {
  font-size: 2.25rem;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  h1 { font-size: 3rem; }
}

@media (min-width: 1024px) {
  h1 { font-size: 3.75rem; }
}

h2 {
  font-size: 1.875rem;
  letter-spacing: -0.01em;
}

@media (min-width: 768px) {
  h2 { font-size: 2.25rem; }
}

h3 {
  font-size: 1.5rem;
}

@media (min-width: 768px) {
  h3 { font-size: 1.75rem; }
}

h4 {
  font-size: 1.25rem;
}

p {
  line-height: 1.75;
}

/* ==========================================================================
   Layout Containers & Utilities
   ========================================================================== */
.container-custom {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container-custom {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container-custom {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.section-padding {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (min-width: 768px) {
  .section-padding {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main.main-content {
  flex: 1 0 auto;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  line-height: 1.4;
  text-decoration: none;
}

.btn-sm {
  padding: 0.375rem 0.875rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.75rem 1.75rem;
  font-size: 1.125rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  color: var(--primary-foreground);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
  box-shadow: 0 4px 14px rgba(250, 107, 21, 0.3);
}

.btn-secondary:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-2px);
  color: var(--secondary-foreground);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--border);
  color: var(--foreground);
}

.btn-outline:hover {
  background-color: var(--muted-dark);
  border-color: #cbd5e1;
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: #ffffff;
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  color: #ffffff;
}

.btn-ghost {
  background: transparent;
  color: var(--foreground);
}

.btn-ghost:hover {
  background: var(--muted-dark);
}

.btn-full {
  width: 100%;
}

/* ==========================================================================
   Badges
   ========================================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.825rem;
  font-weight: 600;
  border-radius: 9999px;
  line-height: 1.4;
}

.badge-secondary {
  background-color: var(--muted-dark);
  color: var(--foreground);
}

.badge-primary {
  background-color: var(--primary-light);
  color: var(--primary);
}

/* ==========================================================================
   Cards
   ========================================================================== */
.card {
  background-color: var(--card);
  color: var(--card-foreground);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border-color: rgba(10, 132, 193, 0.3);
}

.card-header {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.card-description {
  font-size: 0.95rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.card-content {
  padding: 0 1.5rem 1.5rem 1.5rem;
  flex: 1 1 auto;
}

.card-footer {
  padding: 1.5rem;
  padding-top: 0;
  margin-top: auto;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  border-bottom: 1px solid var(--border);
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

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

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--foreground);
}

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

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-desktop a {
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--foreground);
}

.nav-desktop a:hover {
  background-color: var(--muted-dark);
}

.nav-desktop a.active,
.nav-desktop .current-menu-item > a {
  background-color: var(--primary);
  color: #ffffff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  background: transparent;
  border: 1px solid var(--border);
  cursor: pointer;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* Mobile Offcanvas Drawer */
.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100%;
  background-color: var(--background);
  z-index: 51;
  padding: 2rem 1.5rem;
  box-shadow: -4px 0 20px rgba(0,0,0,0.15);
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.mobile-drawer-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-drawer-close:hover {
  background: var(--muted-dark);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav a {
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
}

.mobile-nav a:hover {
  background-color: var(--muted-dark);
}

.mobile-nav a.active,
.mobile-nav .current-menu-item > a {
  background-color: var(--primary);
  color: #ffffff;
}

.mobile-drawer-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

body.drawer-open .mobile-drawer-backdrop {
  opacity: 1;
  visibility: visible;
}

body.drawer-open .mobile-drawer {
  right: 0;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(10, 132, 193, 0.05) 0%, var(--background) 50%, rgba(10, 132, 193, 0.1) 100%);
  overflow: hidden;
  padding: 4rem 0;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1654383384121-0f51dde9be5f?w=1920&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.04;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background-color: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  line-height: 1.8;
  max-width: 36rem;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.hero-features {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1rem;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.hero-feature-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-wrapper {
  position: relative;
  display: none;
}

@media (min-width: 1024px) {
  .hero-image-wrapper {
    display: block;
  }
}

.hero-image-glow {
  position: absolute;
  inset: -1rem;
  background: linear-gradient(to top right, var(--primary-light-20), transparent);
  border-radius: var(--radius-2xl);
  filter: blur(24px);
  opacity: 0.5;
}

.hero-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Page Header Hero (for About, Services, Portfolio, etc.) */
.page-hero {
  padding: 4.5rem 0;
  background: linear-gradient(135deg, rgba(10, 132, 193, 0.05) 0%, var(--background) 50%, rgba(250, 107, 21, 0.05) 100%);
  text-align: center;
}

.page-hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .page-hero-title {
    font-size: 3.25rem;
  }
}

.page-hero-subtitle {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  max-width: 48rem;
  margin: 0 auto;
  line-height: 1.75;
}

/* ==========================================================================
   Section Grids & Cards
   ========================================================================== */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto;
}

.grid-1 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Service Card */
.service-icon-wrap {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.service-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.service-benefit-item svg {
  color: var(--secondary);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* Feature Box in "Why Choose Us" */
.why-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.07);
  border-color: rgba(10, 132, 193, 0.3);
}

.why-icon {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
}

.curved-box {
  background-color: rgba(10, 132, 193, 0.05);
  border: 1px solid rgba(10, 132, 193, 0.1);
  border-radius: var(--radius-3xl);
  margin-left: 1rem;
  margin-right: 1rem;
  padding: 4rem 1.5rem;
  margin-bottom: 5rem;
}

/* Article Card */
.article-card-thumb {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-top-right-radius: var(--radius);
  border-top-left-radius: var(--radius);
}

.article-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.article-card:hover .article-card-thumb img {
  transform: scale(1.05);
}

.article-meta-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.article-date-tag {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.85rem;
  color: var(--muted-foreground);
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Portfolio Card */
.portfolio-card-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.portfolio-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-card-thumb img {
  transform: scale(1.05);
}

/* Stats Counter Section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .stat-number {
    font-size: 3.25rem;
  }
}

.stat-label {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  font-weight: 500;
}

/* Process Section (How We Work) */
.process-step {
  text-align: center;
  padding: 1.5rem;
}

.process-number {
  font-size: 4rem;
  font-weight: 800;
  color: rgba(10, 132, 193, 0.2);
  line-height: 1;
  margin-bottom: 1rem;
}

/* ==========================================================================
   Contact Section & Form
   ========================================================================== */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: #ffffff;
  color: #111827;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10, 132, 193, 0.2);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .contact-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-mini-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  transition: box-shadow 0.2s;
}

.contact-mini-card:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.contact-icon-bubble {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-container {
  height: 18rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Toast Notifications */
.alamia-toast {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  z-index: 100;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 90%;
  text-align: center;
}

.alamia-toast.show {
  transform: translateX(-50%) translateY(0);
}

.alamia-toast.success {
  background-color: #10b981;
  color: #ffffff;
}

.alamia-toast.error {
  background-color: #ef4444;
  color: #ffffff;
}

/* ==========================================================================
   Single Article Detail Styling
   ========================================================================== */
.article-detail-header {
  padding: 4rem 0;
  background: linear-gradient(135deg, rgba(10, 132, 193, 0.05) 0%, var(--background) 50%, rgba(250, 107, 21, 0.05) 100%);
}

.article-featured-media {
  margin-bottom: 2.5rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.article-featured-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.article-content {
  font-size: 1.125rem;
  line-height: 1.9;
  color: #334155;
  max-width: 52rem;
  margin: 0 auto;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4 {
  color: var(--foreground);
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  font-weight: 800;
}

.article-content h2 {
  font-size: 1.875rem;
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 0.5rem;
}

.article-content h3 {
  font-size: 1.5rem;
}

.article-content p {
  margin-bottom: 1.5rem;
}

.article-content ul,
.article-content ol {
  margin-bottom: 1.5rem;
  padding-right: 2rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.post-nav-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .post-nav-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.post-nav-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  transition: all 0.3s;
  display: block;
}

.post-nav-card:hover {
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  border-color: var(--primary);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--muted-dark);
  color: var(--muted-foreground);
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.footer-top {
  padding: 4rem 0 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
  }
}

.footer-col-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.95rem;
  color: var(--muted-foreground);
}

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

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.95rem;
}

.footer-contact-item svg {
  color: var(--primary);
  flex-shrink: 0;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-icon-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  background-color: #ffffff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--foreground);
  transition: all 0.2s;
}

.social-icon-btn:hover {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.75rem 0;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
}

@media (min-width: 640px) {
  .footer-bottom-inner {
    flex-direction: row;
  }
}

/* ==========================================================================
   Floating Action Buttons
   ========================================================================== */
/* Floating WhatsApp Button (Bottom Left) */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 40;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}

/* Floating Contact Button (Right Edge) */
.floating-contact-btn {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  background-color: var(--secondary);
  color: var(--secondary-foreground);
  padding: 0.75rem 1.25rem;
  border-top-left-radius: 0.75rem;
  border-bottom-left-radius: 0.75rem;
  box-shadow: -4px 4px 20px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-right: none;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s, padding-right 0.2s;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}

.floating-contact-btn:hover {
  background-color: var(--secondary-hover);
  padding-right: 1.5rem;
  color: #ffffff;
}

.floating-icon-ping-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-icon-ping {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

.animate-spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
