:root {
    --them-prim: #3a75a8;
    --them-second: #87b9a7;
    --text-dark: #1a1a1a;
    --text-light: #e6e2e2;
    --text-muted: #4a4a4a;
    --shadow-sm: 2px 3px 3px #0000006c;
    --focus-ring: 0 0 0 0.1rem white, 0 0 0 0.25rem #87b9a7;
    --border-radius: 12px;
    --border-transparent: 2px solid transparent;
    --transform: translateY(-3px);
    --transition: transform .12s ease, border-color .12s ease;
}

/* التنسيقات العامة */
html {
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    line-height: 1.8;
    position: relative;
    min-height: 100%;
}
.whatsapp-float {
    position: fixed;
    bottom: 80px;
    right: 20px; /* للجهة اليمنى */

    color: var(--text-dark);
    padding: 5px 10px;
    border-radius: var(--border-radius);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transform)
}

    .whatsapp-float i {
        font-size: 1.5rem;
    }

    /* تأثير عند تمرير الماوس مشابه لتصميمك */
    .whatsapp-float:hover {
        transform: var(--transform);
        box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #25d366;
    }

body {
    margin-bottom: 60px;
    color: var(--text-dark);
}


h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--them-prim); /* تم التغيير من royal-blue غير المعرف إلى المتغير الأساسي */
}

/* الأزرار */
.btn-primary, .btn-secondary, .btn-secondary-outline {
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

    .btn-primary:active {
        transform: translateY(1px);
    }

.btn-primary {
    color: white;
    background-color: var(--them-prim);
}

.btn-secondary {
    color: white;
    background-color: var(--them-second);
}

.btn-secondary-outline {
    border: 2px solid var(--them-prim);
    color: var(--them-prim);
    background-color: transparent;
}

/* الحقول (Forms) */
.form-control, .form-input {
    height: 40px;
    padding-left: 1em;
    padding-right: 4.5em;
    border-radius: 30px;

    &:focus {
        border: 1px solid rgba(0,0,0,0.1) !important;
    }

    &:hover {
        box-shadow: var(--shadow-sm);
        border: 1px solid rgba(0,0,0,0.1) !important;
        transform: var(--transform);
    }
}




.form-label {
    font-weight: 600;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 8px;
}

/* Small utilities */
.read-more {
    color: var(--accent);
    cursor: pointer;
    text-decoration: underline;
}


/* الكروت (Cards) */
.card {
    background: white;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}



    .card:hover, .transition-hover:hover {
        transform: var(--transform);
        box-shadow: var(--shadow-sm);
    }

/* إصلاحات التجاوب لشاشات الجوال */
@media (max-width: 767px) {
    /* 1. إصلاح الحقول لتناسب عرض الشاشة */
    .form-control, .form-input {
        padding-right: 1.5em; /* تقليل الحشوة في الجوال */
        width: 100%; /* ضمان عدم خروج الحقل عن الشاشة */
        box-sizing: border-box;
    }

    /* 2. تنسيق أيقونة الواتساب للجوال */
    .whatsapp-float {
        bottom: 75px; /* تقريبها من الأسفل */
        right: 20px;
        padding: 8px 12px;
        font-size: 0.9rem;
    }
        .whatsapp-float span {
            display:none;
        }
        /* 3. تنسيق العناوين الكبيرة */
        h1 {
            font-size: 1.8rem;
        }

        h2 {
            font-size: 1.5rem;
        }
        /* 4. الأزرار: جعلها تأخذ عرض كامل إذا كانت بجانب بعضها */
        .btn-primary, .btn-secondary {
            width: 100%;
            margin-bottom: 10px;
            text-align: center;
        }
    }

/* حل مشكلة الصور أو العناصر التي تخرج عن الإطار */
/** {
    max-width: 100%;
    box-sizing: border-box;
}*/













/*

html {
    font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}*/