/* ==========================================================================
   1. Reset & Base Styles
   ========================================================================== */
*,
*::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 */
.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: none;
  background-color: #ffffff;
  border-top: 1px solid #f1f5f9;
  padding: 14px 20px 20px;
  font-weight: 700;
  font-size: 1rem;
  color: #1e293b;
}

.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 {
  padding-right: 12px;
  background-color: #f8fafc;
  border-radius: 8px;
  padding-top: 6px;
  padding-bottom: 6px;
  margin: 6px 0;
}

.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. About Us Section Styles & Hovers
   ========================================================================== */
.about-section {
  padding: 80px 20px;
  background-color: #ffffff;
  overflow: hidden;
}

.about-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: center;
}

/* Images Wrapper & Hovers */
.about-images-wrapper {
  position: relative;
  display: flex;
  gap: 20px;
  object-fit: contain;
}

.image-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.image-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 45px rgba(30, 58, 138, 0.2);
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  min-height: 380px;
  transition: transform 0.5s ease;
}

.image-card:hover .about-img {
  transform: scale(1.05);
}

.primary-image {
  flex: 1.2;
}

.secondary-image {
  flex: 0.8;
  margin-top: 40px;
}

.image-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  color: #ffffff;
  padding: 16px 22px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.image-card:hover .image-badge {
  transform: scale(1.05) rotate(-2deg);
}

.badge-number {
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
}

.badge-text {
  font-size: 0.85rem;
  font-weight: 700;
}

/* Content Styling */
.section-tag {
  display: inline-block;
  background-color: #eff6ff;
  color: #000000;
  padding: 6px 16px;
  border-radius: 30px;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 15px;
  border: 1px solid #dbeafe;
}

.about-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 20px;
}

.about-description {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 30px;
  font-weight: 600;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 35px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px;
  border-radius: 12px;
  transition: background-color 0.3s ease;
}

.feature-item:hover {
  background-color: #f8fafc;
}

.feature-icon {
  width: 44px;
  height: 44px;
  background-color: #eff6ff;
  color: #2563eb;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
  background-color: #2563eb;
  color: #ffffff;
  transform: rotate(6deg) scale(1.05);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-item h4 {
  font-size: 1rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 4px;
}

.feature-item p {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 600;
  line-height: 1.5;
}

/* Hotline Grid & Cards Hover */
.hotlines-container {
  border-top: 2px dashed #e2e8f0;
  padding-top: 25px;
}

.hotlines-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #1e3a8a;
  margin-bottom: 18px;
}

.hotlines-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.hotline-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: #f8fafc;
  border: 1.5px solid #e2e8f0;
  padding: 12px 14px;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hotline-card:hover {
  background-color: #ffffff;
  border-color: #2563eb;
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(37, 99, 235, 0.15);
}

.phone-icon {
  width: 38px;
  height: 38px;
  background-color: #1e3a8a;
  color: #ffffff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.hotline-card:hover .phone-icon {
  background-color: #2563eb;
  transform: scale(1.1);
}

.phone-icon svg {
  width: 20px;
  height: 20px;
}

.hotline-info {
  display: flex;
  flex-direction: column;
}

.hotline-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
}

.hotline-number {
  font-size: 1.15rem;
  font-weight: 900;
  color: #1e3a8a;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.hotline-card:hover .hotline-number {
  color: #2563eb;
}

/* ==========================================================================
   4. Responsiveness
   ========================================================================== */
.hidden {
  display: none !important;
}

@media (max-width: 992px) {
  .about-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hotlines-grid {
    grid-template-columns: 1fr;
  }

  .about-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }

  .hamburger-btn {
    display: block;
  }

  .mobile-menu {
    display: block;
  }

  .logo-text {
    font-size: 1.25rem;
  }

  .logo-icon {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 576px) {
  .about-images-wrapper {
    flex-direction: column;
  }

  .secondary-image {
    margin-top: 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}
/* ==========================================================================
   5. Testimonials & Why Choose Us Section Styles
   ========================================================================== */
.testimonials-section {
  padding: 80px 20px;
  background-color: #f8fafc;
}

.testimonials-container {
  max-width: 1280px;
  margin: 0 auto;
}

.testimonials-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.section-main-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 15px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: #64748b;
  font-weight: 600;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 60px;
}

.why-card {
  background: #ffffff;
  padding: 30px 24px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
  border-color: #2563eb;
}

.why-icon {
  width: 50px;
  height: 50px;
  background-color: #eff6ff;
  color: #2563eb;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.why-icon svg {
  width: 28px;
  height: 28px;
}

.why-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 10px;
}

.why-card p {
  color: #64748b;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.6;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-bottom: 50px;
}

.testimonial-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.rating-stars {
  color: #f59e0b;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.testimonial-text {
  color: #334155;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.7;
  margin-bottom: 20px;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.client-avatar {
  width: 44px;
  height: 44px;
  background-color: #1e3a8a;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.client-name {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
}

.client-service {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 700;
}

.rotate-180 {
  transform: rotate(180deg);
}
/* ضبط مسافة كروت الخط الساخن في أسفل سيكشن آراء العملاء */
.section-footer-hotlines {
  margin-top: 50px;
  text-align: center;
}

.section-footer-hotlines .hotlines-title {
  font-size: 1.2rem;
  margin-bottom: 20px;
}
/* Responsiveness for Testimonials */
@media (max-width: 992px) {
  .why-us-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}
/* 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;
}
