﻿

/*@font-face {
    font-family: "ArslanWessam";
    src: url("~/assets/fonts/Arslan-Wessam-B.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}*/

.font-arslan {
    font-family: "F(A) Arslan Wessam B"!important;
    /* كل الـ features الذكية اللي بتخلي الخط تحفة */
    font-feature-settings: "liga" 1, "dlig" 1, "calt" 1, "kern" 1;
    -webkit-font-feature-settings: "liga" 1, "dlig" 1, "calt" 1, "kern" 1;
    text-rendering: optimizeLegibility;
    letter-spacing: 0.05em; /* أحسن من 0.3px - بيدي نتيجة أدق */
    word-spacing: 1px;
    /* اختياري: لو عايز تزود جمال الخط أكتر */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.hero-section {
    min-height: 92vh;
    position: relative;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index:0;
}

    .hero-bg img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.45) 50%, rgba(0,0,0,0.25) 100%);
    z-index: 0;
}

/* الهيدنج */
.hero-section h1 {
    font-size: 4.2rem !important;
    letter-spacing: -1px;
}

.hero-section .text-success {
    color: #b0e44f !important; /* نفس اللون الأخضر الفاتح في الصورة */
}

/* الباراجراف */
.hero-section p {
    font-size: 16px !important;
    line-height: 1.8;
    opacity: 0.9;
}

/* الزر الأخضر الممتلئ */
.hero-btn-primary {
    background: #87c508 !important;
    border: 2px solid #87c508 !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(135,197,8,0.4);
    transition: all 0.3s ease;
}

    .hero-btn-primary:hover {
        background: #74a806 !important;
        border-color: #74a806 !important;
        transform: translateY(-3px);
    }

/* الزر الأخضر الشفاف */
.hero-btn-outline {
    background: transparent !important;
    border: 2px solid #b0e44f !important;
    color: #b0e44f !important;
    transition: all 0.3s ease;
}

    .hero-btn-outline:hover {
        background: #b0e44f !important;
        color: #111 !important;
        border-color: #b0e44f !important;
    }


/* الشاشات الأكبر من 1200px */
@media (min-width: 1200px) {
    .hero-section {
        min-height: 85vh;
    }
}

/* ريسبونسيف */
@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 3.2rem !important;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2.6rem !important;
    }

    .hero-btn-primary,
    .hero-btn-outline {
        padding: 12px 30px !important;
        font-size: 0.95rem;
    }
}

/*Tastimonials*/
@keyframes slide-infinite {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
    /* لازم تكرر العناصر عشان يكمل اللوب */
}

.animate-slide-infinite {
    animation: slide-infinite 40s linear infinite;
}

.testimonials-section .card {
    position: relative;
}

    .testimonials-section .card:before {
        content: "";
        position: absolute;
        top: 20px;
        left: 20px;
        font-size: 80px;
        color: rgba(13, 148, 136, 0.1);
        font-family: Georgia, serif;
        line-height: 1;
    }

/* section */
.nav-section {
    background: #f8f9fa;
}

/* card */
.nav-card {
    display: block;
    border-radius: 20px;
    overflow: hidden;
    height: 260px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
}

    .nav-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 45px rgba(0,0,0,0.18);
    }

/* inner */
.nav-card-inner {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* overlay (hidden by default) */
.nav-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( to top, rgba(0,0,0,0.75), rgba(0,0,0,0.35), rgba(0,0,0,0.05) );
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* show overlay on hover */
.nav-card:hover .nav-card-overlay {
    opacity: 1;
}

/* title */
.nav-card-title {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
    text-shadow: 0 4px 15px rgba(0,0,0,0.7);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 2;
    text-align: center;
    width: 100%;
}

/* title animation */
.nav-card:hover .nav-card-title {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
