﻿:root {
    --gold: #FEC800;
    --gold-light: #ffd12d;
    --white: #ffffff;
    --text-color: #333333;
    --text-color-light: #4a4a4a;
    --grey-light: #3d3d3d;
    --shadow: 0 5px 20px 1px hsla(220, 63%, 33%, 0.1);
    --transition-2: 0.35s ease;
}

.tkt-why {
    --accent: #6c757d; /* رمادي هادئ بدلاً من الأصفر */
    --ink: #0b1220;
    --muted: #475569;
    --line: rgba(2,6,23,.12);
    --bg-light: #f8f9fa;
    padding: clamp(40px,6vw,90px) 0;
}

.tkt-shell {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.tkt-title {
    margin: 0 0 12px;
    font-size: clamp(24px,3vw,36px);
    font-weight: 900;
    text-align: center;
}

.tkt-dot {
    color: #ffd84d; /* نقطة ذهبية فقط */
}

.tkt-grid {
    display: grid;
    gap: 24px;
}

/* الكارد الأساسي - بدون أي تعقيدات */
.tkt-card {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(2,6,23,.08);
    transition: all 0.3s ease;
    padding: 0; /* مهم جداً - لا padding للكارد */
    direction: rtl; /* RTL للجميع */
}

    .tkt-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 40px rgba(2,6,23,.15);
        border-color: var(--accent);
    }

/* منطقة الصورة - حجم ثابت */
.tkt-stub {
    width: 100px; /* عرض ثابت */
    height: 100px; /* ارتفاع ثابت */
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* مهم - لا يتقلص */
    border-radius: 0; /* بدون border-radius للزاوية */
}

/* الصورة نفسها - مرنة تماماً */
.tkt-image {
    height: 100%;
    overflow: hidden;
}


/* المحتوى - يأخذ باقي المساحة */
.tkt-body {
    flex: 1; /* يملأ المساحة المتبقية */
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* الأيقونة - صغيرة وبسيطة */
.tkt-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: white;
    margin-bottom: 8px;
}

.tkt-card-title {
    margin: 0;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--ink);
    line-height: 1.3;
}

.tkt-card-desc {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
    font-size: 0.9rem;
}

/* إخفاء العناصر القديمة تماماً */
.tkt-no,
.tkt-cut,
.tkt-in,
.tkt-out {
    display: none !important;
}

.tkt-image {
    height: 100%;
    overflow: hidden;
}
/* ريسبونسيف */
@media (min-width: 900px) {
    .tkt-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
}

@media (max-width: 768px) {
    .tkt-stub {
        width: 80px;
        height: 80px;
    }

    .tkt-image {
        width: 50px;
        height: 50px;
    }

    .tkt-body {
        padding: 20px 16px;
    }

    .tkt-card-title {
        font-size: 1rem;
    }

    .tkt-card-desc {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .tkt-stub {
        width: 70px;
        height: 70px;
    }

    .tkt-image {
        width: 45px;
        height: 45px;
    }

    .tkt-body {
        padding: 16px 12px;
    }
}

/* ===== services cards ===== */

/* Service Cards with Curtain Effect */

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    border-radius: 20px 20px 0 0;
}

    .service-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

.service-image {
    height: 180px;
}

.section {
    padding: 80px 0;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-align: right;
    direction: rtl;
    position: relative;
    overflow: hidden;
}

.service-card-content {
    position: relative;
    z-index: 2;
}

.service-card .card-icon {
    width: 80px;
    height: 80px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.4rem;
    color: white;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

    .service-card .card-icon i {
        font-size: 2.4rem;
        color: white;
        transition: all 0.3s ease;
    }

.service-card .curtain {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 100%;
    background: var(--gold-light);
    transition: all 0.5s cubic-bezier(0.65, 0, 0.35, 1);
    z-index: 1;
}

.service-card:hover .curtain {
    width: 100%;
    right: auto;
    left: 0;
}

.service-card:hover .card-icon {
    background: white;
    color: var(--gold);
    box-shadow: 0 0 0 5px rgba(234, 220, 168, 0.3);
}

    .service-card:hover .card-icon i {
        color: var(--gold);
    }

.service-card:hover h3,
.service-card:hover p,
.service-card:hover ul li {
    color: var(--text-color);
}

    .service-card:hover ul li:before {
        color: var(--gold);
    }

.service-card h3 {
    transition: all 0.3s ease;
    margin: 25px;
    font-weight: bold;
    position: relative;
    z-index: 2;
}

.service-card p {
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    min-height: 80px;
}

.service-card ul {
    text-align: right;
    margin: 20px 0;
    padding-right: 20px;
    direction: rtl;
    position: relative;
    z-index: 2;
}

    .service-card ul li {
        margin-bottom: 8px;
        position: relative;
        padding-right: 25px;
        transition: all 0.3s ease;
    }

        .service-card ul li:before {
            content: "✓";
            color: var(--gold);
            font-weight: bold;
            position: absolute;
            right: 0;
            transition: all 0.3s ease;
        }


@media (max-width: 768px) {
    .hero {
        padding-block-start: 80px;
        min-height: 60vh;
    }

    .hero-content {
        padding: 20px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .service-list {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 30px 20px;
    }

        .service-card .card-icon {
            width: 90px !important;
            height: 80px !important;
            margin: 0px 105px 20px !important;
        }
}

/* Service Cards Enhancements */
.service-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

    .service-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, var(--gold_50) 0%, transparent 100%);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .service-card:hover::before {
        opacity: 0.2;
    }

/* Keyframes Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes underlineExpand {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

@keyframes expandLine {
    from {
        width: 0;
    }

    to {
        width: 50px;
    }
}


/* ===== نبذة تعريفية ===== */
.ovx-about {
    --accent: #ffd84d;
    --ink: #0b1220;
    --muted: #475569;
    --line: rgba(2,6,23,.12);
    --shadow: 0 16px 40px rgba(2,6,23,.12);
    background: transparent;
    color: var(--ink);
    padding: clamp(48px, 7vw, 100px) 0;
}

.ovx-shell {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px
}

.ovx-grid {
    display: grid;
    gap: 28px;
    grid-template-columns: 1.1fr 1fr; /* صور أكبر شوي */
    align-items: center;
}

/* العنوان والنص */
.ovx-title {
    margin: 0 0 10px;
    font-weight: 900;
    font-size: clamp(24px,3vw,36px)
}

.ovx-dot {
    color: var(--accent)
}

.ovx-lead {
    margin: 0 0 18px;
    line-height: 1.95;
    color: var(--muted);
    background: linear-gradient(180deg, rgba(255,216,77,.10), rgba(255,216,77,0));
    border-right: 4px solid var(--accent);
    padding: 14px 16px;
    border-radius: 14px;
    box-shadow: 0 10px 26px rgba(2,6,23,.06);
}

/* الصور المتداخلة */
.ovx-media {
    position: relative;
    min-height: 420px;
}

.ovx-photo {
    position: absolute;
    inset: auto;
    display: block;
    width: min(540px, 90%);
    aspect-ratio: 4/3;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    background: #fff;
}

    .ovx-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

/* الخلفية */
.ovx-photo--back {
    left: 6%;
    top: 10%;
    transform: rotate(-3deg);
}
/* الأمامية */
.ovx-photo--front {
    right: 0;
    bottom: 0;
    transform: rotate(2.5deg);
    outline: 4px solid #fff; /* حافة بيضاء تبرز فوق الخلفية */
    outline-offset: -2px;
}

/* شارة صغيرة */
.ovx-badge {
    position: absolute;
    right: 8px;
    top: 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .7px;
    background: #fff;
    color: #111;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 10px;
    box-shadow: 0 8px 22px rgba(2,6,23,.08);
}

/* كروت الرؤية/الرسالة (خفيفة) */
.ovx-cards {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr 1fr;
}

.ovx-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px 16px;
    box-shadow: 0 10px 26px rgba(2,6,23,.08);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

    .ovx-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow);
        border-color: rgba(255,216,77,.45)
    }

.ovx-card-title {
    margin: 0 0 6px;
    font-weight: 800;
    font-size: 1.05rem;
    position: relative;
}

    .ovx-card-title::after {
        content: "";
        position: absolute;
        right: 0;
        bottom: -6px;
        width: 56px;
        height: 4px;
        border-radius: 999px;
        background: linear-gradient(90deg, var(--accent), transparent);
    }

.ovx-card-text {
    margin: 12px 0 0;
    color: var(--muted);
    line-height: 1.9
}

/* استجابة */



    @media (max-width: 1100px) {
        .ovx-grid {
            grid-template-columns: 1fr;
        }

        .ovx-media {
            min-height: 360px;
            order: -1;
        }
        /* الصور فوق النص */
        .ovx-photo {
            width: min(520px, 88%);
        }

        .ovx-photo--back {
            left: 4%;
            top: 8%;
        }

        .ovx-photo--front {
            right: 2%;
            bottom: 0;
        }
    }

    @media (max-width: 720px) {
        .ovx-media {
            min-height: 320px;
        }

        .ovx-photo {
            width: 86%;
            border-radius: 14px
        }

        .ovx-photo--back {
            left: 6%;
            top: 6%;
            transform: rotate(-2.2deg)
        }

        .ovx-photo--front {
            right: 4%;
            bottom: -4%;
            transform: rotate(1.8deg)
        }

        .ovx-cards {
            grid-template-columns: 1fr;
        }
    }
    /* العنوان والنص */
    .amx-title {
        margin: 0 0 12px;
        font-weight: 900;
        line-height: 1.15;
        font-size: clamp(26px,3vw,40px);
        color: var(--amx-ink);
    }

        .amx-title::after {
            content: "";
            display: block;
            width: 56px;
            height: 3px;
            margin-top: 8px;
            border-radius: 2px;
            background: var(--amx-accent);
        }

    .amx-p {
        margin: 0;
        line-height: 1.9;
        color: var(--amx-muted);
        font-size: clamp(15px,1.05rem,18px);
    }

    /* الصورة */
    .amx-media img {
        width: 100%;
        height: auto;
        display: block;
        aspect-ratio: 16/10;
        object-fit: cover;
        border-radius: 16px;
        border: 1px solid rgba(2,6,23,.08);
        box-shadow: 0 10px 26px rgba(2,6,23,.08);
    }

    /* افتراضياً: الصورة يسار، النص يمين (مناسب لـ RTL) */
    .amx-media {
        order: 1
    }

    .amx-text {
        order: 2
    }

    /* استجابة للموبايل: تصير فوق/تحت ببساطة */
    @media (max-width: 900px) {
        .amx-wrap {
            flex-direction: column;
            gap: 16px
        }

        .amx-title::after {
            width: 48px
        }
    }
@media (max-width: 768px) {
    .service-list {
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .ovx-grid {
        gap: 88px;
    }

    .mgx-info {
        -webkit-backdrop-filter: blur(1px);
        background: rgba(12,14,18,.45);
        gap: 0px;
    }
}

@media (max-width: 426px) {
    .mgx-info {
        -webkit-backdrop-filter: blur(1px);
        gap: 1px;
        background: rgba(12,14,18,0.25);
    }
}
    /* خيار سريع (اختياري): إذا بدك الصورة يمين والنص يسار على الديسكتوب */
    .amx-about-simple.amx--img-right .amx-media {
        order: 2
    }

    .amx-about-simple.amx--img-right .amx-text {
        order: 1
    }

    /* ===== سلايدر المشاريع بتأثير تلاشي ===== */
    .mgx-projects {
        --accent: #ffd84d;
        --ink: #0b1220;
        --muted: #475569;
        --line: rgba(2,6,23,.12);
        background: transparent;
        color: var(--ink);
        padding: clamp(40px,6vw,90px) 0;
    }

    .mgx-shell {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 16px
    }

    .mgx-title {
        text-align: center;
        margin: 0 0 14px;
        font-weight: 900;
        font-size: clamp(24px,3vw,36px)
    }

    .mgx-dot {
        color: var(--accent)
    }

    /* ===== Montage Layout ===== */
    .mgx-montage {
        display: grid;
        gap: 18px;
        grid-template-columns: 1.2fr 1fr;
        grid-template-rows: minmax(340px, 36vh) minmax(320px, 34vh);
        grid-template-areas:
            "A B"
            "A C";
        align-items: stretch;
    }

    .mgx-tile {
        position: relative;
        display: block;
        overflow: hidden;
        border-radius: 18px;
        aspect-ratio: 16/10; /* يُعدل تلقائياً بالحاوية */
        isolation: isolate;
        transform: translateZ(0);
        text-decoration: none;
        color: #fff;
    }

        .mgx-tile img {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            /* كان فيها تكبير بسيط – لغيناه */
            transform: none;
            transition: none;
        }
        /* إلغاء أي تكبير على الهوفر */
        .mgx-tile:hover img {
            transform: none !important;
        }

    /* تظليل وتدرّج لضمان وضوح النص */
    .mgx-shade {
        position: absolute;
        inset: 0;
        z-index: 0;
        background: radial-gradient(80% 70% at 50% 100%, rgba(0,0,0,.55), transparent 65%), linear-gradient(180deg, rgba(0,0,0,.15) 0, rgba(0,0,0,.45) 60%);
        mix-blend-mode: multiply;
    }

    /* شريط زجاجي للنص */
    .mgx-info {
        position: absolute;
        inset: auto 16px 16px 16px;
        z-index: 1;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        background: rgba(12,14,18,.45);
        border: 1px solid rgba(255,255,255,.25);
        border-radius: 14px;
        padding: 12px 14px;
        display: grid;
        gap: 6px;
        text-align: right;
        /* النص افتراضياً أبيض */
        color: #fff;
    }

    .mgx-chip {
        justify-self: start;
        display: inline-block;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: .3px;
        background: rgba(255,216,77,.92);
        color: #111;
        border-radius: 999px;
        padding: 6px 10px;
    }

    .mgx-name {
        margin: 0;
        font-weight: 900;
        font-size: clamp(18px, 2vw, 24px);
        color: #fff; /* أبيض افتراضياً */
        transition: color .22s ease;
    }

    .mgx-desc {
        margin: 0;
        color: #fff; /* أبيض افتراضياً */
        line-height: 1.7;
        font-size: .98rem;
        transition: color .22s ease;
    }

    .mgx-tech {
        display: flex;
        flex-wrap: wrap;
        gap: 8px
    }

        .mgx-tech span {
            border: 1px solid rgba(255,255,255,.35);
            border-radius: 999px;
            padding: 6px 10px;
            background: rgba(255,255,255,.10);
            color: #fff; /* أبيض افتراضياً */
            transition: color .22s ease, border-color .22s ease, background-color .22s ease;
        }

    .mgx-more {
        font-weight: 800;
        border-bottom: 2px solid var(--accent);
        width: max-content;
        color: #fff; /* أبيض افتراضياً */
        transition: color .22s ease;
    }

    /* هوفر: بدّل الألوان إلى أصفر */
    .mgx-tile:hover .mgx-name,
    .mgx-tile:hover .mgx-desc,
    .mgx-tile:hover .mgx-more {
        color: var(--accent);
    }

    .mgx-tile:hover .mgx-tech span {
        background: rgba(255,216,77,.18);
        border-color: rgba(255,216,77,.65);
        color: var(--accent);
    }

    /* زوايا صفراء خفيفة لكل تايل (لمسة براند) */
    .mgx-tile::after {
        content: "";
        position: absolute;
        inset: auto auto 0 0;
        width: 96px;
        height: 96px;
        background: conic-gradient(from 225deg at 100% 0, var(--accent) 0 26%, transparent 0 100%);
        opacity: .9;
        pointer-events: none;
        mask: radial-gradient(96px 96px at 100% 0, #000 52%, transparent 53%);
        -webkit-mask: radial-gradient(96px 96px at 100% 0, #000 52%, transparent 53%);
    }

    /* مناطق الشبكة */
    .mgx-a {
        grid-area: A;
        aspect-ratio: auto;
        min-height: min(60vh, 640px)
    }

    .mgx-b {
        grid-area: B
    }

    .mgx-c {
        grid-area: C
    }

    /* CTA */
    .mgx-cta {
        text-align: center;
        margin-top: 16px
    }

    .mgx-btn {
        display: inline-block;
        text-decoration: none;
        color: #111;
        font-weight: 900;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 999px;
        padding: 10px 16px;
        box-shadow: 0 10px 24px rgba(2,6,23,.08);
    }

        .mgx-btn:hover {
            border-color: rgba(255,216,77,.45)
        }

    /* Responsive */
    @media (max-width: 1040px) {
        .mgx-montage {
            grid-template-columns: 1fr;
            grid-template-rows: none;
            grid-template-areas:
                "A"
                "B"
                "C";
        }

        .mgx-a {
            min-height: 52vh
        }

        .mgx-tile {
            aspect-ratio: 16/9
        }
    }

    @media (max-width: 640px) {
        .mgx-info {
            inset: auto 12px 12px 12px;
            padding: 10px 12px;
            -webkit-backdrop-filter: blur(1px);
            gap: 1px;
            background: rgba(12,14,18,0.25);
            backdrop-filter: blur(1px);
            text-align: center;
        }
        .mgx-name {
            font-size: clamp(18px, 5vw, 22px)
        }
        .service-list {
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr;
            justify-items: center;
        }

        .ovx-grid {
            gap: 88px;
        }
        .mgx-name {
            font-size: clamp(15px, 4vw, 4px);
        }
        .mgx-chip {    
            font-size: 8px;
            font-weight: 900;
            padding: 5px 5px;
        }
        .mgx-more {
            font-size: 13px;
            margin: 0 auto;
            display: block;
        }
    }

    /* === اجعل البطاقة الكبيرة A بنفس ارتفاع باقي البطاقات على الريسبونسيف === */
    @media (max-width: 1040px) {
        .mgx-a {
            min-height: unset; /* ألغِ الارتفاع الإجباري */
            aspect-ratio: 16/9; /* مثل باقي الكروت */
        }
    }

    /* لو بدك تتأكد أكثر على الموبايل الصغير جدًا */
    @media (max-width: 640px) {
        .mgx-a {
            min-height: unset !important;
            aspect-ratio: 16/9; /* أو 16/10 حسب ما تحب */
        }
    }


    /* ===== تايم لاين منهجية العمل متناوب يمين ويسار مع خطوط متقطعة ===== */




    /* ===== متغيرات CSS للسلايدر والستايل ===== */
    :root {
        --gold: #FEC800;
        --gold-light: #ffd12d;
        --white: #ffffff;
        --text-color: #333333;
        --text-color-light: #4a4a4a;
        --grey-light: #3d3d3d;
        --shadow: 0 5px 20px 1px hsla(220, 63%, 33%, 0.1);
        --transition-2: 0.35s ease;
    }

    /* ===== HERO ===== */
    .hero {
        background-image: url("../images/wave.svg"), url("https://i.pinimg.com/1200x/5e/17/73/5e177343020383d1dd1661a08c970c02.jpg");
        background-repeat: no-repeat, no-repeat;
        background-position: -280px bottom, center;
        background-size: cover, cover;
        padding-block-start: 120px;
        padding-block-end: var(--section-padding);
    }


    :root {
        --grey-color: #252525;
        --gold: #FEC800;
        --gold_50: hsl(47, 100%, 50%, 0.5);
        --gold-light: #eadca8;
        --orange: hsl(29, 100%, 61%);
        --gold-dark: #b59009;
        --golden-dark: #7a6106;
        --orange-dark: hsl(29, 71%, 40%);
        --text-color: #333333;
        --text-color-light: #4a4a4a;
    }

    /* Hero Section - Video Background Design */
    .hero {
        position: relative;
        overflow: hidden;
        padding-block-start: 120px;
        padding-block-end: var(--section-padding);
        color: white;
        text-align: center;
        min-height: 80vh;
        display: flex;
        align-items: center;
        background: var(--grey-color);
    }

    .hero-video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 0;
        opacity: 0.4;
    }

    .hero-content {
        position: relative;
        z-index: 2;
        max-width: 800px;
        margin: 0 auto;
        padding: 40px;
        background-color: rgba(37, 37, 37, 0.7);
        border-radius: 15px;
        backdrop-filter: blur(5px);
        border: 1px solid var(--gold_50);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        transform: translateY(0);
        transition: transform 0.5s ease, box-shadow 0.5s ease;
    }

    .hero:hover .hero-content {
        transform: translateY(-10px);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    }

    .hero-subtitle {
        font-size: 1.5rem;
        color: var(--gold-light);
        margin-bottom: 15px;
        position: relative;
        display: inline-block;
        animation: fadeInDown 1s ease;
    }

    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('https://images.unsplash.com/photo-1551434678-e076c223a692?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80') center/cover no-repeat;
        opacity: 0.4;
        z-index: 0;
        animation: zoomInOut 20s infinite alternate;
    }

    .hero-subtitle::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 50px;
        height: 2px;
        background: var(--gold);
        animation: expandLine 1.5s ease forwards;
    }

    .hero-title {
        font-size: 3.5rem;
        margin-bottom: 20px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        animation: fadeInUp 1s ease;
    }

        .hero-title i {
            color: var(--gold);
            font-style: normal;
            position: relative;
        }

            .hero-title i::after {
                content: '';
                position: absolute;
                bottom: -5px;
                left: 0;
                width: 100%;
                height: 3px;
                background: var(--gold);
                transform: scaleX(0);
                transform-origin: right;
                animation: underlineExpand 1.5s ease forwards 0.5s;
            }

    .hero-text {
        font-size: 1.2rem;
        line-height: 1.6;
        margin-bottom: 30px;
        opacity: 0;
        animation: fadeIn 1s ease forwards 0.8s;
    }


    /* Keyframes Animations */
    @keyframes fadeInDown {
        from {
            opacity: 0;
            transform: translateY(-30px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    @keyframes underlineExpand {
        from {
            transform: scaleX(0);
        }

        to {
            transform: scaleX(1);
        }
    }

    @keyframes expandLine {
        from {
            width: 0;
        }

        to {
            width: 50px;
        }
    }

    /* Button Animation */
    .btn-gold-hover {
        position: relative;
        overflow: hidden;
        transition: all 0.3s ease;
    }

        .btn-gold-hover::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(254, 200, 0, 0.4), transparent);
            transition: all 0.6s ease;
        }

        .btn-gold-hover:hover::before {
            left: 100%;
        }


    @media (max-width: 640px) {


        .kdn-slide {
            height: 65%;
        }

        .kdn-hero {
            height: 40vh !important; /* 26% من ارتفاع الشاشة */
            min-height: unset !important; /* إلغاء أي min-height سابق */
        }

        .section {
            padding: 20px 0;
        }
    }
    
