*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
p,
figure,
ul {
  margin: 0;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}


label{
    color: black;
}

img,
video {
  display: block;
  width: 100%;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(100%, var(--container-width));
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.section-head {
  max-width: 920px;
  margin-bottom: 52px;
}

.section-head.center-head {
  margin-inline: auto;
  text-align: center;
}

.section-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  line-height: 1.05;
  color: var(--color-text);
}

.btn,
.hero-btn {
  position: relative;
  overflow: hidden;
}

.hero-btn::after,
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 45%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.18) 50%, transparent 100%);
  transform: translateX(-130%);
  pointer-events: none;
}

.hero-btn:hover::after,
.btn:hover::after {
  animation: shinePass 1s ease;
}

/* =========================================
   زر الواتساب - الطابع المعماري الفخم
========================================= */

.whatsapp-button {
    position: fixed; /* 👈 هذا هو السطر الأهم لتثبيت الزر */
    right: 30px;     /* 👈 تحديد المسافة من يمين الشاشة (يمكنك تغييرها لـ left) */
    bottom: 40px;
    z-index: 9999;
    
    /* 👈 توسيط الأيقونة (مهم جداً حتى لا تظهر الأيقونة مائلة أو غير متمركزة) */
    display: flex;
    align-items: center;
    justify-content: center;

    width: 56px;
    height: 56px;
    
    /* تأثير زجاجي داكن يندمج مع خلفية الموقع */
    background: rgba(15, 15, 15, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    
    /* زوايا هندسية مستوحاة من كتل التصميم */
    border-radius: 12px; 
    border: 1px solid rgba(255, 255, 255, 0.08);
    
    /* لون الأيقونة الافتراضي - أبيض هادئ */
    color: rgba(255, 255, 255, 0.85);
    font-size: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    
    /* حركة انسيابية معمارية (Cubic Bezier) */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* إطار هندسي نحاسي خارجي مخفي يظهر عند الـ Hover */
.whatsapp-button::before {
    content: '';
    position: absolute;
    inset: -4px;
    border: 1px solid var(--color-primary, #7a4319);
    border-radius: 16px;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    pointer-events: none;
}

/* تأثيرات التمرير (Hover Effects) */
.whatsapp-button:hover {
    transform: translateY(-6px);
    background: var(--color-primary, #7a4319);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 15px 30px rgba(122, 67, 25, 0.35);
}

/* إظهار الإطار الهندسي الخارجي وتكبيره بدقة */
.whatsapp-button:hover::before {
    opacity: 1;
    transform: scale(1);
}

/* تحريك الأيقونة داخل الزر بشكل بسيط */
.whatsapp-button i {
    transition: transform 0.3s ease;
}

.whatsapp-button:hover i {
    transform: scale(1.1);
}

/* التجاوب مع الموبايل: فرض الظهور الإجباري */
@media (max-width: 768px) {
    .whatsapp-button {
        display: flex !important;      /* إجبار المتصفح على إظهار العنصر */
        visibility: visible !important; /* منع أي كود آخر من إخفائه */
        opacity: 1 !important;         /* التأكد من عدم وجود شفافية 0 */
        position: fixed !important;    /* إبقاء خاصية الطفو ثابتة */
        z-index: 999999 !important;    /* رفع الطبقة لأعلى مستوى ممكن */
        
        width: 48px;
        height: 48px;
        bottom: 20px;
        right: 20px; 
        font-size: 20px;
        border-radius: 10px;
    }
    
    .whatsapp-button::before {
        inset: -3px;
        border-radius: 13px;
    }
}
