@font-face {
    font-family: 'Graphik';
    src: url('../fonts/GraphikArabic-Extralight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Graphik';
    src: url('../fonts/Graphik-Regular.woff2') format('woff2'),
         url('../fonts/Graphik-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Graphik';
    src: url('../fonts/Graphik-Medium.woff2') format('woff2'),
         url('../fonts/Graphik-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Graphik';
    src: url('../fonts/Graphik-Bold.woff2') format('woff2'),
         url('../fonts/Graphik-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Graphik';
    src: url('../fonts/GraphikArabic-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Graphik';
    src: url('../fonts/GraphikArabic-Semibold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Graphik';
    src: url('../fonts/GraphikArabic-Super.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

* {
    box-sizing: border-box;
    font-family: 'Graphik', sans-serif;
}

body {
    font-family: 'Graphik', sans-serif;
    background-color: black;
    color: white;
    margin: 0;
    padding: 0;
    transition: .5s;
}

body.has-bg {
    background-image: url('../images/bg.jpg');
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
}

body.has-bg-2 {
    background-image: url('../images/bg-2.jpg');
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    position: relative;
}

/* body.has-bg-2::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/bg-2.jpg');
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    filter: blur(15px);
    -webkit-filter: blur(15px);
    z-index: -2;
} */

body.has-bg-2::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.main-page {
    display: none;
    min-height: 100vh;
    position: relative;
}

.main-page.fade-in {
    animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

#intro-video {
    width: 100%;
    height: 100vh;
    max-width: 100%;
    display: block;
    cursor: pointer;
    object-fit: cover;
    object-position: center;
    background-color: #000;
    /* Ensure video is visible on all devices */
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    /* Prevent video controls on mobile */
    -webkit-tap-highlight-color: transparent;
    /* Better rendering on mobile */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* Mobile specific adjustments */
@media (max-width: 768px) {
    #intro-video {
        height: 100vh;
        height: -webkit-fill-available; /* iOS Safari */
        object-fit: cover;
    }
}

.welcome-message {
    display: none;
    text-align: center;
    padding: 50px 20px;
    font-size: 24px;
    direction: rtl;
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo {
    height: auto;
    max-width: 120px;
}

.system-btn {
    display: flex;
    min-width: fit-content;
    height: 44px;
    padding: 16px 24px 16px 24px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 67px;
    border: none;
    background: transparent;
    color: white;
    font-family: 'Graphik', sans-serif;
    font-size: 15px;
    cursor: pointer;
    position: relative;
    background-clip: padding-box;
    white-space: nowrap;
    text-decoration: none;
}

.system-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 67px;
    padding: 1px;
    background: linear-gradient(to left, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.main-footer {
    position: fixed;
    bottom: 20px;
    right: 20px;
}

/* Support link position:
   - bg-1 (has-bg): left
   - bg-2 (has-bg-2): right */
body.has-bg .main-footer {
    left: 20px;
    right: auto;
}

body.has-bg-2 .main-footer {
    right: 20px;
    left: auto;
}

.support-link {
    color: white;
    text-decoration: underline;
    font-size: 16px;
    font-weight: 500;
    direction: rtl;
    font-family: 'Graphik', sans-serif;
}

.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: calc(100vh - 100px);
    padding: 20px;
    text-align: right;
}

.impact-image {
    width: 100%;
    max-width: 210px;
    height: auto;
    margin-top: 10px;
    display: block;
}

.content-middle {
    display: flex;
    flex-direction: column;
    align-items: start;
    flex: 1;
    justify-content: center;
    width: 100%;
    max-width: 373px;
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.content-middle.fade-out-up {
    opacity: 0;
    transform: translateY(-20px);
}

.products-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    justify-content: flex-start;
    width: 100%;
    max-width: 351px;
    padding-top: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-in, transform 0.5s ease-in;
}

.products-section.fade-in-up {
    opacity: 1;
    transform: translateY(0);
}

.products-header {
    text-align: center;
    margin-bottom: 20px;
}

.products-title {
    font-family: 'Graphik', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.9;
    color: white;
    margin: 0;
    direction: rtl;
}

.products-subtitle {
    font-family: 'Graphik', sans-serif;
    font-weight: 200;
    font-size: 16px;
    line-height: 2.1;
    color: white;
    margin: 0;
    direction: rtl;
}

.products-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.product-row {
    display: flex;
    justify-content: space-between;
    gap: 19px;
    width: 100%;
}

.product-card {
    border-radius: 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 109px;
    width: 166px;
    padding: 0;
    background: rgba(255, 255, 255, 0.01);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.05), inset 0 -1px 0 rgba(255, 255, 255, 0.01), inset 0 0 6px 3px rgba(255, 255, 255, 0.03);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.8),
        transparent
    );
}

.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.8),
        transparent,
        rgba(255, 255, 255, 0.3)
    );
}

.product-icon {
    height: 38px;
    width: auto;
    max-width: 78px;
    object-fit: contain;
}

.product-name {
    font-family: 'Graphik', sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 1.64;
    color: white;
    text-align: center;
    margin: 0;
    direction: rtl;
}

.content-spacer {
    flex: 1;
    min-height: 60px;
}

.typing-text {
    font-family: 'Graphik', sans-serif;
    font-weight: 200;
    font-size: 24px;
    line-height: 1.7;
    color: white;
    direction: rtl;
    max-width: 373px;
    min-height: 280px;
    margin: 0;
    text-align: right;
    transition: opacity 0.5s ease-out;
}

.typing-text.fade-out {
    opacity: 0;
}

#typing-text-2 {
    font-size: 21px;
    line-height: 1.93;
}

.typing-text .highlight {
    font-weight: 500;
}

.typing-cursor {
    display: inline-block;
    width: 2px;
    height: 24px;
    background-color: white;
    margin-right: 2px;
    animation: blink 1s infinite;
    vertical-align: middle;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

.learn-more-btn {
    display: flex;
    min-width: fit-content;
    /* height: 44px; */
    padding: 16px 30px 16px 30px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 67px;
    border: none;
    background: transparent;
    color: white;
    font-family: 'Graphik', sans-serif;
    font-size: 16px;
    cursor: pointer;
    position: relative;
    background-clip: padding-box;
    white-space: nowrap;
    /* margin-top: 40px; */
    opacity: 0;
    transition: opacity 0.5s ease-in;
}

.learn-more-btn.show {
    opacity: 1;
}

.learn-more-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 67px;
    padding: 1px;
    background: linear-gradient(to left, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.interest-form-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 20px;
    gap: 34px;
}

.interest-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.interest-title {
    font-family: 'Graphik', sans-serif;
    font-weight: 600;
    font-size: 23px;
    line-height: 1.7;
    color: white;
    margin: 0;
    direction: rtl;
}

.interest-subtitle {
    font-family: 'Graphik', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.7;
    color: white;
    margin: 0;
    direction: rtl;
}

.interest-form {
    display: flex;
    flex-direction: column;
    gap: 19px;
    width: 100%;
}

.contact-page {
    width: 100%;
    padding: 0;
}

.contact-message-card {
    width: 100%;
    border-radius: 18px;
    /* padding: 0 18px 13px 18px; */
    backdrop-filter: blur(3.2px);
    -webkit-backdrop-filter: blur(3.2px);
    background: linear-gradient(
        180deg,
        rgba(134, 11, 244, 0) 0%,
        rgba(248, 83, 188, 0.02) 56%,
        rgba(72, 6, 137, 0.1) 100%
    );
}

.contact-title {
    margin: 0;
    padding: 0;
    text-align: center;
    color: #fff;
    font-family: 'Graphik', sans-serif;
    font-weight: 400;
    font-size: 24px;
    margin-bottom: 20px;
}

.form-field--compact {
    height: 33px;
    border-radius: 35px;
    padding: 12px 10px;
}

.form-textarea--message {
    height: 101px;
    border-radius: 13px;
    padding-top: 14px;
    padding-bottom: 14px;
}

.form-field.form-textarea--message:focus,
.form-field.form-textarea--message.has-value {
    padding-top: 38px;
    padding-bottom: 14px;
}

.submit-btn--wide {
    width: 100%;
}

.contact-info {
    width: 100%;
    margin-top: 17px;
}

.contact-info-grid {
    display: flex;
    gap: 16px;
    width: 100%;
}

.contact-page .contact-info-grid {
    flex-direction: column;
}

.contact-page .contact-address-card {
    flex-direction: row-reverse;
}

.contact-info-card {
    flex-direction: row-reverse;
    flex: 1 1 0;
    height: 72px;
    border-radius: 60px;
    padding: 12px;
    display: flex;
    align-items: center;
    /* justify-content: space-between; */
    gap: 12px;
    background: rgba(255, 255, 255, 0.01);    border: 1px solid rgba(255, 255, 255, .2);
    text-decoration: none;justify-content: start;
}

.contact-info-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    color: #d9d9d9;
    text-align: right;
}

.contact-info-label,
.contact-info-value {
    font-family: 'Graphik', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    direction: ltr;
}

.contact-icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 64px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.contact-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.contact-icon--pin {
    width: 26px;
    height: 26px;
}

.contact-address-card {
    margin-top: 17px;
    width: 100%;
    border-radius: 32px;
    padding: 16px 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.01);    border: 1px solid rgba(255, 255, 255, .2);
    text-decoration: none;justify-content: start;
}

.contact-address-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    width: 100%;
}

.contact-address-text {
    font-family: 'Graphik', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    color: #d9d9d9;
    text-align: right;
}

.work-hours-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border-radius: 97px;
    background: rgba(64, 151, 87, 0.26);
    color: #d9d9d9;
    font-family: 'Graphik', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.5;
    text-align: right;
    justify-content: flex-end;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #2ecf66;
    box-shadow: 0 0 0 3px rgba(46, 207, 102, 0.25);
    flex: 0 0 auto;
}

.form-field-wrapper {
    position: relative;
    width: 100%;
}

.is-hidden {
    display: none !important;
}

.form-field--multiselect {
    cursor: pointer;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    min-height: 56px;
    height: auto;
    overflow: visible;
    padding-top: 34px;
    padding-bottom: 14px;
}

/* Keep the "اختر المنتج" label pinned to the top to avoid overlapping chips */
.form-field--multiselect + .form-label {
    top: 12px !important;
    transform: translateY(0) !important;
    font-size: 12px;
}

.multiselect-chip {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 6px 10px;
    font-family: 'Graphik', sans-serif;
    font-weight: 300;
    font-size: 13px;
    line-height: 1.6;
    color: #fff;
    white-space: normal;
}

.multiselect-placeholder {
    color: rgba(255, 255, 255, 0.65);
    font-size: 15px;
    font-weight: 300;
}

#product-wrapper.is-open .multiselect-dropdown {
    display: block;
}

.multiselect-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    z-index: 20;
    border-radius: 16px;
    padding: 10px;
    background: rgba(10, 10, 10, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    max-height: 260px;
    overflow: auto;
}

.multiselect-option {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 10px;
    padding: 10px 8px;
    border-radius: 12px;
    color: #fff;
    font-family: 'Graphik', sans-serif;
    font-weight: 300;
    font-size: 13px;
    line-height: 1.7;
    cursor: pointer;
    user-select: none;
}

.multiselect-option:hover {
    background: rgba(255, 255, 255, 0.06);
}

.multiselect-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    flex: 0 0 auto;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #2a2a2a;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    position: relative;
    transition: all 0.2s ease;
}

.multiselect-option input[type="checkbox"]:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background-color: #333;
}

.multiselect-option input[type="checkbox"]:checked {
    background-color: #4a4a4a;
    border-color: #4a4a4a;
}

.multiselect-option input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
}

.form-field {
    width: 100%;
    background: rgba(255, 255, 255, 0.01);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.05), inset 0 -1px 0 rgba(255, 255, 255, 0.01), inset 0 0 6px 3px rgba(255, 255, 255, 0.03);
    border-radius: 43px;
    padding: 16px 13px;
    color: white;
    font-family: 'Graphik', sans-serif;
    font-weight: 300;
    font-size: 15px;
    line-height: 1.7;
    direction: rtl;
    text-align: right;
    position: relative;
    overflow: hidden;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-field:focus {
    outline: none;
    border-color: rgba(248, 83, 188, 0.65);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        inset 0 -1px 0 rgba(255, 255, 255, 0.01),
        inset 0 0 6px 3px rgba(255, 255, 255, 0.03),
        0 0 0 2px rgba(248, 83, 188, 0.22);
}

/* Prevent Chrome autofill from adding yellow-ish styling */
input.form-field:-webkit-autofill,
input.form-field:-webkit-autofill:hover,
input.form-field:-webkit-autofill:focus,
textarea.form-field:-webkit-autofill,
select.form-field:-webkit-autofill {
    -webkit-text-fill-color: #fff;
    transition: background-color 9999s ease-out 0s;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        inset 0 -1px 0 rgba(255, 255, 255, 0.01),
        inset 0 0 6px 3px rgba(255, 255, 255, 0.03),
        inset 0 0 0 1000px rgba(0, 0, 0, 0.01);
}

.form-field.form-textarea {
    border-radius: 16px;
    height: 82px;
    padding-top: 32px;
    padding-bottom: 14px;
    resize: none;
}

/* Textarea labels should sit near the top-right corner */
.form-field.form-textarea + .form-label {
    top: 6px;
    transform: translateY(0);
}

.form-field::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.8),
        transparent
    );
}

.form-field::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.8),
        transparent,
        rgba(255, 255, 255, 0.3)
    );
}

.form-label {
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(calc(-50% + 3px));
    font-family: 'Graphik', sans-serif;
    font-weight: 300;
    font-size: 15px;
    line-height: 1.7;
    color: white;
    pointer-events: none;
    transition: all 0.3s ease;
    direction: rtl;
}

.form-field:focus,
.form-field.has-value {
    padding-top: 26px;
    padding-bottom: 10px;
}

.form-field:focus + .form-label:not(.form-label-select),
.form-field.has-value + .form-label:not(.form-label-select) {
    top: 8px;
    font-size: 12px;
    transform: translateY(0);
}

.form-field.form-textarea:focus,
.form-field.form-textarea.has-value {
    padding-top: 34px;
    padding-bottom: 14px;
}

/* Compact fields (contact form) - keep tighter spacing to avoid clipping */
.form-field.form-field--compact:focus,
.form-field.form-field--compact.has-value {
    padding-top: 18px;
    padding-bottom: 6px;
}

.form-field.form-textarea:focus + .form-label,
.form-field.form-textarea.has-value + .form-label {
    top: 6px;
    font-size: 12px;
    transform: translateY(0);
}

.form-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='19' viewBox='0 0 19 19'%3E%3Cpath fill='white' d='M9.5 12.5L4 7h11z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 13px center;
    padding-right: 13px;
    padding-left: 40px;
    color: transparent;
}

.form-select option {
    color: white;
    background: rgba(0, 0, 0, 0.8);
}

.form-select.has-value {
    color: white;
}

.form-label-select {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
}

.label-small {
    font-size: 10px;
    font-weight: 300;
    display: none;
}

.label-value {
    font-size: 12px;
    font-weight: 500;
    display: none;
}

.form-field:focus + .form-label-select,
.form-field.has-value + .form-label-select {
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
}

.form-field:focus + .form-label-select .label-small,
.form-field.has-value + .form-label-select .label-small {
    display: block;
}

.form-field.has-value + .form-label-select .label-value {
    display: block;
}

.form-field:not(:focus):not(.has-value) + .form-label-select {
    flex-direction: row;
    align-items: center;
    gap: 0;
}

.form-field:not(:focus):not(.has-value) + .form-label-select .label-small {
    display: block;
    font-size: 15px;
    font-weight: 300;
}

.form-field:not(:focus):not(.has-value) + .form-label-select .label-value {
    display: none;
}

.submit-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 67px;
    border: none;
    background: transparent;
    color: white;
    font-family: 'Graphik', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.7;
    cursor: pointer;
    position: relative;
    background-clip: padding-box;
    white-space: nowrap;
    padding: 16px 30px;
    direction: rtl;
}

.submit-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 67px;
    padding: 1px;
    background: linear-gradient(to left, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.submit-icon {
    width: 14px;
    height: 14px;
    display: block;
    flex: 0 0 auto;
}

.form-message {
    display: none;
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
    font-family: 'Graphik', sans-serif;
    font-weight: 300;
    font-size: 14px;
    line-height: 1.7;
    text-align: right;
    direction: rtl;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.form-message.is-success {
    display: block;
    border-color: rgba(64, 151, 87, 0.35);
}

.form-message.is-error {
    display: block;
    border-color: rgba(248, 83, 188, 0.35);
}

.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.success-overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
}

.success-overlay.is-visible {
    display: flex;
    animation: overlayFadeIn 0.35s ease-out;
}

.success-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
    color: #fff;
    max-width: 360px;
}

.success-icon-wrap {
    width: 103px;
    height: 103px;
    border-radius: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.success-icon {
    width: 76px;
    height: 76px;
    display: block;
}

.success-title {
    font-family: 'Graphik', sans-serif;
    font-size: 22px;
    line-height: 1.5;
    color: #fff;
}

.success-title-light {
    font-weight: 300;
}

.success-title-strong {
    font-weight: 700;
}

.success-subtitle {
    font-family: 'Graphik', sans-serif;
    font-weight: 300;
    font-size: 12px;
    line-height: 1.7;
    color: #fff;
}

.success-subtitle-strong {
    font-weight: 500;
}

@keyframes overlayFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* @media (min-width: 1200px) {
    body {
        display: none !important;
    }
    
    body::before {
        content: 'هذا الموقع متاح فقط على الأجهزة المحمولة';
        display: block;
        text-align: center;
        padding: 50px 20px;
        font-size: 18px;
        direction: rtl;
    }
} */

