/* إعدادات عامة */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
    direction: rtl;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* إدارة الصفحات */
.page {
    display: none;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.6s ease-out;
}

.page.active {
    display: block;
}

/* VSL Video Container start */
.vsl-video-section {
    margin: 20px 0;
}

.video-instructions {
    text-align: center;
    margin-bottom: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease-in-out;
}

.instruction-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 600;
    margin-bottom: 10px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.instruction-badge i {
    font-size: 1.1rem;
}

.instruction-text {
    color: #4a5568;
    font-size: 0.95rem;
    margin: 0;
    font-weight: 500;
}

.vsl-video-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background: #000;
}

.vsl-video-container wistia-player {
    width: 100%;
    height: auto;
    display: block;
}

/* VSL Video Container end */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* العناوين */
header {
    text-align: center;
    margin-bottom: 10px;
}

.company-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.company-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(102, 126, 234, 0.3));
    transition: transform 0.3s ease;
}

.company-logo:hover {
    transform: scale(1.1) rotate(5deg);
}

.company-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: #7c3aed;
    margin: 0;
}

.main-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 15px;
    line-height: 1.4;
}

.subtitle {
    font-size: 1.1rem;
    color: #718096;
    font-weight: 400;
    line-height: 1.6;
}

/* النموذج */
.form-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 8px;
    font-size: 1rem;
}

.form-group input,
.form-group select {
    padding: 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Cairo', sans-serif;
    transition: all 0.3s ease;
    background: #fff;
}

/* منتقي التاريخ */
.date-picker-container {
    position: relative;
    display: flex;
    align-items: center;
}

.date-picker-container input {
    width: 100%;
    cursor: pointer;
    padding-left: 40px;
}

.date-picker-icon {
    position: absolute;
    left: 15px;
    color: #667eea;
    font-size: 1.2rem;
}

/* منتقي التاريخ المخصص */
.custom-date-picker {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 360px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    /* قيمة عالية جداً لضمان الظهور فوق جميع العناصر */
    font-family: 'Cairo', sans-serif;
    overflow: hidden;
    animation: fadeIn 0.3s ease-out;
    pointer-events: auto;
    /* السماح بالتفاعل مع العنصر */
}

.custom-date-picker.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -45%);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.date-picker-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    /*z-index: 9000;*/
    /* أقل من z-index لمنتقي التاريخ */
    pointer-events: none;
    /* يسمح بالنقر على العناصر التي تحته */
}

.date-picker-overlay.active {
    display: block;
    pointer-events: auto;
    /* يمنع النقر على العناصر التي تحته عند تنشيطه */
}

.date-picker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #667eea;
    color: white;
    border-radius: 16px 16px 0 0;
}

.date-picker-header span {
    font-weight: 600;
    font-size: 1.1rem;
}

.close-picker {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    margin: 0;
    line-height: 1;
}

.date-picker-wheels {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    height: 200px;
    overflow: hidden;
}

.wheel-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.wheel-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: #4a5568;
}

.wheel {
    height: 150px;
    overflow-y: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    /* Firefox */
    position: relative;
    width: 70px;
    text-align: center;
    mask-image: linear-gradient(to bottom, transparent 0%, black 30%, black 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 30%, black 70%, transparent 100%);
}

.wheel::-webkit-scrollbar {
    display: none;
}

.wheel::before,
.wheel::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: #e2e8f0;
    z-index: 2;
}

.wheel::before {
    top: calc(50% - 20px);
}

.wheel::after {
    top: calc(50% + 20px);
}

.wheel-item {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wheel-item.selected {
    font-weight: 700;
    color: #667eea;
    font-size: 1.2rem;
}

.wheel-item.disabled {
    color: #cbd5e0;
    cursor: not-allowed;
}

.date-picker-actions {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    border-top: 1px solid #e2e8f0;
}

.cancel-btn,
.confirm-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-family: 'Cairo', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.cancel-btn {
    background: #f7fafc;
    color: #4a5568;
    border: 1px solid #e2e8f0;
}

.confirm-btn {
    background: #667eea;
    color: white;
}

.cancel-btn:hover {
    background: #edf2f7;
}

.confirm-btn:hover {
    background: #5a67d8;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.form-group input.error,
.form-group select.error {
    border-color: #e53e3e;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.error-message {
    color: #e53e3e;
    font-size: 0.875rem;
    margin-top: 5px;
    font-weight: 500;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.error-message.show {
    opacity: 1;
    transform: translateY(0);
}

/* اختيار الوقت */
.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 10px;
}

@media (max-width: 480px) {
    .time-slots-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.time-slot {
    padding: 12px 5px;
    border-radius: 10px;
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.time-slot:hover:not(.disabled) {
    background: #edf2f7;
    transform: translateY(-2px);
}

.time-slot.selected {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.time-slot.selected:hover:not(.disabled) {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.time-slot.disabled {
    background: #f1f1f1;
    color: #a0aec0;
    cursor: not-allowed;
    opacity: 0.7;
    text-decoration: line-through;
}

/* الأزرار */
.submit-btn {
    margin: auto;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 18px 30px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);

}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    background: #cbd5e0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.back-btn {
    background: #f7fafc;
    color: #4a5568;
    border: 2px solid #e2e8f0;
    padding: 15px 25px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.back-btn:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
    transform: translateY(-2px);
}

/* تسجيل الصوت */
.audio-recording-container {
    text-align: center;
}

.recording-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.record-btn {
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: white;
    border: none;
    padding: 20px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(72, 187, 120, 0.3);
}

.record-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(72, 187, 120, 0.4);
}

.record-btn.stop-btn {
    background: linear-gradient(135deg, #e53e3e, #c53030);
    box-shadow: 0 4px 15px rgba(229, 62, 62, 0.3);
}

.record-btn.stop-btn:hover {
    box-shadow: 0 8px 25px rgba(229, 62, 62, 0.4);
}

.record-btn:disabled {
    background: #cbd5e0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.recording-status {
    background: #f7fafc;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    border: 2px solid #e2e8f0;
}

.status-text {
    font-size: 1.1rem;
    color: #4a5568;
    font-weight: 500;
    display: block;
    margin-bottom: 10px;
}

.recording-timer {
    font-size: 2rem;
    font-weight: 700;
    color: #e53e3e;
    font-family: 'Courier New', monospace;
}

.recording-timer.recording {
    animation: pulse 1s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.audio-preview {
    margin: 25px 0;
    padding: 20px;
    background: #f7fafc;
    border-radius: 15px;
    border: 2px solid #e2e8f0;
}

.audio-preview audio {
    width: 100%;
    max-width: 400px;
}

/* صفحة الشكر */
.success-animation {
    text-align: center;
    margin: 40px 0;
}

.success-animation i {
    font-size: 5rem;
    color: #48bb78;
    animation: successPulse 2s infinite;
}

@keyframes successPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* معلومات التواصل */
.contact-info {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px 20px;
    margin-top: 40px;
    border-radius: 20px 20px 0 0;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-info h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 25px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
}

.contact-item i {
    font-size: 1.2rem;
    color: #ffd700;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* التحميل */
.loading {
    pointer-events: none;
    opacity: 0.7;
}

.loading .submit-btn::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* زر الإرسال الثابت للموبايل */
.sticky-submit-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    z-index: 1000;
    min-width: 200px;
    backdrop-filter: blur(10px);
}

.sticky-submit-btn:hover {
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.5);
}

.sticky-submit-btn i {
    margin-left: 8px;
}

.sticky-submit-btn.show {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* الاستجابة للموبايل */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .page {
        padding: 30px 20px;
    }

    .company-header {
        gap: 10px;
    }

    .company-logo {
        width: 40px;
        height: 40px;
    }

    .company-name {
        font-size: 2rem;
    }

    .main-title {
        font-size: 1.5rem;
    }

    .recording-controls {
        flex-direction: column;
        align-items: center;
    }

    .record-btn {
        width: 100%;
        max-width: 250px;
    }

    .contact-details {
        gap: 20px;
    }

    .contact-item {
        font-size: 1rem;
    }

    .social-links {
        gap: 15px;
    }

    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .company-name {
        font-size: 1.8rem;
    }

    .main-title {
        font-size: 1.3rem;
    }

    .form-group input,
    .form-group select {
        padding: 12px 15px;
        font-size: 0.95rem;
    }

    .submit-btn {
        padding: 15px 25px;
        font-size: 1rem;
    }
}

/* أنماط زر اختبار Notion */
.notion-test-btn {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.notion-test-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.notion-test-btn:active {
    transform: translateY(0);
}

.notion-test-btn i {
    font-size: 18px;
}

/* أنماط زر معلومات قاعدة البيانات */
.database-info-btn {
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(116, 185, 255, 0.3);
}

.database-info-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(116, 185, 255, 0.4);
}

.database-info-btn:active {
    transform: translateY(0);
}

.database-info-btn i {
    font-size: 18px;
}

/* أنماط زر مثال خادم وسيط */
.backend-example-btn {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.backend-example-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.4);
}

.backend-example-btn:active {
    transform: translateY(0);
}

.backend-example-btn i {
    font-size: 18px;
}

/* أنماط رسائل اختبار Notion */
.notion-test-message {
    position: fixed;
    top: 20px;
    right: 20px;
    left: 20px;
    max-width: 500px;
    margin: 0 auto;
    z-index: 10000;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: slideInDown 0.3s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.notion-test-message.loading {
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    color: white;
}

.notion-test-message.success {
    background: linear-gradient(135deg, #00b894, #00a085);
    color: white;
}

.notion-test-message.error {
    background: linear-gradient(135deg, #e17055, #d63031);
    color: white;
}

.notion-test-message .message-content {
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.notion-test-message .message-content i {
    font-size: 24px;
    margin-top: 2px;
}

.notion-test-message .message-text {
    flex: 1;
}

.notion-test-message .message-text strong {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
}

.notion-test-message .result-details,
.notion-test-message .error-details {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.5;
}

.notion-test-message .result-details p,
.notion-test-message .error-details p {
    margin: 5px 0;
}

.notion-test-message .result-details a {
    color: #fff;
    text-decoration: underline;
}

.notion-test-message .result-details a:hover {
    text-decoration: none;
}

.notion-test-message .properties-list {
    margin-top: 10px;
}

.notion-test-message .properties-list ul {
    margin: 5px 0 0 20px;
    padding: 0;
}

.notion-test-message .properties-list li {
    margin: 3px 0;
    font-size: 13px;
}

.notion-test-message .solutions {
    margin-top: 15px;
}

.notion-test-message .solutions ol {
    margin: 10px 0 0 20px;
    padding: 0;
}

.notion-test-message .solutions li {
    margin: 8px 0;
    font-size: 13px;
}

.notion-test-message .solutions ul {
    margin: 5px 0 0 20px;
    padding: 0;
}

.notion-test-message .solutions ul li {
    margin: 3px 0;
    font-size: 12px;
    opacity: 0.9;
}

.notion-test-message .demo-info {
    margin-top: 15px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 13px;
}

.notion-test-message .data-summary {
    margin-top: 15px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.notion-test-message .data-summary ul {
    margin: 5px 0 0 20px;
    padding: 0;
}

.notion-test-message .data-summary li {
    margin: 3px 0;
    font-size: 13px;
}

.notion-test-message .close-message {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.notion-test-message .close-message:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* تصميم متجاوب لرسائل Notion */
@media (max-width: 768px) {
    .notion-test-message {
        top: 10px;
        right: 10px;
        left: 10px;
    }

    .notion-test-message .message-content {
        padding: 15px;
        gap: 10px;
    }

    .notion-test-message .message-content i {
        font-size: 20px;
    }

    .notion-test-message .message-text strong {
        font-size: 14px;
    }

    .notion-test-message .result-details,
    .notion-test-message .error-details {
        font-size: 12px;
    }
}

/* =========================================== */
/* صفحة الهبوط الجديدة */
/* =========================================== */

.landing-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    text-align: center;
    margin: 20px 0 10px;
    line-height: 1.2;
}

.landing-subtitle {
    font-size: 1.2rem;
    color: #4a5568;
    text-align: center;
    margin-bottom: 5px;
    font-weight: 400;
}

.landing-video-section {
    margin: 15px 0;
}

.landing-video-section .video-instructions {
    text-align: center;
    margin-bottom: 15px;
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.landing-video-section .instruction-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    /*padding: 10px 20px;*/
    border-radius: 25px;
    font-weight: 600;
    /*box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);*/
}

.landing-video-section .instruction-badge i {
    font-size: 1.2rem;
}

.persuasive-content {
    margin: 40px 0;
}

/* =========================================== */
/* عرض المشاريع */
/* =========================================== */

.projects-section {
    margin-bottom: 50px;
}

.projects-title {
    text-align: center;
    color: #2d3748;
    font-size: 2rem;
    margin-bottom: 40px;
    font-weight: 700;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.project-container {
    margin: 10px 0;
}

.project-content {
    padding: 6px 0;
}

.project-card {
    background: white;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/*.project-image {
    position: relative;
    /*height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea, #764ba2);

    width: 100%;

    aspect-ratio: 5 / 3;

}

.project-image img {
    width: 100%;
    /*height: 100%;
    aspect-ratio: 5/3;
    /*object-fit: cover; old 
    transition: transform 0.3s ease;
    /*opacity: 0;
}*/

.project-image {
    position: relative;
    overflow: hidden;
    /*width: 300px;
    height: 200px;*/
    width: 100%;
    /* أو أي ارتفاع مناسب */
    aspect-ratio: 5 / 3;
    border-radius: 12px;
    /* نفس شكل البطاقات إن أردت */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #764ba2;
    /* fallback لو الصورة ما حملت */
    transition: transform 0.3s ease;
}


/*.project-image img.loaded {
    /*opacity: 1;
}*/

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-image::after {
    opacity: 1;
}


.project-title {
    color: #2d3748;
    font-size: 1.4rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.project-subtitle {
    color: #667eea;
    font-size: 0.9rem;
    margin-bottom: 8px;
    font-weight: 500;
    font-style: italic;
}

.project-description {
    color: #4a5568;
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

/* تأثيرات إضافية */
.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

/* =========================================== */
/* آراء العملاء */
/* =========================================== */

.testimonials-section {
    margin: 60px 0;
    padding: 40px 0;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 20px;
}

.testimonials-title {
    text-align: center;
    color: #2d3748;
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.testimonials-subtitle {
    text-align: center;
    color: #4a5568;
    font-size: 1.1rem;
    margin-bottom: 40px;
    font-weight: 400;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.client-info h4 {
    color: #2d3748;
    font-size: 1.2rem;
    margin: 0 0 5px 0;
    font-weight: 600;
}

.client-info p {
    color: #667eea;
    font-size: 0.9rem;
    margin: 0;
    font-weight: 500;
}

.testimonial-rating .stars {
    display: flex;
    gap: 2px;
}

.testimonial-rating .stars i {
    color: #fbbf24;
    font-size: 1rem;
}

.audio-player-container {
    margin: 20px 0;
    background: #f8fafc;
    border-radius: 12px;
    padding: 15px;
    border: 1px solid #e2e8f0;
}

.testimonial-audio {
    width: 100%;
    height: 40px;
    outline: none;
    border-radius: 8px;
}

.testimonial-audio::-webkit-media-controls-panel {
    background-color: white;
    border-radius: 8px;
}

.testimonial-text {
    margin-top: 15px;
}

.testimonial-text p {
    color: #4a5568;
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
    font-style: italic;
    text-align: center;
    position: relative;
}

.testimonial-text p::before {
    content: '"';
    font-size: 2rem;
    color: #667eea;
    position: absolute;
    top: -10px;
    left: -5px;
    font-family: serif;
}

.testimonial-text p::after {
    content: '"';
    font-size: 2rem;
    color: #667eea;
    position: absolute;
    bottom: -15px;
    right: -5px;
    font-family: serif;
}

/* تصميم متجاوب للمشاريع */
@media (max-width: 768px) {
    .projects-title {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }


    .project-image {
        /* max width with pixels */
        max-width: 600px;
    }


    .project-title {
        font-size: 1.2rem;
    }

    .project-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .projects-grid {
        gap: 15px;
    }


    .project-image {
        max-width: 380px;
    }


    .project-title {
        font-size: 1.1rem;
    }

    .project-subtitle {
        font-size: 0.8rem;
    }

    .project-description {
        font-size: 0.85rem;
    }
}

/* تصميم متجاوب لآراء العملاء */
@media (max-width: 768px) {
    .testimonials-section {
        margin: 40px 0;
        padding: 30px 0;
    }

    .testimonials-title {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .testimonials-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    .testimonial-card {
        padding: 20px;
    }

    .testimonial-header {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 15px;
    }

    .client-info h4 {
        font-size: 1.1rem;
    }

    .client-info p {
        font-size: 0.85rem;
    }

    .audio-player-container {
        margin: 15px 0;
        padding: 12px;
    }

    .testimonial-text p {
        font-size: 0.9rem;
    }

    .testimonial-text p::before,
    .testimonial-text p::after {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .testimonials-section {
        margin: 30px 0;
        padding: 20px 0;
    }

    .testimonials-title {
        font-size: 1.5rem;
    }

    .testimonials-subtitle {
        font-size: 0.9rem;
    }

    .testimonials-grid {
        padding: 0 10px;
    }

    .testimonial-card {
        padding: 15px;
    }

    .testimonial-header {
        margin-bottom: 12px;
    }

    .client-info h4 {
        font-size: 1rem;
    }

    .client-info p {
        font-size: 0.8rem;
    }

    .audio-player-container {
        padding: 10px;
    }

    .testimonial-audio {
        height: 35px;
    }

    .testimonial-text p {
        font-size: 0.85rem;
    }
}

.stats-section {
    display: flex;
    justify-content: space-around;
    background: rgba(255, 255, 255, 0.95);
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 30px 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1rem;
    color: #4a5568;
    font-weight: 500;
}

.btn-container {
    /*center the button*/
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.booking-button-container {
    text-align: center;
    margin: 50px 0;
    transition: all 0.6s ease-out;
}

.book-consultation-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 20px 40px;
    font-size: 1.3rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 280px;
}

.book-consultation-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
}

.book-consultation-btn:active {
    transform: translateY(-1px);
}

.book-consultation-btn i {
    margin-left: 10px;
    font-size: 1.2rem;
}

.booking-note {
    margin-top: 15px;
    color: #4a5568;
    font-size: 0.9rem;
    font-style: italic;
}

/* تأثيرات خاصة لزر الحجز */
.book-consultation-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.book-consultation-btn:hover::before {
    left: 100%;
}

/* الاستجابة للشاشات الصغيرة */
@media (max-width: 768px) {
    .landing-title {
        font-size: 2rem;
    }

    .landing-subtitle {
        font-size: 1rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .stats-section {
        flex-direction: column;
        gap: 20px;
    }

    .book-consultation-btn {
        font-size: 1.1rem;
        padding: 15px 30px;
        min-width: 250px;
    }
}

/* =========================================== */
/* النافذة المنبثقة للزوار الجدد */
/* =========================================== */

.welcome-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.welcome-popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.welcome-popup-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 0;
    max-width: 450px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.8) translateY(50px);
    transition: all 0.3s ease;
    position: relative;
}

.welcome-popup-overlay.show .welcome-popup-content {
    transform: scale(1) translateY(0);
}

.popup-header {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
}

.popup-header h3 {
    color: white;
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.popup-close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.popup-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.popup-body {
    padding: 25px;
    background: white;
    border-radius: 0 0 20px 20px;
}

.popup-message {
    color: #4a5568;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: center;
}

.popup-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.popup-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.popup-form-group label {
    color: #2d3748;
    font-weight: 600;
    font-size: 0.95rem;
}

.popup-form-group input {
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.popup-form-group input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.popup-form-group input.error {
    border-color: #e53e3e;
    background: #fed7d7;
}

.popup-error-message {
    color: #e53e3e;
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

.popup-error-message.show {
    display: block;
}

.popup-buttons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.popup-submit-btn {
    flex: 2;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.popup-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.popup-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.popup-skip-btn {
    flex: 1;
    background: #f7fafc;
    color: #4a5568;
    border: 2px solid #e2e8f0;
    padding: 15px 20px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.popup-skip-btn:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
    transform: translateY(-1px);
}

/* تأثيرات متقدمة للنافذة المنبثقة */
@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(50px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes popupSlideOut {
    from {
        opacity: 1;
        transform: scale(1) translateY(0);
    }

    to {
        opacity: 0;
        transform: scale(0.8) translateY(50px);
    }
}

/* تصميم متجاوب للنافذة المنبثقة */
@media (max-width: 768px) {
    .welcome-popup-content {
        width: 95%;
        margin: 20px;
    }

    .popup-header {
        padding: 15px;
    }

    .popup-header h3 {
        font-size: 1.2rem;
    }

    .popup-body {
        padding: 20px;
    }

    .popup-buttons {
        flex-direction: column;
    }

    .popup-submit-btn,
    .popup-skip-btn {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .welcome-popup-content {
        width: 98%;
        margin: 10px;
    }

    .popup-header {
        padding: 12px;
    }

    .popup-body {
        padding: 15px;
    }

    .popup-message {
        font-size: 1rem;
    }
}

/* =========================================== */
/* تنسيق الحقول المملوءة مسبقاً */
/* =========================================== */

.pre-filled-group {
    position: relative;
    background: rgba(72, 187, 120, 0.1);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    border: 2px solid rgba(72, 187, 120, 0.3);
}

.pre-filled-group::before {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 15px;
    background: #48bb78;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.pre-filled-group input {
    background: rgba(72, 187, 120, 0.05) !important;
    border-color: #48bb78 !important;
    color: #2d3748 !important;
    font-weight: 500;
}

.pre-filled-group input:focus {
    border-color: #38a169 !important;
    box-shadow: 0 0 0 3px rgba(72, 187, 120, 0.1) !important;
}

.pre-filled-message {
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: white;
    padding: 15px 20px;
    border-radius: 12px;
    margin: 20px 0;
    text-align: center;
    box-shadow: 0 4px 15px rgba(72, 187, 120, 0.3);
    animation: slideInDown 0.5s ease-out;
}

.pre-filled-message-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 500;
}

.pre-filled-message-content i {
    font-size: 1.2rem;
    animation: pulse 2s infinite;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* تأثيرات إضافية للحقول المملوءة */
.pre-filled-group:hover {
    background: rgba(72, 187, 120, 0.15);
    border-color: rgba(72, 187, 120, 0.5);
    transform: scale(0.98);
}

.pre-filled-group input:hover {
    background: rgba(72, 187, 120, 0.1) !important;
}

/* تصميم متجاوب للحقول المملوءة */
@media (max-width: 768px) {
    .pre-filled-group {
        padding: 12px;
        margin-bottom: 15px;
    }

    .pre-filled-group::before {
        width: 20px;
        height: 20px;
        font-size: 12px;
        top: 8px;
        right: 12px;
    }

    .pre-filled-message {
        padding: 12px 15px;
        margin: 15px 0;
    }

    .pre-filled-message-content {
        font-size: 0.9rem;
    }
}

/* =========================================== */
/* مؤشر التقدم لزر الحجز */
/* =========================================== */

.progress-indicator {
    margin-top: 20px;
    text-align: center;
    animation: slideInUp 0.5s ease-out;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 10px;
    width: 0%;
    transition: width 1s ease-out;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

.progress-text {
    color: #4a5568;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 8px;
}

.progress-countdown {
    color: #667eea;
    font-weight: 600;
    font-size: 1rem;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* تأثيرات إضافية للزر المعطل */
.book-consultation-btn:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    background-color: #9ca3af !important;
    box-shadow: none !important;
    transform: none !important;
}

.book-consultation-btn:disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* تصميم متجاوب لمؤشر التقدم */
@media (max-width: 768px) {
    .progress-indicator {
        margin-top: 15px;
    }

    .progress-bar {
        height: 6px;
        margin-bottom: 8px;
    }

    .progress-text {
        font-size: 0.8rem;
    }

    .progress-countdown {
        font-size: 0.9rem;
    }
}

/* =========================================== */
/* صفحة الشكر */
/* =========================================== */

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.success-message {
    text-align: center;
    margin-bottom: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #48bb78, #38a169);
    border-radius: 15px;
    color: white;
    box-shadow: 0 8px 25px rgba(72, 187, 120, 0.3);
}

.success-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    animation: bounce 2s infinite;
}

.success-message h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.success-message p {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.5;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-8px);
    }

    60% {
        transform: translateY(-4px);
    }
}

.project-details-form {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 25px;
}

.project-details-form h3 {
    color: #2d3748;
    font-size: 1.4rem;
    margin-bottom: 8px;
    text-align: center;
}

.project-details-form>p {
    color: #4a5568;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.5;
}

.project-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.project-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.project-form label {
    color: #2d3748;
    font-weight: 600;
    font-size: 1rem;
}

.project-form textarea {
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    min-height: 120px;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.project-form textarea:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.contact-info {
    background: linear-gradient(135deg, #667eea, #764ba2);
    padding: 25px;
    border-radius: 15px;
    color: white;
    text-align: center;
}

.contact-info h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1rem;
}

.contact-item i {
    font-size: 1.2rem;
    opacity: 0.8;
}

/* تصميم متجاوب لصفحة الشكر */
@media (max-width: 768px) {
    .thank-you-content {
        padding: 15px;
    }

    .success-message {
        padding: 20px;
        margin-bottom: 25px;
    }

    .success-icon {
        font-size: 2.5rem;
    }

    .success-message h2 {
        font-size: 1.5rem;
    }

    .success-message p {
        font-size: 0.9rem;
    }

    .project-details-form {
        padding: 20px;
    }

    .project-details-form h3 {
        font-size: 1.2rem;
    }

    .contact-info {
        padding: 20px;
    }

    .contact-item {
        font-size: 0.9rem;
        flex-direction: column;
        text-align: center;
        gap: 6px;
    }

    .contact-item i {
        font-size: 1rem;
    }
}

/* =========================================== */
/* زر واتساب ثابت */
/* =========================================== */

.whatsapp-fixed-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-fixed-btn a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.whatsapp-fixed-btn a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-fixed-btn a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.whatsapp-fixed-btn a:hover::before {
    transform: translateX(100%);
}

.whatsapp-fixed-btn i {
    font-size: 28px;
    color: white;
    z-index: 1;
    position: relative;
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }

    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* تصميم متجاوب لزر واتساب */
@media (max-width: 768px) {
    .whatsapp-fixed-btn {
        bottom: 15px;
        left: 15px;
    }

    .whatsapp-fixed-btn a {
        width: 55px;
        height: 55px;
    }

    .whatsapp-fixed-btn i {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .whatsapp-fixed-btn {
        bottom: 10px;
        left: 10px;
    }

    .whatsapp-fixed-btn a {
        width: 50px;
        height: 50px;
    }

    .whatsapp-fixed-btn i {
        font-size: 22px;
    }
}