/* ==========================================================================
   شركة نقل الرياض - Saudi Premium Logistics & Home Services Design System
   High-End Modern Arabic UI/UX
   ========================================================================== */

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

:root {
  --primary: #0b5cad;
  --primary-dark: #073a6e;
  --primary-darker: #052649;
  --primary-light: #e0f2fe;
  --primary-subtle: #f0f7ff;
  --primary-gradient: linear-gradient(135deg, #0b5cad 0%, #0284c7 100%);
  --hero-gradient: linear-gradient(135deg, #062649 0%, #0b5cad 55%, #0284c7 100%);
  --accent-gold: #f59e0b;
  --accent-green: #25D366;
  --text-main: #1e293b;
  --text-heading: #0f172a;
  --text-muted: #64748b;
  --bg-page: #f8fafc;
  --card-bg: #ffffff;
  --card-border: #e2e8f0;
  --card-border-hover: #93c5fd;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 14px 34px -4px rgba(11, 92, 173, 0.14), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 50px;
  --transition-smooth: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Base & Global Resets
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  padding: 0;
  font-family: 'Cairo', 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.85;
  color: var(--text-main);
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
}

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

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

p {
  margin: 0 0 16px 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cairo', sans-serif;
  color: var(--text-heading);
  line-height: 1.35;
  margin-top: 0;
  font-weight: 800;
}

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

.wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Header & Premium Navbar
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 2px solid rgba(11, 92, 173, 0.1);
  box-shadow: 0 4px 25px -4px rgba(11, 92, 173, 0.08);
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 30px -4px rgba(11, 92, 173, 0.14);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 25px;
  color: var(--primary);
  letter-spacing: -0.5px;
  text-decoration: none !important;
  white-space: nowrap;
  transition: var(--transition-smooth);
  position: relative;
}

.logo::before {
  content: '🚚';
  display: inline-block;
  font-size: 28px;
  filter: drop-shadow(0 3px 6px rgba(11, 92, 173, 0.3));
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.logo:hover::before {
  transform: scale(1.18) rotate(-6deg);
}

/* Navigation Menu */
nav {
  display: flex;
  align-items: center;
}

.menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.menu > li {
  position: relative;
}

.menu > li > a {
  display: block;
  padding: 9px 18px;
  font-weight: 700;
  font-size: 15px;
  color: #1e293b;
  border-radius: var(--radius-pill);
  transition: var(--transition-smooth);
}

.menu > li > a:hover {
  color: var(--primary);
  background-color: var(--primary-subtle);
  transform: translateY(-1px);
}

/* Dropdown Menu */
.has-sub {
  position: relative;
}

.has-sub > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.has-sub > a::after {
  content: '▾';
  font-size: 13px;
  color: var(--text-muted);
  transition: transform 0.25s ease;
}

.has-sub:hover > a::after,
.has-sub.sub-open > a::after {
  transform: rotate(180deg);
  color: var(--primary);
}

.sub {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #ffffff;
  list-style: none;
  padding: 10px;
  margin: 0;
  min-width: 300px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(11, 92, 173, 0.14);
  box-shadow: 0 18px 40px -10px rgba(11, 92, 173, 0.18), 0 0 0 1px rgba(0,0,0,0.03);
  z-index: 9999;
  animation: dropdownFade 0.25s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.sub::before {
  content: '';
  position: absolute;
  top: -7px;
  right: 28px;
  width: 12px;
  height: 12px;
  background: #ffffff;
  transform: rotate(45deg);
  border-top: 1px solid rgba(11, 92, 173, 0.14);
  border-right: 1px solid rgba(11, 92, 173, 0.14);
}

@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.has-sub:hover .sub,
.has-sub.sub-open .sub {
  display: block;
}

.sub li {
  margin: 0;
}

.sub li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  font-size: 14.5px;
  font-weight: 700;
  color: #334155;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
}

.sub li a::after {
  content: '←';
  font-size: 14px;
  opacity: 0;
  transform: translateX(6px);
  transition: var(--transition-smooth);
}

.sub li a:hover {
  background-color: #f0f7ff;
  color: var(--primary);
  padding-right: 20px;
}

.sub li a:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* Call Button in Navbar */
.call {
  margin-inline-start: auto;
  background: var(--primary-gradient);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 15px;
  padding: 11px 24px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 16px rgba(11, 92, 173, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.call::before {
  content: '📞';
  font-size: 16px;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

.call:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11, 92, 173, 0.45);
  color: #ffffff;
}

/* Mobile Hamburger Menu Toggle */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 1001;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
}

.menu-toggle:hover {
  background: var(--primary-subtle);
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.site-header.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.site-header.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.site-header.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   Main Layout & Content Sections
   ========================================================================== */
main {
  padding: 40px 24px 60px;
  min-height: 70vh;
}

main > h1 {
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--text-heading);
  text-align: center;
  margin-bottom: 35px;
  position: relative;
  padding-bottom: 16px;
}

main > h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 4px;
  background: var(--primary-gradient);
  border-radius: 2px;
}

.content.home {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ==========================================================================
   Section Cards (.home-sec)
   ========================================================================== */
.home-sec {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 38px 36px;
  margin: 0 0 32px;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: var(--transition-smooth);
}

.home-sec:hover {
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

/* Category Subtitle Pill */
.home-sec > p:first-child:not(:only-child),
.home-sec > p a[href*="خدماتنا"] {
  display: inline-block;
  background: var(--primary-light);
  color: #0369a1;
  font-weight: 800;
  font-size: 13px;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
  letter-spacing: 0.2px;
  border: 1px solid rgba(14, 165, 233, 0.2);
}

/* Headings inside sections */
.home-sec h2 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-heading);
  margin: 6px 0 16px;
  position: relative;
  line-height: 1.4;
}

.home-sec h3 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-heading);
  margin: 24px 0 12px;
}

.home-sec h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #334155;
  margin: 20px 0 10px;
}

.home-sec h5 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin: 18px 0 8px;
}

.home-sec h5 a {
  color: var(--primary);
  transition: var(--transition-smooth);
}

.home-sec h5 a:hover {
  color: var(--primary-dark);
}

.home-sec h6 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin: 16px 0 6px;
}

.home-sec h6 a {
  color: var(--primary);
}

/* Services items (H5 + P) interconnected styling */
.home-sec h5:has(> a) {
  background: #f8fafc;
  border: 1px solid var(--card-border);
  border-bottom: none;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  padding: 16px 20px 6px;
  margin: 18px 0 0;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition-smooth);
}

.home-sec h5:has(> a)::before {
  content: '✦';
  color: var(--primary);
  font-size: 16px;
}

.home-sec h5:has(> a) + p {
  background: #f8fafc;
  border: 1px solid var(--card-border);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  padding: 0 20px 18px;
  margin: 0 0 18px;
  color: #475569;
  font-size: 15px;
  line-height: 1.8;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.home-sec h5:has(> a):hover,
.home-sec h5:has(> a):hover + p {
  border-color: var(--card-border-hover);
  background: var(--primary-subtle);
}

/* Lists */
.home-sec ul {
  padding-right: 22px;
  margin: 16px 0;
}

.home-sec ul li {
  margin: 8px 0;
  color: #475569;
  font-weight: 500;
  line-height: 1.8;
  position: relative;
}

.home-sec ul li::marker {
  color: var(--primary);
}

.home-sec ol {
  padding-right: 22px;
  margin: 16px 0;
}

.home-sec ol li {
  margin: 10px 0;
  color: #475569;
  line-height: 1.8;
}

.home-sec ol li::marker {
  color: var(--primary);
  font-weight: 800;
}

/* Banner section containing only a button */
.home-sec:has(> .btn:only-child) {
  text-align: center;
  padding: 28px;
  background: linear-gradient(135deg, #f0f7ff 0%, #e0f2fe 100%);
  border: 1px solid #bae6fd;
}

.home-sec:has(> .btn:only-child) .btn {
  margin: 0;
  font-size: 17px;
  padding: 14px 42px;
}

/* ==========================================================================
   Hero Banner Styling (First .home-sec on Homepage)
   ========================================================================== */
.home > .home-sec:first-of-type {
  background: var(--hero-gradient);
  border: none;
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  margin-bottom: 40px;
  box-shadow: 0 16px 40px -10px rgba(11, 92, 173, 0.45);
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

.home > .home-sec:first-of-type::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0%, transparent 70%);
  pointer-events: none;
}

.home > .home-sec:first-of-type h1 {
  color: #ffffff;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.28;
  margin-bottom: 24px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.25);
  letter-spacing: -0.5px;
}

.home > .home-sec:first-of-type p {
  display: inline-block;
  margin: 6px 6px;
}

.home > .home-sec:first-of-type p strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--radius-pill);
  padding: 10px 22px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  transition: var(--transition-smooth);
}

.home > .home-sec:first-of-type p strong::before {
  content: '✓';
  display: inline-block;
  color: #38bdf8;
  font-weight: 900;
  font-size: 16px;
}

.home > .home-sec:first-of-type p strong:hover {
  background: rgba(255, 255, 255, 0.26);
  transform: translateY(-2px);
}

.home > .home-sec:first-of-type .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: var(--primary-dark) !important;
  font-size: 18px;
  font-weight: 900;
  padding: 16px 44px;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  margin-top: 26px;
  border: 2px solid #ffffff;
  transition: var(--transition-smooth);
}

.home > .home-sec:first-of-type .btn::before {
  content: '📞';
  font-size: 19px;
}

.home > .home-sec:first-of-type .btn:hover {
  background: #f8fafc;
  color: var(--primary) !important;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

/* ==========================================================================
   Buttons (.btn)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary-gradient);
  color: #ffffff !important;
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(11, 92, 173, 0.3);
  text-decoration: none !important;
  cursor: pointer;
  margin: 12px 0;
  transition: var(--transition-smooth);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11, 92, 173, 0.45);
  color: #ffffff !important;
  text-decoration: none;
}

.btn:active {
  transform: translateY(0);
}

/* WhatsApp Link Enhancement */
a[href*="wa.me"] {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #25D366;
  color: #ffffff !important;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
  text-decoration: none !important;
  transition: var(--transition-smooth);
}

a[href*="wa.me"]::before {
  content: '💬';
  font-size: 14px;
}

a[href*="wa.me"]:hover {
  background: #20ba59;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
  color: #ffffff !important;
}

/* Phone number text link enhancement */
a[href^="tel:"]:not(.btn):not(.call):not(.site-footer a):not(.floating-btn) {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-light);
  color: var(--primary) !important;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  text-decoration: none !important;
  direction: ltr;
  transition: var(--transition-smooth);
}

a[href^="tel:"]:not(.btn):not(.call):not(.site-footer a):not(.floating-btn)::before {
  content: '📞';
  font-size: 14px;
}

a[href^="tel:"]:not(.btn):not(.call):not(.site-footer a):not(.floating-btn):hover {
  background: var(--primary);
  color: #ffffff !important;
}

/* ==========================================================================
   Images & Media Presentation
   ========================================================================== */
.home-sec img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease;
}

.home-sec figure {
  margin: 22px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #f1f5f9;
}

.home-sec figure img {
  width: 100%;
  border-radius: var(--radius-md);
  transition: transform 0.4s ease;
}

.home-sec figure:hover img {
  transform: scale(1.025);
}

figcaption {
  padding: 10px 16px;
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  background: #ffffff;
  border-top: 1px solid var(--card-border);
}

/* ==========================================================================
   Social Media Links (.social)
   ========================================================================== */
.social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  margin: 6px 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: var(--transition-smooth);
}

.social[href*="facebook"] {
  background: #1877F2;
  color: #ffffff !important;
}

.social[href*="x.com"],
.social[href*="twitter"] {
  background: #0f1419;
  color: #ffffff !important;
}

.social[href*="instagram"] {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff !important;
}

.social[href*="snapchat"] {
  background: #FFFC00;
  color: #000000 !important;
}

.social:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   Interactive Accordions / FAQs (details & summary)
   ========================================================================== */
.home details {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 0;
  margin: 14px 0;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.home details[open] {
  border-color: #7dd3fc;
  box-shadow: 0 6px 20px -2px rgba(11, 92, 173, 0.12);
}

.home summary {
  padding: 18px 24px;
  font-weight: 700;
  font-size: 16px;
  color: var(--text-heading);
  background: #f8fafc;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  user-select: none;
  outline: none;
  transition: background 0.2s ease;
}

.home summary::-webkit-details-marker {
  display: none;
}

.home summary::after {
  content: '▾';
  font-size: 18px;
  color: var(--primary);
  font-weight: bold;
  transition: transform 0.25s ease;
}

.home details[open] summary::after {
  transform: rotate(180deg);
}

.home summary:hover {
  background: var(--primary-subtle);
  color: var(--primary);
}

.home details > *:not(summary) {
  padding: 18px 24px;
  color: #475569;
  line-height: 1.85;
  border-top: 1px solid #f1f5f9;
  margin: 0;
}

.home details > ul {
  padding-right: 44px;
  padding-bottom: 20px;
}

/* ==========================================================================
   Reviews & Testimonials (⭐️⭐️⭐️⭐️⭐️)
   ========================================================================== */
.home-sec img[src*="elementor/thumbs"] {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
  box-shadow: 0 4px 14px rgba(11, 92, 173, 0.2);
  margin-bottom: 12px;
}

.home-sec figure:has(img[src*="elementor/thumbs"]) {
  background: transparent;
  box-shadow: none;
  margin: 16px 0 8px;
}

.home-sec p:has(br) {
  font-size: 15px;
  color: #334155;
  background: #f8fafc;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  border-right: 4px solid var(--accent-gold);
  margin: 12px 0 24px;
}

/* ==========================================================================
   Trusted Companies Section (Logos Cloud)
   ========================================================================== */
.home-sec:has(img[src*="slack-logo"]) {
  text-align: center;
  padding: 44px 30px;
  background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
  border: 1px dashed #cbd5e1;
}

.home-sec img[src*="slack-logo"],
.home-sec img[src*="dropbox-logo"],
.home-sec img[src*="shopify-logo"],
.home-sec img[src*="google-logo"] {
  display: inline-block;
  vertical-align: middle;
  height: 40px;
  width: auto;
  max-width: 140px;
  margin: 14px 24px;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: var(--transition-smooth);
}

.home-sec img[src*="slack-logo"]:hover,
.home-sec img[src*="dropbox-logo"]:hover,
.home-sec img[src*="shopify-logo"]:hover,
.home-sec img[src*="google-logo"]:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

/* ==========================================================================
   Homepage Blog Cards Showcase
   ========================================================================== */
.home-sec a:has(> img[src*="assets/images/2025/11"]) {
  display: block;
  margin-top: 24px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.home-sec a:has(> img[src*="assets/images/2025/11"]) img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.home-sec a:has(> img[src*="assets/images/2025/11"]):hover img {
  transform: scale(1.03);
}

.home-sec ul:has(a[href*="category"]) {
  list-style: none;
  padding: 0;
  margin: 14px 0 8px;
}

.home-sec ul:has(a[href*="category"]) li {
  display: inline-block;
  margin: 0;
}

.home-sec ul:has(a[href*="category"]) li a {
  display: inline-block;
  background: var(--primary-light);
  color: #0369a1;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
}

.home-sec h2:has(a[href*="blog/"]) {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 8px 0 10px;
}

.home-sec h2:has(a[href*="blog/"]) a {
  color: var(--text-heading);
}

.home-sec h2:has(a[href*="blog/"]) a:hover {
  color: var(--primary);
}

/* ==========================================================================
   Articles & Blog Grid (.post-list & .pagination)
   ========================================================================== */
.post-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.post-list li {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
}

.post-list li:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.post-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
  color: var(--text-heading);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  text-decoration: none !important;
}

.post-list li a::after {
  content: '←';
  font-size: 18px;
  color: var(--primary);
  transition: transform 0.25s ease;
}

.post-list li:hover a::after {
  transform: translateX(-5px);
}

.pagination {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 40px 0 20px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: #334155;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none !important;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.pagination a:hover {
  border-color: var(--primary);
  color: var(--primary);
  background-color: var(--primary-subtle);
  transform: translateY(-1px);
}

.pagination .current {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(11, 92, 173, 0.35);
}

/* ==========================================================================
   Single Article Reading Experience (body.post)
   ========================================================================== */
body.post main {
  max-width: 900px;
  margin: 0 auto;
}

body.post .content {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 44px 46px;
  box-shadow: var(--shadow-md);
}

body.post h2 {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-top: 36px;
  margin-bottom: 16px;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 10px;
}

body.post h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-top: 28px;
  margin-bottom: 12px;
}

body.post p {
  font-size: 17px;
  line-height: 1.95;
  color: #334155;
  margin-bottom: 20px;
}

body.post blockquote {
  border-inline-start: 4px solid var(--primary);
  margin: 28px 0;
  padding: 16px 24px;
  background: var(--primary-subtle);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 16px;
  color: #1e3a8a;
}

/* ==========================================================================
   Tables & Embeds
   ========================================================================== */
.home table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--card-border);
  margin: 24px 0;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.home th {
  background: #f1f5f9;
  color: var(--text-heading);
  font-weight: 800;
  padding: 14px 18px;
  text-align: right;
  border-bottom: 2px solid var(--card-border);
}

.home td {
  padding: 14px 18px;
  border-bottom: 1px solid #f1f5f9;
  color: #475569;
}

.home tr:last-child td {
  border-bottom: none;
}

.home tr:nth-child(even) td {
  background: #f8fafc;
}

.home iframe {
  max-width: 100%;
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin: 20px 0;
}

/* ==========================================================================
   Premium Corporate Footer (.site-footer)
   ========================================================================== */
.site-footer {
  background: #08152b;
  color: #94a3b8;
  padding: 60px 0 0;
  border-top: 4px solid var(--primary);
  margin-top: 70px;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0b5cad, #38bdf8, #0b5cad);
}

/* Multi-column Grid in Footer */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.1fr 1.2fr 1.4fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  font-size: 26px;
  font-weight: 900;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo::before {
  content: '🚚';
  font-size: 28px;
}

.footer-tagline {
  color: #94a3b8;
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 20px;
}

.footer-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ft-tag {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

.footer-title {
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 20px 0;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 36px;
  height: 3px;
  background: #38bdf8;
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links li a {
  color: #cbd5e1;
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.footer-links li a::before {
  content: '‹';
  font-size: 18px;
  color: #38bdf8;
  transition: transform 0.2s;
}

.footer-links li a:hover {
  color: #38bdf8;
  padding-right: 6px;
}

.footer-links li a:hover::before {
  transform: translateX(-4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: #cbd5e1;
  font-size: 15px;
}

.footer-contact-item .icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item a {
  color: #ffffff;
  font-weight: 700;
  transition: var(--transition-smooth);
}

.footer-contact-item a:hover {
  color: #38bdf8;
}

.footer-contact-item .phone-link {
  direction: ltr;
  display: inline-block;
  font-size: 16px;
}

.footer-contact-item .whatsapp-link {
  color: #4ade80 !important;
}

/* Footer Bottom Bar */
.footer-bottom {
  padding: 24px 0;
  background: #050e1d;
}

.footer-bottom-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  margin: 0;
  font-size: 14.5px;
  color: #94a3b8;
}

.footer-bottom a {
  color: #ffffff;
  font-weight: 700;
  direction: ltr;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Fallback for simple footer structure */
.site-footer > .wrap:only-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 36px;
}

.site-footer > .wrap:only-child a[href^="tel:"] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
  direction: ltr;
}

/* ==========================================================================
   Floating Action Contact Buttons (WhatsApp & Call)
   ========================================================================== */
.floating-contact {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.floating-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  text-decoration: none !important;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  cursor: pointer;
}

/* WhatsApp Floating Button */
.floating-btn.whatsapp {
  background: #25D366;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  animation: pulseWhatsapp 2.4s infinite;
}

.floating-btn.whatsapp:hover {
  background: #20ba59;
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.6);
}

@keyframes pulseWhatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.65), 0 8px 24px rgba(37, 211, 102, 0.45);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0), 0 8px 24px rgba(37, 211, 102, 0.45);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 8px 24px rgba(37, 211, 102, 0.45);
  }
}

/* Phone Floating Button */
.floating-btn.phone,
.floating-btn.call {
  background: linear-gradient(135deg, #0b5cad 0%, #0284c7 100%);
  box-shadow: 0 8px 24px rgba(11, 92, 173, 0.45);
  animation: pulsePhone 2.4s infinite 1.2s;
}

.floating-btn.phone:hover,
.floating-btn.call:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 12px 28px rgba(11, 92, 173, 0.6);
}

@keyframes pulsePhone {
  0% {
    box-shadow: 0 0 0 0 rgba(11, 92, 173, 0.65), 0 8px 24px rgba(11, 92, 173, 0.45);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(11, 92, 173, 0), 0 8px 24px rgba(11, 92, 173, 0.45);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(11, 92, 173, 0), 0 8px 24px rgba(11, 92, 173, 0.45);
  }
}

/* Floating Tooltip */
.floating-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: rgba(15, 23, 42, 0.92);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: var(--shadow-md);
}

.floating-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -5px;
  transform: translateY(-50%);
  border-width: 5px 0 5px 5px;
  border-style: solid;
  border-color: transparent transparent transparent rgba(15, 23, 42, 0.92);
}

.floating-btn:hover .floating-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ==========================================================================
   Responsive & Mobile Perfection
   ========================================================================== */
@media (max-width: 991px) {
  /* Header adjustments for Tablet/Mobile */
  .menu-toggle {
    display: flex;
  }

  .site-header .wrap {
    padding: 12px 20px;
    min-height: 68px;
  }

  .logo {
    font-size: 21px;
  }

  .call {
    font-size: 13.5px;
    padding: 8px 18px;
  }

  /* Mobile Slide-down Navigation */
  nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: #ffffff;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.12);
    border-top: 1px solid var(--card-border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
  }

  .site-header.nav-open nav {
    max-height: 85vh;
    overflow-y: auto;
    padding: 16px 20px 24px;
  }

  .menu {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 6px;
  }

  .menu > li > a {
    padding: 12px 16px;
    font-size: 16px;
    border-radius: var(--radius-sm);
  }

  .sub {
    position: static;
    display: none;
    box-shadow: none;
    border: 1px solid var(--card-border);
    background: #f8fafc;
    margin: 6px 12px 10px;
    min-width: unset;
    border-radius: var(--radius-sm);
    animation: none;
  }

  .sub::before {
    display: none;
  }

  .has-sub:hover .sub,
  .has-sub.sub-open .sub {
    display: block;
  }

  /* Footer Grid on Tablet */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  main {
    padding: 20px 14px 60px;
  }

  .home-sec {
    padding: 26px 18px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
  }

  .home > .home-sec:first-of-type {
    padding: 40px 18px;
  }

  .home > .home-sec:first-of-type h1 {
    font-size: 1.85rem;
  }

  .home-sec h2 {
    font-size: 1.45rem;
  }

  .post-list {
    grid-template-columns: 1fr;
  }

  body.post .content {
    padding: 26px 18px;
  }

  /* Footer on Mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom-wrap {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  /* Floating Buttons on Mobile */
  .floating-contact {
    left: 16px;
    bottom: 16px;
    gap: 12px;
  }

  .floating-btn {
    width: 52px;
    height: 52px;
  }

  .floating-btn svg {
    width: 26px;
    height: 26px;
  }
}
