@font-face {
    font-family: "JF Flat Regular";
    src: url("../fonts/jf-flat-regular/JF Flat Regular/JF Flat Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Playfair Display";
    src: url("../fonts/Playfair_Display/static/PlayfairDisplay-Black.ttf") format("truetype");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --lp-primary: #F19B57;
    --lp-secondary: #3F849D;
    --lp-accent: #65B757;

    --lp-white: #ffffff;
    --lp-black: #111111;
    --lp-text: #1f1f1f;
    --lp-muted: #666666;
    --lp-border: #eeeeee;

    --lp-font-ar: "JF Flat Regular", Arial, sans-serif;
    --lp-font-en: "JF Flat Regular", Arial, sans-serif;
    --lp-font-brand: "Playfair Display", Georgia, serif;

    --lp-container-padding: 100px;
    --lp-radius-sm: 5px;
    --lp-radius-md: 12px;
    --lp-transition: 0.25s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--lp-font-ar);
    background-color: var(--lp-white);
    color: var(--lp-text);
    line-height: 1.7;
}

html[lang="en"] body,
body.lang-en {
    font-family: var(--lp-font-en);
}

a {
    color: inherit;
    text-decoration: none;
}

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

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

.container {
    width: 100%;
    padding-inline: var(--lp-container-padding);
}

.section-padding {
    padding-block: 80px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 22px;
    border-radius: var(--lp-radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--lp-transition);
}

.card {
    background-color: var(--lp-white);
    border-radius: var(--lp-radius-md);
    border: 1px solid var(--lp-border);
    padding: 24px;
}

/* ===== Floating Contact Button ===== */
.floating-contact-button {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 70;
    width: 54px;
    height: 54px;
    border: 1px solid var(--lp-primary);
    border-radius: 50%;
    background-color: var(--lp-primary);
    color: var(--lp-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    transition:
        background-color var(--lp-transition),
        color var(--lp-transition),
        border-color var(--lp-transition),
        box-shadow var(--lp-transition),
        opacity var(--lp-transition),
        visibility var(--lp-transition),
        transform var(--lp-transition);
}

.floating-contact-button:hover {
    background-color: var(--lp-white);
    color: var(--lp-primary);
    border-color: var(--lp-primary);
    box-shadow: none;
}

.floating-contact-icon {
    width: 32px;
    height: 32px;
    display: block;
    background-color: currentColor;
    -webkit-mask-image: url("../images/style/message.svg");
    mask-image: url("../images/style/message.svg");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

body.is-hero-visible .floating-contact-button {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(14px) scale(0.94);
}

/* النسخة المبسطة */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 0;
}

::-webkit-scrollbar-thumb {
    background: var(--lp-secondary);
    border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--lp-secondary);
}

@media (max-width: 1200px) {
    :root {
        --lp-container-padding: 60px;
    }
}

@media (max-width: 768px) {
    :root {
        --lp-container-padding: 20px;
    }

    .section-padding {
        padding-block: 50px;
    }

    .floating-contact-button {
        right: 20px;
        bottom: 20px;
        width: 50px;
        height: 50px;
    }

    .floating-contact-icon {
        width: 28px;
        height: 28px;
    }
}