@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@100..900&display=swap');

:root {
    --primary: #0047AB;
    --primary-foreground: oklch(0.98 0 0);
    --background: oklch(0.99 0.005 85);
    --foreground: oklch(0.15 0.02 260);
    --muted: oklch(0.96 0.01 85);
    --muted-foreground: oklch(0.5 0.02 260);
    --accent: oklch(0.65 0.2 85);
    --border: oklch(0.91 0.01 260);

    --radius: 0.75rem;
    --secondary: oklch(0.88 0.08 85);
    --secondary-foreground: oklch(0.15 0.02 260);
    --ring: oklch(0.45 0.18 250);


}

html {
    overflow-x: hidden !important;
}

body {
    font-family: "Vazirmatn", sans-serif;
    overflow-x: hidden !important;
}

.site-logo {
    max-width: 160px;
    max-height: 80px;
}

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

.text-primary {
    color: var(--primary);
}

.bg-primary {
    background-color: var(--primary);
}

.text-muted-foreground {
    color: rgb(127 127 140);
}

.bg-muted {
    background-color: rgb(245 245 246);
}

.border {
    border-color: rgb(232 232 235);
}


.perspective-hero {
    perspective: 1200px;
}

.hero-tilt {
    transform-style: preserve-3d;
    transition: transform 0.2s ease-out;
    will-change: transform;
}


.btn {
    position: relative;
    overflow: hidden;
    will-change: transform;
    display: inline-block;

}

.btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.btn:hover::after {
    transform: translateX(0);
}



.btn-primary {
    position: relative;
    overflow: hidden;

    background: linear-gradient(135deg, #1e40af, #2563eb);
    color: #fff;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
    transition: all 0.35s ease;


}

.btn-primary:hover {
    /*transform: translateY(-3px);*/
    /*box-shadow: 0 12px 30px rgba(0, 80, 180, 0.25);*/

    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 6px 15px rgba(0, 80, 180, 0.2);
}

.btn-outline {

    background: transparent;
    border: 2px solid #d1d5db;
    color: #1f2937;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;

}

.btn-outline:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);

    background: #fff;
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
}





.btn-cinematic {
    background: linear-gradient(120deg, #007BFF, var(--primary));
    color: #fff;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease;
}

.btn-cinematic::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.35), transparent 60%);
    top: -100%;
    left: -100%;
    transform: scale(0);
    transition: transform 0.5s ease;
}

.btn-cinematic:hover::before {
    transform: scale(1);
}

.btn-cinematic:hover {
    transform: translateY(-5px);
}

.btn:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.6);
    outline-offset: 3px;
}

/* الأساس */
.menu-item {
    position: relative;
}

/* القائمة الفرعية */
.menu-item>.sub-menu {
    position: absolute;
    top: 100%;
    right: 0;
    /* RTL */
    min-width: 220px;
    background: white;
    border-radius: 0.5rem;
    padding: 0.75rem 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 50;
}

/* عناصر القائمة الفرعية */
.menu-item>.sub-menu li a {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 14px;
    color: #1f2937;
    white-space: nowrap;
}

.menu-item>.sub-menu li a:hover {
    background: #f3f4f6;
    color: var(--primary);
}

/* إظهار القائمة عند hover */
.menu-item-has-children:hover>.sub-menu {
    display: block;
}

.menu-item-has-children>a::after {
    content: "▾";
    font-size: 10px;
    margin-inline-start: 6px;
}

.sub-menu .menu-item-has-children>.sub-menu {
    top: 0;
    right: 100%;
}

.prose table {
    width: 100%;
    border-collapse: collapse;
}

.prose table th,
.prose table td {
    border: 1px solid #e5e7eb;
    padding: 0.75rem;
    text-align: center;
}


.hero-intro {
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: #fff;
}



.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero-divider span {
    display: block;
    width: 60px;
    height: 4px;
    background: #facc15;
    margin: 0 auto 25px;
}

.hero-description {
    font-size: 18px;
    line-height: 1.8;
    opacity: 0.95;
    margin-bottom: 45px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.hero-actions a {
    position: relative;
}

.hero-actions a.btn-outline {
    color: #fff;
}

.hero-actions a.btn-outline:hover {
    color: #2563eb;
}

.hero-scroll {
    display: inline-block;
    margin-top: 50px;
    opacity: 0.8;
    font-size: 14px;
}

.hover\:text-primary:hover {
    color: #2563eb;
}

.my-section {
    position: relative;
    background: #007bff;
    /* لون السكشن الأساسي */
    min-height: 400px;
    overflow: hidden;
}

.wave-container {
    position: absolute;
    bottom: 0;
    width: 100%;
    line-height: 0;
}

.waves {
    position: relative;
    width: 100%;
    height: 15vh;
    min-height: 100px;
    max-height: 150px;
}

/* حركة الأنيميشن */
.parallax>use {
    animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite;
}

.parallax>use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}

.parallax>use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}

.parallax>use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}

.parallax>use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}

@keyframes move-forever {
    0% {
        transform: translate3d(-90px, 0, 0);
    }

    100% {
        transform: translate3d(85px, 0, 0);
    }
}

/* للموبايل: تقليل ارتفاع الموجة */
@media (max-width: 768px) {
    .waves {
        height: 40px;
        min-height: 40px;
    }
}




.from-blue-50 {
    --tw-gradient-from: #C0D4EC var(--tw-gradient-from-position) !important;
    --tw-gradient-to: rgba(192, 212, 236, 0) var(--tw-gradient-to-position) !important;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
}

.via-yellow-50 {
    --tw-gradient-to: rgb(254 252 232 / 0) var(--tw-gradient-to-position) !important;
    --tw-gradient-stops: var(--tw-gradient-from), #D9D5C6 var(--tw-gradient-via-position), var(--tw-gradient-to) !important;
}

.to-white {
    --tw-gradient-to: #fff var(--tw-gradient-to-position) !important;
}

.hover\:bg-primary:hover {
    background: var(--primary);
}

.vc_column_container>.vc_column-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.vc_row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}