.elementor-40 .elementor-element.elementor-element-8f9ab6b{--display:flex;}/* Start custom CSS for html, class: .elementor-element-374a51a *//* ==============================================================
   🚀 تحسينات إضافية لتصميم The Digital GOAT
   ============================================================== */

/* ====== 1. تحسين قراءة النصوص ====== */
.tdg-wrap {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ====== 2. تحسين العناوين ====== */
.tdg-hero h1 {
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.5px;
}

.tdg-hero h1 span,
.tdg-hero h1 em {
    text-shadow: 0 0 60px rgba(94, 231, 224, 0.15);
}

.tdg-section-title {
    position: relative;
    display: inline-block;
}

.tdg-section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 50%;
    transform: translateX(50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--gold), var(--teal));
    border-radius: 4px;
}

.tdg-section-title span {
    position: relative;
}

/* ====== 3. تحسين البطاقات ====== */
.tdg-srv,
.tdg-pf,
.tdg-stat,
.tdg-why-card,
.tdg-tst-card,
.tdg-faq-item,
.tdg-client-card,
.tdg-team-card,
.tdg-blog-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.tdg-srv:hover,
.tdg-pf:hover,
.tdg-stat:hover,
.tdg-why-card:hover,
.tdg-tst-card:hover,
.tdg-faq-item:hover,
.tdg-client-card:hover,
.tdg-team-card:hover,
.tdg-blog-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* ====== 4. تحسين الأزرار ====== */
.tdg-cta,
.tdg-btn-ghost,
.tdg-btn-primary,
.tdg-btn-secondary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.tdg-cta::after,
.tdg-btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.tdg-cta:active::after,
.tdg-btn-primary:active::after {
    width: 300px;
    height: 300px;
}

.tdg-btn-ghost {
    position: relative;
}

.tdg-btn-ghost::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold), var(--teal));
    opacity: 0;
    transition: opacity 0.4s;
    z-index: -1;
}

.tdg-btn-ghost:hover::before {
    opacity: 1;
}

.tdg-btn-ghost:hover {
    border-color: transparent;
    color: #04141a;
}

/* ====== 5. تحسين الصور ====== */
.tdg-pf-thumb img.shot {
    filter: brightness(0.9) saturate(1.1);
}

.tdg-pf:hover .shot {
    filter: brightness(1) saturate(1.2);
}

.tdg-about-visual img,
.tdg-logo img {
    transition: transform 0.6s ease, filter 0.6s ease;
}

.tdg-about-visual:hover img {
    transform: scale(1.05) rotate(-2deg);
    filter: drop-shadow(0 30px 80px rgba(94, 231, 224, 0.4));
}

.tdg-logo:hover img {
    transform: rotate(-5deg) scale(1.05);
}

/* ====== 6. خلفيات متدرجة متحركة (اختياري) ====== */
.tdg-hero {
    background-size: 200% 200%;
    animation: gradientShift 8s ease-in-out infinite alternate;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

/* ====== 7. تأثيرات الدخول (Fade In) ====== */
.tdg-srv,
.tdg-pf,
.tdg-stat,
.tdg-why-card,
.tdg-tst-card,
.tdg-faq-item,
.tdg-client-card,
.tdg-team-card,
.tdg-blog-card,
.tdg-step {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.tdg-srv:nth-child(1) { animation-delay: 0.05s; }
.tdg-srv:nth-child(2) { animation-delay: 0.1s; }
.tdg-srv:nth-child(3) { animation-delay: 0.15s; }
.tdg-srv:nth-child(4) { animation-delay: 0.2s; }
.tdg-srv:nth-child(5) { animation-delay: 0.25s; }
.tdg-srv:nth-child(6) { animation-delay: 0.3s; }

.tdg-pf:nth-child(1) { animation-delay: 0.05s; }
.tdg-pf:nth-child(2) { animation-delay: 0.1s; }
.tdg-pf:nth-child(3) { animation-delay: 0.15s; }
.tdg-pf:nth-child(4) { animation-delay: 0.2s; }
.tdg-pf:nth-child(5) { animation-delay: 0.25s; }
.tdg-pf:nth-child(6) { animation-delay: 0.3s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ====== 8. تحسين الهوامش والمسافات ====== */
.tdg-sec {
    padding: 100px 0;
    position: relative;
}

.tdg-sec:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.tdg-container {
    padding: 0 24px;
}

/* ====== 9. تحسين شريط التمرير (Scrollbar) ====== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--gold), var(--teal));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--gold-2), var(--teal-2));
}

/* ====== 10. زر واتساب العائم ====== */
.tdg-float-wa {
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
}

.tdg-float-wa:hover {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.6);
}

.tdg-float-wa svg {
    transition: transform 0.3s ease;
}

.tdg-float-wa:hover svg {
    transform: scale(1.1);
}

/* ====== 11. تحسين النماذج ====== */
.tdg-contact-form input,
.tdg-contact-form textarea,
.tdg-contact-form button {
    transition: all 0.3s ease;
}

.tdg-contact-form input:focus,
.tdg-contact-form textarea:focus {
    transform: scale(1.02);
    box-shadow: 0 0 0 4px rgba(94, 231, 224, 0.1);
}

.tdg-contact-form button {
    position: relative;
    overflow: hidden;
}

.tdg-contact-form button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.tdg-contact-form button:active::after {
    width: 300px;
    height: 300px;
}

/* ====== 12. تحسين الروابط ====== */
.tdg-nav ul a {
    position: relative;
}

.tdg-nav ul a::before {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--teal));
    transition: width 0.3s ease;
}

.tdg-nav ul a:hover::before {
    width: 100%;
}

/* ====== 13. تحسين التجاوب ====== */
@media (max-width: 1024px) {
    .tdg-sec {
        padding: 70px 0;
    }
    .tdg-hero {
        padding: 60px 0 80px;
    }
}

@media (max-width: 768px) {
    .tdg-sec {
        padding: 50px 0;
    }
    .tdg-hero {
        padding: 40px 0 60px;
    }
    .tdg-hero h1 {
        font-size: 32px;
    }
    .tdg-section-title {
        font-size: 28px;
    }
    .tdg-sec-title h2 {
        font-size: 26px;
    }
    .tdg-stats {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
    .tdg-stat b {
        font-size: 28px;
    }
    .tdg-pf-body h3 {
        font-size: 18px;
    }
    .tdg-container {
        padding: 0 16px;
    }
    .tdg-about-grid {
        gap: 30px;
    }
    .tdg-check {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .tdg-sec {
        padding: 40px 0;
    }
    .tdg-hero h1 {
        font-size: 26px;
    }
    .tdg-hero p {
        font-size: 15px;
    }
    .tdg-stat b {
        font-size: 22px;
    }
    .tdg-stat span {
        font-size: 12px;
    }
    .tdg-cta {
        padding: 10px 16px;
        font-size: 14px;
    }
    .tdg-btn-ghost {
        padding: 10px 16px;
        font-size: 14px;
    }
}

/* ====== 14. تحسين الوضوح في الأقسام الداكنة ====== */
.tdg-section-dark .tdg-section-title,
.tdg-section-dark h2,
.tdg-section-dark h3,
.tdg-section-dark h4 {
    color: #ffffff;
}

.tdg-section-dark .tdg-section-desc,
.tdg-section-dark p {
    color: #cbd5e1;
}

/* ====== 15. تأثيرات إضافية للخلفية ====== */
.tdg-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(180deg, transparent, var(--bg));
    pointer-events: none;
    z-index: 1;
}

.tdg-final::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(180deg, var(--bg), transparent);
    pointer-events: none;
    z-index: 1;
}

/* ====== 16. تحسين شهادات العملاء ====== */
.tdg-tst-card {
    position: relative;
}

.tdg-tst-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.05), transparent 70%);
    pointer-events: none;
}

.tdg-tst-avatar {
    position: relative;
}

.tdg-tst-avatar::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--teal));
    opacity: 0.3;
    z-index: -1;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.6;
    }
}

/* ====== 17. تحسين أقسام العملاء ====== */
.tdg-client-card img {
    filter: grayscale(0.2) brightness(0.9);
    transition: all 0.4s ease;
}

.tdg-client-card:hover img {
    filter: grayscale(0) brightness(1);
    transform: scale(1.05);
}

/* ====== 18. تحسين المدونة ====== */
.tdg-blog-img {
    position: relative;
    overflow: hidden;
}

.tdg-blog-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.3));
    pointer-events: none;
}

.tdg-blog-card:hover .tdg-blog-img {
    transform: scale(1.02);
}

/* ====== 19. تحسين القائمة المتنقلة ====== */
@media (max-width: 960px) {
    .tdg-nav ul {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: rgba(10, 15, 20, 0.98);
        backdrop-filter: blur(16px);
        padding: 20px;
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    .tdg-nav ul.open {
        display: flex;
    }
    .tdg-nav .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        padding: 8px;
    }
    .tdg-nav .menu-toggle span {
        width: 28px;
        height: 3px;
        background: var(--ink);
        border-radius: 3px;
        transition: all 0.3s ease;
    }
    .tdg-nav .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .tdg-nav .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .tdg-nav .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}

/* ====== 20. تحسين الفوتر ====== */
.tdg-foot {
    position: relative;
}

.tdg-foot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--teal), transparent);
}

/* ====== 21. تحسين الروابط الاجتماعية ====== */
.tdg-footer-social a,
.tdg-hero-social a {
    transition: all 0.3s ease;
    position: relative;
}

.tdg-footer-social a:hover,
.tdg-hero-social a:hover {
    transform: translateY(-3px) scale(1.1);
}

/* ====== 22. تحسين الجودة العامة ====== */
.tdg-wrap {
    position: relative;
}

.tdg-wrap::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(94, 231, 224, 0.03), transparent 60%);
    pointer-events: none;
    z-index: -1;
}

/* ====== 23. تحسين النصوص المميزة ====== */
.tdg-gold-text {
    color: var(--gold);
}

.tdg-teal-text {
    color: var(--teal);
}

.tdg-gradient-text {
    background: linear-gradient(135deg, var(--gold-2), var(--teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}/* End custom CSS */