*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Cairo",
    system-ui,
    -apple-system,
    sans-serif;
  background-color: #f8fafc;
  color: #0f172a;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: "Cairo", sans-serif;
}

/* ==========================================================================
   2. Navbar Styles
   ========================================================================== */
.navbar {
  background-color: #ffffff;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo Styling */
.logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transition: transform 0.3s ease;
}

.logo-container:hover {
  transform: translateY(-2px);
}

.logo-icon {
  width: 40px;
  height: 40px;
  color: #1e3a8a;
  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.logo-container:hover .logo-icon {
  color: #2563eb;
  transform: scale(1.08);
}

.logo-text {
  font-size: 1.45rem;
  font-weight: 900;
  color: #1e3a8a;
  letter-spacing: -0.5px;
  line-height: 1.2;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.logo-container:hover .logo-text {
  color: #2563eb;
}

/* Navigation Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 700;
  font-size: 1.05rem;
  color: #1e293b;
}

.nav-link {
  position: relative;
  padding: 6px 0;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 0%;
  height: 3px;
  background-color: #2563eb;
  border-radius: 4px;
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: #2563eb;
}

.nav-link:hover::after {
  width: 100%;
}

/* Dropdown Menu */
.dropdown {
  position: relative;
  padding: 10px 0;
}

.dropdown-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 1.05rem;
  color: #1e293b;
  padding: 6px 0;
  transition: color 0.25s ease;
}

.dropdown-btn::after {
  content: "";
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 0%;
  height: 3px;
  background-color: #2563eb;
  border-radius: 4px;
  transition: width 0.3s ease;
}

.dropdown:hover .dropdown-btn {
  color: #2563eb;
}

.dropdown:hover .dropdown-btn::after {
  width: 100%;
}

.dropdown-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-icon {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  width: 230px;
  background-color: #ffffff;
  box-shadow: 0 12px 30px -5px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 10px;
  border: 1px solid #e2e8f0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 100;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 10px 14px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #334155;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background-color: #eff6ff;
  color: #2563eb;
  transform: translateX(-4px);
}

/* Navbar Hotline Button */
.btn-hotline {
  display: inline-block;
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
  transition: all 0.3s ease;
}

.btn-hotline:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
  background: linear-gradient(135deg, #1d4ed8, #1e3a8a);
}

/* Mobile Navigation Menu Base Styles */
.hamburger-btn {
  display: none;
  color: #1e293b;
  padding: 8px;
  border-radius: 8px;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.hamburger-btn:hover {
  background-color: #f1f5f9;
  color: #2563eb;
}

.hamburger-btn svg {
  width: 28px;
  height: 28px;
}

.mobile-menu {
  display: block;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  background-color: #ffffff;
  border-top: 1px solid transparent;
  padding: 0 20px;
  font-weight: 700;
  font-size: 1rem;
  color: #1e293b;
  transition:
    max-height 0.4s cubic-bezier(0, 1, 0, 1),
    opacity 0.3s ease,
    padding 0.3s ease,
    border-color 0.3s ease;
}

.mobile-link {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.mobile-link:hover {
  background-color: #eff6ff;
  color: #2563eb;
  padding-right: 18px;
}

.mobile-dropdown-btn {
  width: 100%;
  text-align: right;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  color: #1e293b;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.mobile-dropdown-btn:hover {
  background-color: #eff6ff;
  color: #2563eb;
}

.mobile-dropdown-menu {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding-right: 12px;
  padding-top: 0;
  padding-bottom: 0;
  margin: 0;
  background-color: #f8fafc;
  border-radius: 8px;
  transition:
    max-height 0.35s ease-in-out,
    opacity 0.25s ease,
    padding 0.25s ease,
    margin 0.25s ease;
}

.mobile-sublink {
  display: block;
  padding: 8px 12px;
  font-size: 0.9rem;
  color: #475569;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.mobile-sublink:hover {
  background-color: #e2e8f0;
  color: #1e3a8a;
  padding-right: 16px;
}

.btn-hotline-mobile {
  display: block;
  text-align: center;
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  color: #ffffff;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 1rem;
  margin-top: 14px;
}

/* ==========================================================================
   3. Responsive Rules & JS Active States
   ========================================================================== */

/* تدوير سهم الـ Dropdown */
.rotate-180 {
  transform: rotate(180deg);
}

/* قواعد الشاشات الصغيرة (الموبايل) */
@media (max-width: 768px) {
  .nav-links,
  .btn-hotline {
    display: none;
  }

  .hamburger-btn {
    display: block;
  }

  /* حالة فتح القائمة الرئيسية عبر JS */
  .mobile-menu.active {
    max-height: 1000px;
    opacity: 1;
    padding: 14px 20px 20px;
    border-top-color: #f1f5f9;
    transition:
      max-height 0.5s ease-in-out,
      opacity 0.4s ease,
      padding 0.3s ease;
  }

  /* حالة فتح القائمة الفرعية عبر JS */
  .mobile-dropdown-menu.active {
    max-height: 500px;
    opacity: 1;
    padding-top: 6px;
    padding-bottom: 6px;
    margin: 6px 0;
  }
}
/* ==========================================================================
   Appliance Section & Interactive Modal Style
   ========================================================================== */

.appliance-articles-section {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
  font-family: "Cairo", sans-serif;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.tech-badge {
  background: rgba(56, 189, 248, 0.1);
  color: #000000;
  border: 1px solid rgba(56, 189, 248, 0.2);
  padding: 5px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 12px;
}

.section-header h2 {
  color: #5f0404;
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.section-header p {
  color: #000000;
  font-size: 1rem;
}

/* Mesh Grid */
.articles-mesh {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

/* Hub Card Design */
.hub-card {
  background: #1e293b;
  border-radius: 16px;
  padding: 25px;
  border: 1px solid #334155;
  border-right-width: 5px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.hub-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.fridge-border {
  border-right-color: #38bdf8;
}
.washer-border {
  border-right-color: #818cf8;
}
.dishwasher-border {
  border-right-color: #34d399;
}
.freezer-border {
  border-right-color: #f472b6;
}
.tv-border {
  border-right-color: #fbbf24;
}
.microwave-border {
  border-right-color: #fb7185;
}

.hub-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.appliance-icon {
  font-size: 1.5rem;
  background: #0f172a;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid #334155;
}

.device-tag {
  color: #cbd5e1;
  font-size: 0.85rem;
  font-weight: 800;
}

.hub-card h3 {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.5;
  margin-bottom: 12px;
}

.hub-card p {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.hub-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 15px;
}

.read-time {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 600;
}

.action-btn {
  background: transparent;
  border: none;
  color: #38bdf8;
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
  font-family: "Cairo", sans-serif;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.action-btn:hover {
  color: #7dd3fc;
  transform: translateX(-3px);
}
/* ==========================================================================
   BLOG SECTIONS STYLING (CAIRO FONT & UPDATED LAYOUT)
   ========================================================================== */

/* Global Font Definition */
.blog-seo-section,
.blog-seo-section * {
  font-family:
    "Cairo",
    system-ui,
    -apple-system,
    sans-serif !important;
  box-sizing: border-box;
}

/* Layout & Containers */
.blog-seo-section {
  padding: 50px 20px;
  background-color: #ffffff;
  direction: rtl;
}

.blog-seo-section.alt-bg {
  background-color: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.blog-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Header Styling */
.blog-header {
  text-align: center;
  margin-bottom: 40px;
}

.blog-badge {
  display: inline-block;
  background-color: #e0f2fe;
  color: #000000;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.blog-main-title {
  color: #0f172a;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.4;
}

.blog-description {
  color: #475569;
  font-size: 1rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Section 1: Grid (2 Main Columns) */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(48%, 1fr));
  gap: 24px;
}

.blog-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.blog-card-body {
  padding: 24px;
}

.blog-card-title {
  color: #0f172a;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 14px;
  border-bottom: 2px solid #0284c7;
  padding-bottom: 8px;
}

.blog-sub-title {
  color: #1e293b;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 18px 0 10px 0;
}

.blog-card-text {
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

/* Detailed Solutions List */
.blog-solutions-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}

.blog-solutions-list li {
  background: #f8fafc;
  border-right: 3px solid #0284c7;
  padding: 10px 12px;
  margin-bottom: 8px;
  border-radius: 0 6px 6px 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.blog-solutions-list strong {
  display: block;
  color: #0f172a;
  font-weight: 700;
  margin-bottom: 2px;
}

.blog-solutions-list span {
  color: #475569;
}

.blog-tags-inline {
  background-color: #f1f5f9;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.6;
  margin-top: 12px;
}

/* Section 2: Grid (4 Mini Columns) */
.blog-grid-four {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.blog-mini-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mini-card-title {
  color: #0f172a;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.mini-card-text {
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 8px;
}

.mini-card-list {
  padding-right: 16px;
  margin-bottom: 14px;
}

.mini-card-list li {
  color: #334155;
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 8px;
}

.mini-card-list span {
  color: #000202;
  font-weight: 600;
}

.brand-pills {
  display: block;
  font-size: 0.78rem;
  color: #0284c7;
  background-color: #f0f9ff;
  border: 1px dashed #bae6fd;
  padding: 6px 10px;
  border-radius: 6px;
  text-align: center;
  font-weight: 700;
}

/* Call To Action & Hotline Styling */
.blog-action-wrapper {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sub-contact {
  font-size: 0.85rem;
  color: #64748b;
  text-align: center;
}

.sub-contact a {
  color: #0f172a;
  font-weight: 700;
  text-decoration: none;
}

.blog-footer-cta {
  text-align: center;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.blog-footer-cta p {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
}

.cta-sub-links {
  font-size: 0.9rem;
  color: #64748b;
}

.cta-sub-links .sec-link {
  color: #0284c7;
  font-weight: 700;
  text-decoration: none;
}

.blog-btn {
  display: inline-block;
  background-color: #0284c7;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  text-align: center;
}

.blog-btn:hover {
  background-color: #0369a1;
  transform: translateY(-2px);
}

.blog-btn.alt-btn {
  background-color: #0f172a;
}

.blog-btn.alt-btn:hover {
  background-color: #1e293b;
}

/* Responsiveness */
@media (max-width: 768px) {
  .blog-seo-section {
    padding: 30px 16px;
  }

  .blog-main-title {
    font-size: 1.4rem;
  }

  .blog-grid,
  .blog-grid-four {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .blog-btn {
    width: 100%;
  }
}
/* ==========================================================================
   BLOG SECTION 3: BRAND TRUST & HERO STYLING
   ========================================================================== */

.brand-hero-bg {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 60px 20px;
}

.brand-hero-bg .dark-title {
  color: #ffffff;
}

.brand-hero-bg .dark-desc {
  color: #94a3b8;
}

.gold-badge {
  background-color: #fef3c7 !important;
  color: #050300 !important;
}

/* Features Grid */
.brand-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
}

.feature-card.highlighted {
  border: 2px solid #0284c7;
  background: rgba(2, 132, 199, 0.1);
}

.feature-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #38bdf8;
  margin-bottom: 10px;
}

.feature-text {
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 16px;
}

.feature-link {
  display: inline-block;
  color: #ffffff;
  background: #0284c7;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
}

.feature-link.gold-btn {
  background: #d97706;
}

/* SEO Content Block */
.brand-seo-content {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  padding: 20px 24px;
  margin-bottom: 40px;
  border-right: 4px solid #0284c7;
}

.seo-block-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 8px;
}

.seo-block-text {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.7;
}

/* Triple Hotline Banner */
.hotline-triple-banner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  text-align: center;
}

.hotline-box {
  background: #ffffff;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hotline-box.main-box {
  background: #0284c7;
  color: #ffffff;
  box-shadow: 0 10px 25px -5px rgba(2, 132, 199, 0.4);
}

.hotline-tag {
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.main-box .hotline-tag {
  color: #e0f2fe;
}

.sec-box .hotline-tag {
  color: #64748b;
}

.hotline-number {
  font-size: 2.2rem;
  font-weight: 800;
  text-decoration: none;
  line-height: 1.1;
  margin: 6px 0;
}

.main-box .hotline-number {
  color: #ffffff;
}

.sec-box .hotline-number {
  color: #0f172a;
}

.hotline-sub {
  font-size: 0.75rem;
}

.main-box .hotline-sub {
  color: #bae6fd;
}

.sec-box .hotline-sub {
  color: #94a3b8;
}

@media (max-width: 768px) {
  .brand-features-grid,
  .hotline-triple-banner {
    grid-template-columns: 1fr;
  }
}
/* ================= MODAL STYLES ================= */
.tech-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  padding: 20px;
}

.tech-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 20px;
  width: 100%;
  max-width: 650px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 30px;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  color: #e2e8f0;
}

.modal-close {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #0f172a;
  border: 1px solid #334155;
  color: #ffffff;
  font-size: 1.5rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-tag {
  color: #38bdf8;
  font-size: 0.85rem;
  font-weight: 800;
}

.modal-header h2 {
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 800;
  margin-top: 8px;
  margin-bottom: 20px;
}

.modal-body h3 {
  color: #38bdf8;
  font-size: 1.05rem;
  margin-top: 15px;
  margin-bottom: 8px;
}

.modal-body p {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.6;
}

.modal-body ol {
  padding-right: 20px;
  margin-bottom: 20px;
}

.modal-body li {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 10px;
}

.alert-box {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
  padding: 15px;
  border-radius: 12px;
  font-size: 0.88rem;
  margin-top: 20px;
  line-height: 1.5;
}

/* ==========================================================================
   Section: Detailed Text Guide & Hotlines
   ========================================================================== */

.text-guide-section {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
  font-family: "Cairo", sans-serif;
  color: #f60400;
}

.guide-header {
  text-align: center;
  margin-bottom: 35px;
}

.guide-badge {
  background: rgba(56, 189, 248, 0.1);
  color: #000000;
  border: 1px solid rgba(56, 189, 248, 0.2);
  padding: 5px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 12px;
}

.guide-header h2 {
  color: #500606;
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 10px;
}

.guide-header p {
  color: #000000;
  font-size: 0.95rem;
}

/* Hotline Banner */
.hotlines-banner {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  border: 2px solid #38bdf8;
  border-radius: 16px;
  padding: 22px;
  text-align: center;
  margin-bottom: 40px;
  box-shadow: 0 10px 25px -5px rgba(56, 189, 248, 0.15);
}

.hotline-title {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.hotline-numbers {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.hotline-btn {
  background: #4db2dd;
  color: #0f172a;
  padding: 10px 24px;
  border-radius: 10px;
  font-weight: 900;
  font-size: 1.2rem;
  text-decoration: none;
  letter-spacing: 1px;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
}

.hotline-btn:hover {
  background: #1c5e80;
  transform: scale(1.05);
}

/* Stream Articles */
.guide-stream {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.guide-block {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 14px;
  padding: 28px;
  line-height: 1.8;
}

.guide-block h3 {
  color: #38bdf8;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 10px;
}

.guide-block p {
  color: #94a3b8;
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.guide-block ul {
  padding-right: 20px;
  margin: 0;
}

.guide-block li {
  color: #cbd5e1;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.guide-block li strong {
  color: #ffffff;
}

/* Warning Box */
.warning-block {
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.warning-block h3 {
  color: #940f0f;
  border-bottom-color: rgba(46, 0, 0, 0.2);
}

.warning-block p {
  color: #c32618;
  margin-bottom: 0;
  font-size: 1.05rem;
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVE DESIGN)
   ========================================================================== */

/* Tablet Screens (1024px & down) */
@media (max-width: 1024px) {
  .nav-container {
    padding: 10px 16px;
  }

  .nav-links {
    gap: 18px;
    font-size: 0.95rem;
  }

  .btn-hotline {
    padding: 8px 16px;
    font-size: 0.9rem;
  }
}

/* Mobile Screens & Small Tablets (768px & down) */
@media (max-width: 768px) {
  /* Hide Desktop Nav, Show Hamburger */
  .nav-links,
  .btn-hotline {
    display: none;
  }

  .hamburger-btn {
    display: block;
  }

  /* Adjust Headers */
  .section-header h2 {
    font-size: 1.6rem;
  }

  .guide-header h2 {
    font-size: 1.5rem;
  }

  .text-guide-section,
  .appliance-articles-section {
    margin: 30px auto;
  }

  .guide-block {
    padding: 20px;
  }

  /* Modal Adjustments for Mobile */
  .modal-content {
    padding: 20px;
    max-height: 90vh;
  }

  .modal-header h2 {
    font-size: 1.2rem;
    padding-left: 30px;
  }
}

/* Small Mobile Screens (480px & down) */
@media (max-width: 480px) {
  .logo-text {
    font-size: 1.2rem;
  }

  .logo-icon {
    width: 32px;
    height: 32px;
  }

  .articles-mesh {
    grid-template-columns: 1fr;
  }

  .hub-card {
    padding: 18px;
  }

  .hotlines-banner {
    padding: 16px 12px;
  }

  .hotline-title {
    font-size: 0.95rem;
  }

  .hotline-numbers {
    flex-direction: column;
    gap: 10px;
  }

  .hotline-btn {
    width: 100%;
    font-size: 1.1rem;
    padding: 12px 0;
  }
}
/* Legal Section Glassmorphism Design */
.seo-container .legal-section {
  background: #1e293b;
  color: #f8fafc;
  border-right: 6px solid #38bdf8;
  padding: 30px 40px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  margin-top: 20px;
}
.legal-tab-content {
  display: none;
}

.legal-tab-content.active {
  display: block !important;
}
.seo-container .legal-tabs-nav {
  display: flex;
  gap: 12px;
  border-bottom: 2px solid #334155;
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.seo-container .legal-tab-btn {
  background: #334155;
  color: #94a3b8;
  border: none;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.seo-container .legal-tab-btn:hover {
  background: #475569;
  color: #ffffff;
}

.seo-container .legal-tab-btn.active {
  background: #38bdf8;
  color: #0f172a;
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
}

.seo-container .legal-tab-content {
  display: none;
  animation: fadeIn 0.4s ease-in-out;
}

.seo-container .legal-tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.seo-container .legal-title {
  color: #38bdf8;
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.seo-container .legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
  width: 100%;
}

.seo-container .legal-box {
  background: #0f172a;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #334155;
}

.seo-container .legal-box h4 {
  color: #f1f5f9;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.seo-container .legal-box p {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.6;
}

.seo-container .legal-notice-box {
  background: rgba(245, 158, 11, 0.1);
  border-right: 4px solid #f59e0b;
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  color: #fef3c7;
}

.seo-container .legal-list {
  list-style-type: none;
  padding: 0;
}

.seo-container .legal-list li {
  position: relative;
  padding-right: 22px;
  margin-bottom: 10px;
  color: #cbd5e1;
  font-size: 0.95rem;
}

.seo-container .legal-list li::before {
  content: "✦";
  position: absolute;
  right: 0;
  color: #38bdf8;
}

/* Responsive Mobile Layout */
@media (max-width: 768px) {
  .seo-container {
    padding: 0 15px;
  }
  .seo-container .seo-card,
  .seo-container .keywords-card,
  .seo-container .legal-section {
    padding: 20px 15px;
  }
  .seo-container .card-title {
    font-size: 1.3rem;
  }
  .seo-container .legal-tabs-nav {
    flex-direction: column;
  }
  .seo-container .legal-tab-btn {
    width: 100%;
    text-align: center;
  }
  .seo-container .hotline-numbers {
    flex-direction: column;
    align-items: center;
  }
  .seo-container .hotline-btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
}
/* ==========================================================================
   Footer Styles (Matching Navbar Design Language)
   ========================================================================== */
.footer {
  background-color: #0f172a;
  color: #f8fafc;
  padding-top: 50px;
  margin-top: 60px;
  border-top: 4px solid #2563eb;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 40px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 32px;
}

/* Footer Brand */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  text-decoration: none;
}

.footer-logo-icon {
  width: 36px;
  height: 36px;
  color: #3b82f6;
}

.footer-logo-text {
  font-size: 1.35rem;
  font-weight: 900;
  color: #ffffff;
}

.footer-desc {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Footer Titles */
.footer-title {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-title::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 35px;
  height: 3px;
  background-color: #2563eb;
  border-radius: 4px;
}

/* Footer Link Lists */
.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #cbd5e1;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #60a5fa;
  transform: translateX(-5px);
}

/* Hotline Cards */
.hotline-cards-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-hotline-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: #1e293b;
  border: 1px solid #334155;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-hotline-card:hover {
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  border-color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.card-icon {
  font-size: 1.2rem;
}

.card-details {
  display: flex;
  flex-direction: column;
}

.phone-number {
  color: #ffffff;
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.2;
}

.phone-label {
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.footer-hotline-card:hover .phone-label {
  color: #e2e8f0;
}

/* Footer Bottom Bar */
.footer-bottom {
  background-color: #020617;
  padding: 18px 24px;
  border-top: 1px solid #1e293b;
  text-align: center;
}

.bottom-container p {
  color: #64748b;
  font-size: 0.88rem;
  font-weight: 600;
}

/* Responsive Styles for Mobile */
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
}
/* منع تحديد وتظليل النصوص في الصفحة بالكامل */
body {
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE / Edge */
  user-select: none; /* Standard */
}

/* استثناء حقول المدخلات لتسمح للمستخدم بالكتابة داخلها بشكل طبيعي */
input,
textarea {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}
