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

/* تم التحديث إلى لون سامسونج الأزرق */
:root {
  --brand: #003791;         /* أزرق سامسونج الأساسي */
  --brand-dark: #002b70;    /* أزرق غامق للظلال والتدرجات */
  --brand-soft: #e6efff;    /* خلفية زرقاء فاتحة جداً */

  --ink: #111827;
  --ink-2: #1f2937;
  --muted: #6b7280;

  --bg: #f7f8fb;
  --bg-soft: #ffffff;
  --line: #e5e7eb;

  --success: #16a34a;
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 16px 40px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 22px 60px rgba(15, 23, 42, 0.12);

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  --container: 1200px;

  --transition: 0.25s ease;
}

/* تحديث ألوان الأزرار والروابط التي كانت تعتمد على الأحمر بشكل مباشر */

.topbar-actions a:hover {
  color: #cce0ff; /* لون فاتح عند الحوم فوق الروابط في التوب بار */
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  box-shadow: 0 12px 30px rgba(0, 55, 145, 0.22); /* تحديث لون الظل للأزرق */
}

.btn-primary:hover {
  box-shadow: 0 18px 38px rgba(0, 55, 145, 0.3);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 78%;
  background:
    radial-gradient(circle at top right, rgba(0, 55, 145, 0.08), transparent 34%),
    radial-gradient(circle at left center, rgba(17, 24, 39, 0.04), transparent 25%);
  pointer-events: none;
}

.quick-contact-item:hover {
  border-color: rgba(0, 55, 145, 0.25);
}

.process-section {
  background:
    linear-gradient(180deg, rgba(0, 55, 145, 0.03), rgba(0, 55, 145, 0));
}

/* تحديث ألوان الخط الساخن في الفوتر */
.footer-hotline a {
  color: #003791; /* تغيير من الأحمر إلى أزرق سامسونج */
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Cairo", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.8;
  overflow-x: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

p,
h1,
h2,
h3,
h4 {
  margin-top: 0;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

/* Topbar */
.topbar {
  background: var(--ink);
  color: #fff;
  font-size: 14px;
}

.topbar-inner {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar-actions a {
  color: #fff;
  font-weight: 700;
}

.topbar-actions a:hover {
  color: #ffd9da;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.85);
}

.header-inner {
  min-height: 84px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-text strong {
  font-size: 18px;
  color: var(--ink);
}

.brand-text span {
  font-size: 13px;
  color: var(--muted);
}

.main-nav {
  justify-self: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-list a {
  position: relative;
  font-weight: 700;
  color: var(--ink-2);
}

.nav-list a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -10px;
  width: 0;
  height: 3px;
  border-radius: 99px;
  background: var(--brand);
  transition: var(--transition);
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--brand);
}

.nav-list a:hover::after,
.nav-list a.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  box-shadow: 0 12px 30px rgba(0, 55, 145, 0.22);
}

.btn-primary:hover {
  box-shadow: 0 18px 38px rgba(0, 55, 145, 0.3);
}

.btn-outline {
  border-color: rgba(17, 24, 39, 0.12);
  background: #fff;
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.btn-light {
  background: #fff;
  color: var(--brand);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-block {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-weight: 800;
}

.text-link:hover {
  gap: 12px;
}

/* Mobile Menu Button */
.menu-toggle {
  width: 50px;
  height: 50px;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  border-radius: 99px;
  background: var(--ink);
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
}

.mobile-menu-list {
  padding: 18px 16px 24px;
}

.mobile-menu-list li + li {
  margin-top: 12px;
}

.mobile-menu-list a {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--ink-2);
  font-weight: 700;
}

.mobile-menu-list a:hover {
  background: #f8fafc;
  color: var(--brand);
}

.mobile-book-btn {
  margin-top: 6px;
}

/* Hero */
.hero {
  position: relative;
  padding: 64px 0 32px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 78%;
  background:
    radial-gradient(circle at top right, rgba(0, 55, 145, 0.08), transparent 34%),
    radial-gradient(circle at left center, rgba(17, 24, 39, 0.04), transparent 25%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 430px);
  align-items: center;
  gap: 36px;
}

.hero-content {
  padding: 24px 0;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 16px;
}

.hero h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.2;
  color: var(--ink);
}

.hero-text {
  max-width: 720px;
  margin-bottom: 28px;
  font-size: 18px;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-features li {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}

.hero-card {
  position: relative;
}

.hero-card-inner {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #ffffff, #fbfcff);
  border: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow: var(--shadow-lg);
}

.hero-card h2 {
  margin-bottom: 10px;
  font-size: 26px;
  line-height: 1.3;
}

.hero-card p {
  margin-bottom: 22px;
  color: var(--muted);
}

.quick-contact-list {
  display: grid;
  gap: 14px;
  margin-bottom: 22px;
}

.quick-contact-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.quick-contact-item span {
  color: var(--muted);
  font-size: 14px;
}

.quick-contact-item strong {
  color: var(--ink);
  font-size: 18px;
}

.quick-contact-item:hover {
  border-color: rgba(0, 55, 145, 0.25);
  box-shadow: var(--shadow-sm);
}

/* Trust Bar */
.trust-bar {
  padding: 14px 0 0;
}

.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.trust-item {
  padding: 22px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.trust-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 22px;
  color: var(--brand);
}

.trust-item span {
  color: var(--muted);
  font-size: 15px;
}

/* Sections */
.section {
  padding: 88px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 40px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.3;
  color: var(--ink);
}

.section-heading p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

/* Cards Shared */
.info-card,
.service-card,
.feature-item,
.process-card,
.article-card,
.area-card {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.info-card:hover,
.service-card:hover,
.feature-item:hover,
.process-card:hover,
.article-card:hover,
.area-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

/* About */
.about-intro {
  background: linear-gradient(180deg, rgba(255,255,255,0.4), rgba(255,255,255,0));
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.info-card {
  padding: 28px;
  border-radius: 24px;
}

.info-card h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.info-card p {
  margin-bottom: 0;
  color: var(--muted);
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-card {
  padding: 28px;
  border-radius: 24px;
}

.service-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 18px;
  background: var(--brand-soft);
  font-size: 28px;
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.service-card p {
  margin-bottom: 18px;
  color: var(--muted);
}

/* Why Us */
.why-us-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 26px;
  align-items: start;
}

.why-us-content {
  position: sticky;
  top: 110px;
}

.why-us-content h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.3;
}

.why-us-content p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-item {
  min-height: 190px;
  padding: 24px;
  border-radius: 24px;
}

.feature-item h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.feature-item p {
  margin-bottom: 0;
  color: var(--muted);
}

/* Areas */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.area-card {
  display: block;
  padding: 28px;
  border-radius: 24px;
}

.area-card h3 {
  margin-bottom: 10px;
  font-size: 24px;
  color: var(--ink);
}

.area-card p {
  margin-bottom: 0;
  color: var(--muted);
}

/* Process */
.process-section {
  background:
    linear-gradient(180deg, rgba(0, 55, 145, 0.03), rgba(215, 25, 32, 0));
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.process-card {
  position: relative;
  padding: 28px;
  border-radius: 24px;
}

.process-number {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(0, 55, 145, 0.2);
}

.process-card h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.process-card p {
  margin-bottom: 0;
  color: var(--muted);
}

/* Articles */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.article-card {
  padding: 28px;
  border-radius: 24px;
}

.article-card h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.5;
}

.article-card p {
  margin-bottom: 18px;
  color: var(--muted);
}

/* FAQ */
.faq-section {
  background: #fff;
}

.faq-list {
  max-width: 900px;
  margin-inline: auto;
  display: grid;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-item summary {
  position: relative;
  padding: 22px 56px 22px 22px;
  cursor: pointer;
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
  list-style: none;
}

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

.faq-item summary::before,
.faq-item summary::after {
  content: "";
  position: absolute;
  left: 24px;
  top: 50%;
  width: 16px;
  height: 2px;
  background: var(--brand);
  transform: translateY(-50%);
  transition: var(--transition);
}

.faq-item summary::after {
  transform: translateY(-50%) rotate(90deg);
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(0deg);
}

.faq-item p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

/* CTA */
.cta-box {
  display: grid;
  grid-template-columns: 1.1fr auto;
  gap: 24px;
  align-items: center;
  padding: 34px;
  border-radius: 32px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  box-shadow: 0 20px 50px rgba(0, 55, 145, 0.2);
}

.cta-box .section-badge {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.cta-content h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.3;
}

.cta-content p:last-child {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.9);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

/* Footer */
.site-footer {
  padding-top: 76px;
  background: var(--ink);
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr;
  gap: 28px;
  padding-bottom: 34px;
}

.footer-col h3 {
  margin-bottom: 16px;
  font-size: 22px;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.72);
}

.footer-links,
.contact-list {
  display: grid;
  gap: 10px;
}

.footer-links a,
.contact-list a,
.contact-list span {
  color: rgba(255, 255, 255, 0.78);
}

.footer-links a:hover,
.contact-list a:hover {
  color: #fff;
}

.footer-bottom {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

/* Floating Buttons */
.floating-actions {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floating-btn {
  min-width: 118px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  box-shadow: var(--shadow-md);
}

.floating-btn:hover {
  transform: translateY(-3px);
}

.whatsapp-btn {
  background: #1fa855;
}

.call-btn {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
}

/* Utility */
.center {
  text-align: center;
}
.site-footer{

background:#0f172a;
color:#cbd5e1;
padding:80px 0 30px;

}

.footer-main{

display:grid;
grid-template-columns:repeat(4,1fr);
gap:50px;

}

.footer-logo{

font-size:22px;
font-weight:700;
color:#fff;
margin-bottom:20px;

}

.footer-col h4{

color:#fff;
margin-bottom:18px;
font-size:18px;

}

.footer-col ul{

list-style:none;
padding:0;

}

.footer-col li{

margin-bottom:12px;

}

.footer-col a{

color:#cbd5e1;
text-decoration:none;

}

.footer-col a:hover{

color:#fff;

}

.footer-hotline{

margin-top:20px;
font-size:20px;
font-weight:700;

}

.footer-hotline a{

color:#ef4444;
font-size:26px;

}

.footer-divider{

border-top:1px solid #334155;
margin:50px 0 25px;

}

.footer-bottom{

display:flex;
justify-content:space-between;
align-items:center;
flex-wrap:wrap;

}

.footer-links a{

margin-left:20px;
color:#cbd5e1;
text-decoration:none;

}

.footer-links a:hover{

color:#fff;

}.footer{

background:#0f172a;
color:#cbd5e1;
padding:70px 0 30px;

}

.footer-grid{

display:grid;
grid-template-columns:2fr 1fr 1fr 1.5fr;
gap:40px;

}

.footer-logo{

font-size:22px;
font-weight:700;
color:#fff;
margin-bottom:15px;

}

.footer-col h4{

color:#fff;
margin-bottom:15px;
font-size:17px;

}

.footer-col ul{

list-style:none;
padding:0;

}

.footer-col li{

margin-bottom:10px;

}

.footer-col a{

color:#cbd5e1;
text-decoration:none;
transition:0.2s;

}

.footer-col a:hover{

color:#fff;

}

.footer-hotline{

margin-top:20px;

}

.footer-hotline span{

display:block;
font-size:13px;
margin-bottom:4px;

}

.footer-hotline a{

font-size:28px;
font-weight:700;
color:#ef4444;

}

.footer-line{

border:none;
border-top:1px solid #334155;
margin:40px 0;

}

.footer-bottom{

display:flex;
justify-content:space-between;
align-items:center;
flex-wrap:wrap;

}

.footer-links a{

margin-left:20px;
color:#cbd5e1;
text-decoration:none;

}

.footer-links a:hover{

color:#fff;

}
.brand-logo{
  height: 72px;
  width: auto;
  flex: 0 0 auto;
}
/* إصلاحات الشاشات الصغيرة (الجوال) */
@media (max-width: 768px) {
  
  /* 1. Header & Nav */
  .header-inner {
    grid-template-columns: 1fr auto; /* إخفاء القائمة العادية */
    gap: 10px;
  }
  
  .main-nav {
    display: none; /* إخفاء القائمة في الجوال واستبدالها بالزر */
  }

  .menu-toggle {
    display: flex; /* إظهار زر القائمة */
  }

  /* 2. Hero Section */
  .hero-grid {
    grid-template-columns: 1fr; /* جعل الهيرو عمود واحد */
    text-align: center;
  }
  
  .hero-actions {
    justify-content: center;
  }

  /* 3. Grid Fixes (الخدمات والمميزات) */
  .services-grid, 
  .trust-bar-grid, 
  .about-cards,
  .areas-grid,
  .process-grid,
  .articles-grid {
    grid-template-columns: 1fr; /* عمود واحد فقط في الجوال */
    gap: 16px;
  }

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

  /* 4. Why Us Section */
  .why-us-grid {
    grid-template-columns: 1fr;
  }
  
  .why-us-content {
    position: relative;
    top: 0;
    margin-bottom: 30px;
  }

  /* 5. CTA Box */
  .cta-box {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 24px;
  }
  
  .cta-actions {
    justify-content: center;
  }

  /* 6. Footer Fix */
  .footer-grid, 
  .footer-main {
    grid-template-columns: 1fr; /* جعل الفوتر عمود واحد */
    gap: 30px;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
  }
  
  /* 7. Floating Buttons */
  .floating-actions {
    left: 10px;
    right: 10px;
    bottom: 10px;
    flex-direction: row; /* جعل الأزرار بجانب بعضها في الأسفل */
  }
  
  .floating-btn {
    flex: 1;
    min-width: 0;
    font-size: 14px;
  }
}