*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* Jozoor Font */

@font-face {
    font-family: 'Jozoor Font';
    src: url('../assets/fonts/JozoorFont.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


/* Ara Jozoor Font for paragraphs */

@font-face {
    font-family: 'Ara Jozoor';
    src: url('../assets/fonts/Ara.Jozoor-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    overflow-x: hidden;
}

::selection {
    background: #7D8E95 !important;
    color: #fff !important;
}

body {
    font-family: 'Ara Jozoor', 'Jozoor Font', sans-serif !important;
    line-height: 1.6;
    background: #F6F6F6 !important;

    button {
        background: none;
        border: none;
        cursor: pointer;
    }

    ul,
    ol {
        list-style: none;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    p {
        margin-bottom: 0;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        font-family: 'Jozoor Font', sans-serif !important;
    }

    a {
        text-decoration: none;
        color: inherit;
    }
}

.box {
    border-radius: 20px;
}

.container {
    width: 100%;
    margin-inline: auto;
    padding-inline: 16px;
    /* موبايل */
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    /* علشان RTL */
    width: 50px;
    height: 50px;
    background: #1f2a30;
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
}


/* يظهر لما نعمل scroll */

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}


/* hover */

.scroll-to-top:hover {
    background: #2c3e50;
    transform: translateY(-5px);
}


/* Small devices (≥576px) */

@media (min-width: 576px) {
    .container {
        max-width: 540px;
        padding-inline: 16px;
    }
}


/* Medium devices (≥768px) */

@media (min-width: 768px) {
    .container {
        max-width: 720px;
        padding-inline: 20px;
    }
}


/* Large devices (≥992px) */

@media (min-width: 992px) {
    .container {
        max-width: 960px;
        padding-inline: 24px;
    }
}


/* Extra large devices (≥1200px) */

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}


/* Extra extra large (≥1400px) */

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}


/* navbar */

nav {
    padding-top: 22px;
}

.navbar-g {
    padding: 20px 0;
}

.navbar-left {
    gap: 45px;
}

.nav-links {
    gap: 44px;
}

.header-actions {
    gap: 30px;
}


/* روابط النافبار (nav-links navbar-nav) */

.nav-links .nav-link {
    font-size: 18px;
    font-weight: 400;
    color: #7D8E95;
    /* اللون الطبيعي */
}

.nav-links .nav-link:hover,
.nav-links .nav-link:focus {
    color: #111B22;
    /* عند الوقوف */
}

.nav-links .nav-link.activepg {
    color: #111B22;
    /* الصفحة الحالية */
}

.u-vision-logoimg {
    width: 62px;
    height: 23px;
    object-fit: contain;
}

.lang-options {
    position: relative;
}

.lang-btn {
    text-decoration: none;
    display: none;
    /* الافتراضي مخفي */
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 18px;
    font-weight: 400;
    color: #7D8E95;
    /* نفس لون li الطبيعي */
}

.lang-btn.active-lang {
    display: flex;
    /* يظهر فقط الزر المفعّل */
}

.lang-btn.active-lang:hover,
.lang-btn.active-lang:focus {
    color: #111B22;
}

.talk-btn {
    background: #7D8E95;
    color: #ECF1F5;
    padding: 12px 28px;
    border-radius: 98px;
    font-size: 18px;
    cursor: pointer;
}

.icon-btn {
    color: #7D8E95;
    font-size: 20px;
    cursor: pointer;
    margin-inline-end: 30px;
}


/* إظهار/إخفاء النّافبار حسب حجم الشاشة */

.custom-navbar {
    display: block;
}

.mobile-navbar {
    display: none;
}


/* mobile-navbar */

.mobile-navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* overlay */

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    z-index: 998;
}


/* side menu */

.mobile-side-menu {
    position: fixed;
    top: 0;
    right: -100%;
    /* مخفية تمامًا برا الشاشة */
    width: 280px;
    height: 100vh;
    background: #ffffff;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
}


/* active state */

.mobile-side-menu.active {
    right: 0;
    /* تظهر لما يضغط */
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}


/* close button */

button.menu-toggle {
    font-size: 20px;
    width: 40px;
    height: 40px;
    background: #7d8e95;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.close-menu {
    background: none;
    border: none;
    font-size: 22px;
    align-self: flex-start;
    cursor: pointer;
}


/* menu links */

.mobile-navbar-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.mobile-navbar-links a {
    font-size: 16px;
    color: #111827;
    text-decoration: none;
}

.mobile-navbar-links a.activepg {
    color: #111B22;
    font-weight: 600;
}


/* bottom items */

.language-switch {
    margin-top: auto;
    display: flex;
    gap: 12px;
}


/* Breakpoints: حتى 1000px موبايل، من 1000px وفوق ديسكتوب */

@media (max-width: 999.98px) {
    .custom-navbar {
        display: none;
    }

    .mobile-navbar {
        display: block;
    }
}

@media (min-width: 1000px) {
    .custom-navbar {
        display: block;
    }

    .mobile-navbar {
        display: none;
    }
}


/* blog-section */

.blog-section {
    margin-top: 50px;
}

.blog-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.box {
    display: flex;
    align-items: start;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.blog-doc {
    font-size: 20px;
    font-weight: 400;
    color: #111B22;
}

.blog-title {
    font-size: 62px;
    font-weight: 400;
    color: #111B22;
    line-height: 86.8px;
}

.blog-description {
    font-size: 18px;
    font-weight: 400;
    color: #7D8E95;
}

.blog-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: transparent;
    border: none;
    color: #111B22;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
}

.blog-btn__icon {
    background: #111B220D;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #111827;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.blog-btn i {
    font-size: 14px;
    display: inline-block;
    transform: rotate(220deg);
    will-change: transform, opacity;
    transition: transform 0.5s ease;
}

.blog-btn:hover i {
    font-size: 14px;
    transform: rotate(270deg);
}


/* Desktop */

@media (max-width: 992px) {
    .blog-doc {
        font-size: 18px;
    }

    .blog-title {
        font-size: 10px;
    }

    .blog-description {
        font-size: 16px;
    }

    .blog-btn {
        font-size: 16px;
    }

    .blog-btn__icon {
        width: 40px;
        height: 40px;
    }

    .blog-img {
        max-height: 500px;
        border-radius: 16px;
    }
}

@media (max-width: 768px) {
    .box {
        gap: 18px;
    }

    .blog-doc {
        font-size: 16px;
    }

    .blog-title {
        font-size: 30px;
        line-height: 30px;
    }

    .blog-description {
        font-size: 15px;
        margin-bottom: 0;
    }

    .blog-btn {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .blog-btn__icon {
        width: 30px;
        height: 30px;
    }
}


/* Hero blog-section enhanced animation */

.blog-section {
    position: relative;
}

.blog-section .box {
    position: relative;
    z-index: 1;
}

.blog-img {
    border-radius: 20px;
    animation: heroImageFloat 6s ease-in-out infinite;
    transition: transform 0.4s ease, box-shadow 0.4s ease, filter 0.4s ease;
}


/* Hover animation for hero image (Blog.png) */

.blog-section .box:hover .blog-img {
    animation: none;
    transform: translateY(-8px) scale(1.04) rotate(-1deg);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
    filter: saturate(1.05);
}

@keyframes heroSectionGlow {
    from {
        opacity: 0;
        transform: translateY(40px) scale(1.05);
        filter: blur(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes heroImageFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}


/* me-section */

.me-section {
    margin-top: 100px;
    margin-bottom: 50px;
}

.me-box {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
}

.me-box .fasla-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.me-box .fasla-img {
    margin-bottom: 30px;
}

.me-box .mestar-img img {
    width: 504px;
    height: 328px;
    object-fit: cover;
}

.me-title {
    font-size: 48px;
    font-weight: 400;
    color: #111B22;
    padding-bottom: 20px;
    text-align: center;
}

.me-description {
    font-size: 18px;
    font-weight: 400;
    color: #55676F;
    max-width: 700px;
    text-align: center;
}

@media (max-width: 991.98px) {
    .me-section {
        margin-top: 50px;
        margin-bottom: 50px;
    }

    .me-title {
        font-size: 36px;
    }

    .me-description {
        font-size: 18px;
    }
}

@media (max-width: 767.98px) {
    .me-title {
        font-size: 32px;
    }

    .me-description {
        font-size: 16px;
    }
}


/* services-section */

.services-section {
    margin-top: 50px;
    margin-bottom: 100px;
}

.services-title {
    font-size: 48px;
    font-weight: 400;
    color: #1E2B2E;
    margin-bottom: 50px;
    text-align: center;
}

.services-section .box {
    position: relative;
    overflow: hidden;
    transition: transform 0.5s ease;
}

.services-section .box img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1), filter 0.8s ease;
    will-change: transform;
}


/* cinematic light sweep */

.services-section .box::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.15), transparent 80%);
    opacity: 0;
    transform: translateX(-120%);
    transition: transform 1.2s ease, opacity 0.3s ease;
    pointer-events: none;
}


/* 🔥 HOVER */

.services-section .box:hover img {
    transform: scale(1.12) rotate(0.6deg);
    filter: brightness(1.05) contrast(1.05);
}

.services-section .box:hover::after {
    opacity: 1;
    transform: translateX(120%);
}

.services-content {
    font-size: 20px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.services-section .box:hover {
    transform: translateY(-8px);
    transition: transform 0.5s ease;
}

.services-section .box .services-content p {
    font-size: 18px;
    font-weight: 400;
    color: #1E2B2E;
}

.services-section .box .services-content div {
    width: 37px;
    height: 37px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #7D8E95;
    cursor: pointer;
    color: #FFFFFF;

    i {
        font-size: 16px;
    }
}

.services-btn {
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: transparent;
    border: none;
    color: transparent;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    color: #7D8E95;
    padding-top: 20px;
    margin-left: auto;
    margin-right: auto;
    text-decoration: none;
}


/* إذا كان services-btn رابط */

a.services-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: transparent;
    border: none;
    color: #7D8E95;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    padding-top: 20px;
    margin-left: auto;
    margin-right: auto;
    text-decoration: none;
}

.services-btn-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 1px solid #7D8E95;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;

    i {
        font-size: 14px;
        color: #7D8E95;
        display: inline-block;
        transform: rotate(220deg);
        will-change: transform, opacity;
        transition: transform 0.5s ease;
    }
}

.services-btn:hover i {
    transform: rotate(90deg);
}

.services-card-hidden {
    display: none !important;
    animation: fadeIn 0.5s ease-in-out;
}

.services-card-hidden.show {
    display: block !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991.98px) {
    .services-title {
        font-size: 36px;
        margin-bottom: 30px;
    }

    .services-section .box {
        margin-bottom: 30px;
    }
}

@media (max-width: 767.98px) {
    .services-title {
        font-size: 32px;
        margin-bottom: 20px;
    }
}


/* latest-articles */

.latest-articles {
    padding: 100px 15px;
    background: #111B22;
}

.latest-articles-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 72px;
}

@media (max-width: 768px) {
    .latest-articles-head {
        margin-bottom: 30px;
        margin-top: 30px;
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .latest-articles-head {
        margin-bottom: 30px;
        margin-top: 30px;
        flex-direction: column;
        gap: 20px;
    }
}

.latest-title {
    font-size: 48px;
    font-weight: 400;
    color: #ECF1F5;
    text-align: center;
    margin: 0 auto;
}

.latest-box {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    min-height: 500px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #0a1e3f 0%, #1a3a5c 25%, #0f2a4a 50%, #051829 75%, #020f1f 100%);
    display: block;
    text-decoration: none;
    color: inherit;
}


/* إذا كانت latest-box رابط */

a.latest-box {
    display: block;
    text-decoration: none;
    color: inherit;
}


/* الصورة */

.latest-box img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.latest-box:hover img {
    transform: scale(1.08) rotate(0.6deg);
}


/* glow */




/* المحتوى */

.latest-content {
    position: absolute;
    width: 100%;
    height: 100% !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
    text-align: center;
    padding: 30px;
    background: linear-gradient(360deg, #111B22 0%, rgba(17, 27, 34, 0) 81.29%);
}


/* الجزء السفلي */

.latest-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.header-badge {
    background: #223544B2;
    padding: 8px 16px;
    border-radius: 30px;
    margin-right: auto;
}

.header-badge h2 {
    color: #ECF1F5;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 0;
}


/* التاريخ والتفاصيل السفلية */

.date-box p {
    color: rgba(236, 241, 245, 0.94);
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 0;
    display: flex;
    justify-content: start;
}

.latest-description {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 400;
    display: flex;
    justify-content: start;
}


/* تأثيرات اضافية */

.latest-boxes-btn {
    color: #ECF1F5;
    font-size: 16px;
    font-weight: 400;
    background: transparent;
    border: 1px solid #ECF1F5;
    border-radius: 98px;
    padding: 12px 23px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 991.98px) {
    .latest-articles-head {
        margin-bottom: 30px;

        h3 {
            font-size: 36px;
        }
    }

    .latest-box {
        min-height: 300px;
    }

    .latest-info {
        gap: 5px;
    }

    .latest-info p {
        font-size: 12px;
    }
}

@media (max-width: 767.98px) {
    .latest-articles-head {
        margin-bottom: 20px;

        h3 {
            font-size: 32px;
        }
    }

    .latest-box {
        min-height: 300px;
    }

    .latest-info {
        gap: 5px;
    }

    .latest-info p {
        font-size: 14px;
    }
}


/* subcribe-section */

.subcribe-section {
    padding: 40px 0 0 0;
    margin-bottom: 40px;
    position: relative;
}

.subscribe-card {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    background-image: url("../assets/image/light.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 162px 0px;
    z-index: 0;
}

.subscribe-card::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 3;
    background: #111b22d9;
    inset: 0;
}

.subscribe-content {
    position: relative;
    z-index: 4;
    padding-right: 80px;
}

.subscribe-title {
    font-size: 44px;
    line-height: 140%;
    font-weight: 400;
    margin-bottom: 16px;
    color: #ECF1F5;
}

.subscribe-description {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.9;
    color: #ECF1F5;
    margin-bottom: 28px;
    max-width: 500px;
}

.subscribe-form {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 0;
    width: 100%;
    max-width: 500px;
}

.subscribe-input-wrapper {
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    border-right: none;
    background: #FFFFFF0A;
    padding: 0 24px 0 0;
    height: 52px;
    display: flex;
    align-items: center;
    flex: 1;
}

.subscribe-input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    color: #e5e7eb;
    font-size: 14px;
    font-family: inherit;
}

.subscribe-input::placeholder {
    color: #ECF1F5;
}

.subscribe-input:focus {
    color: #ECF1F5;
}

.subscribe-btn {
    height: 52px;
    padding: 0 28px;
    border-radius: 999px;
    border: none;
    background: #7D8E95;
    color: #f9fafb;
    font-size: 18px;
    font-weight: 400;
    white-space: nowrap;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
    font-family: inherit;
}

.subscribe-btn:hover {
    background: linear-gradient(135deg, #7c8590, #adb3bc);
    transform: translateY(-2px);
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.55);
}

.subscribe-btn:active {
    transform: translateY(0);
}

@media (max-width: 991.98px) {
    .subscribe-card {
        padding: 40px 32px;
        border-radius: 32px;
    }

    .subscribe-title {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .subscribe-description {
        font-size: 14px;
        margin-bottom: 10px;
    }
}

@media (max-width: 767.98px) {
    .subscribe-card {
        padding: 24px 16px;
        border-radius: 24px;
    }

    .subscribe-content {
        text-align: center;
        padding-right: 0;
    }

    .subscribe-title {
        font-size: 20px;
        line-height: 1.5;
    }

    .subscribe-description {
        font-size: 13px;
        line-height: 1.7;
    }

    /* الفورم */
    .subscribe-form {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
        max-width: 100%;
    }

    /* input */
    .subscribe-input-wrapper {
        width: 100%;
        height: 44px;
        border-radius: 999px;
        border-right: 1px solid rgba(148, 163, 184, 0.5);
    }

    .subscribe-input {
        font-size: 13px;
        text-align: center;
    }

    /* الزرار */
    .subscribe-btn {
        width: fit-content;
        height: 44px;
        font-size: 14px;
        border-radius: 999px;
    }
}

.contact-card {
    border-radius: 32px;
    padding: 50px 0 100px 0;
    align-items: stretch;
}

.contact-form-wrapper {
    height: 100%;
    box-shadow: 0px 0px 35px 0px #111B2212;
    padding: 24px;
    background: #F6F6F6;
    border-radius: 24px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-field {
    width: 100%;
}

.contact-row {
    display: flex;
    gap: 12px;
}

.contact-field-label {
    margin-bottom: 12px;
    font-weight: 400;
    font-size: 16px;
    color: #111B22;
}

.contact-input,
.contact-textarea {
    border-radius: 20px;
    background-color: #22354412;
    border: none;
    width: 100%;
    font-family: inherit;
    font-size: 14px;
    color: #111827;
    padding: 12px 20px;
    outline: none;
}

.contact-input::placeholder {
    color: #7D8E95;
    font-size: 14px;
    font-weight: 400;
}

.contact-input-full {
    height: 44px;
}

.contact-textarea {
    border-radius: 20px;
    min-height: 110px;
    resize: none;
}

.contact-textarea::placeholder {
    color: #7D8E95;
    font-size: 14px;
    font-weight: 400;
}

.contact-submit-btn {
    width: 100%;
    height: 48px;
    border-radius: 999px;
    border: none;
    background-color: #7D8E95;
    color: #ECF1F5;
    font-size: 18px;
    font-weight: 400;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-submit-btn:hover {
    background-color: #5d6c75;
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.contact-submit-btn:active {
    transform: translateY(0);
    box-shadow: none;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-title {
    font-size: 44px;
    font-weight: 400;
    color: #111827;
    line-height: 1.4;
    padding-bottom: 15px;
}

.contact-subtitle,
.contact-description {
    font-size: 18px;
    font-weight: 400;
    color: #55676F;
    padding-top: 10px;
}

.contact-details {
    margin-top: 100px;
    list-style: none;
    font-size: 16px;
    color: #55676F;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (max-width: 991.98px) {
    .contact-info {
        margin-top: 30px;
    }

    .contact-details {
        margin-top: 30px;
    }
}

@media (max-width: 767.98px) {
    .contact-info {
        margin-top: 20px;
    }

    .contact-details {
        margin-top: 20px;
    }
}


/* footer-section */

.footer-section {
    background-color: #111B22;
    padding: 100px 0;
}

.footer-content {
    background-color: #182229;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 40px;
    text-align: center;
    border-radius: 32px;
    padding: 60px 0;
}

.footer-content-left {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.footer-content-left-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #7D8E95;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.footer-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    cursor: pointer;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
    list-style: none;
    font-size: 18px;
    color: #F8FAFC;
    flex-wrap: wrap;
    padding: 0 !important;
}

.footer-links li {
    cursor: pointer;
}

.footer-links a {
    color: #F8FAFC;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.8;
}

.footer-copyright {
    font-size: 14px;
    color: #F8FAFC;
    font-weight: 400;
    text-align: center;
}

.footer-logo-img {
    width: 72px;
    height: 29px;
    object-fit: contain;
    cursor: pointer;
}


/* Footer Responsive */

@media (max-width: 991.98px) {
    .footer-section {
        padding: 60px 0;
    }

    .footer-content {
        padding: 40px 20px;
        gap: 30px;
        border-radius: 24px;
    }

    .footer-logo {
        width: 80px;
        height: 80px;
    }

    .footer-links {
        gap: 24px;
        font-size: 16px;
    }

    .footer-copyright {
        font-size: 13px;
    }

    .footer-logo-img {
        width: 60px;
        height: 24px;
    }
}

@media (max-width: 767.98px) {
    .footer-section {
        padding: 40px 0;
    }

    .footer-content {
        padding: 30px 16px;
        gap: 24px;
        border-radius: 20px;
    }

    .footer-logo {
        width: 60px;
        height: 60px;
    }

    .footer-links {
        flex-direction: column;
        gap: 16px;
        font-size: 15px;
    }

    .footer-copyright {
        font-size: 12px;
        line-height: 1.6;
    }

    .footer-logo-img {
        width: 50px;
        height: 20px;
    }
}


/* about-section */

.about-section {
    padding: 80px 0;
}

.about-section .row {
    margin-bottom: 80px;
}

.about-section .row:last-child {
    margin-bottom: 0;
}

.about-box {
    width: 100%;
    overflow: hidden;
    border-radius: 24px;
}

.about-box img {
    width: 100%;
    max-width: 504px;
    height: 328px;
    object-fit: cover;
    border-radius: 24px;
    transition: transform 0.3s ease;
}

.about-box:hover img {
    transform: scale(1.05);
}

@media (max-width: 991.98px) {
    .about-section {
        padding: 60px 0;
    }

    .about-section .row {
        margin-bottom: 60px;
    }

    .about-box img {
        margin-bottom: 20px;
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .about-section {
        padding: 40px 0;
    }

    .about-section .row {
        margin-bottom: 40px;
    }

    .about-box img {
        margin-bottom: 10px;
        height: 250px;
    }
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
}

.about-content .me-title {
    text-align: right;
    margin-bottom: 20px;
}

.about-content .me-description {
    text-align: right;
    max-width: 100%;
    line-height: 1.8;
}

@media (max-width: 991.98px) {
    .about-content {
        align-items: center;
        padding: 10px;
    }

    .about-content .me-title {
        text-align: center;
    }

    .about-content .me-description {
        text-align: center;
    }
}


/* تكبير الخط في الشاشات الكبيرة */

@media (min-width: 1200px) {
    .about-section .me-title {
        font-size: 56px;
    }

    .about-section .me-description {
        font-size: 20px;
    }
}


/* privacy-page */

.privacy-page {
    padding: 120px 15px 80px;
    min-height: calc(100vh - 200px);
    background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
}

.privacy-header {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 30px;
    border-bottom: 2px solid #E2E8F0;
}

.privacy-title {
    font-size: 48px;
    font-weight: 600;
    color: #111B22;
    margin-bottom: 15px;
    line-height: 1.2;
}

.privacy-subtitle {
    font-size: 20px;
    color: #55676F;
    font-weight: 400;
    margin-bottom: 0;
}

.privacy-section {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(17, 27, 34, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.privacy-section:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(17, 27, 34, 0.12);
}

.privacy-section-title {
    font-size: 28px;
    font-weight: 600;
    color: #111B22;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #E2E8F0;
    position: relative;
}

.privacy-section-title::before {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #7D8E95 0%, transparent 100%);
}

.privacy-text {
    font-size: 18px;
    line-height: 1.8;
    color: #55676F;
    margin-bottom: 0;
    text-align: justify;
}

.privacy-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.privacy-list li {
    font-size: 18px;
    line-height: 1.8;
    color: #55676F;
    padding: 12px 0;
    padding-right: 30px;
    position: relative;
    transition: color 0.3s ease;
}

.privacy-list li::before {
    content: '✓';
    position: absolute;
    right: 0;
    top: 12px;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #7D8E95 0%, #55676F 100%);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}

.privacy-list li:hover {
    color: #111B22;
}

.privacy-list li:hover::before {
    background: linear-gradient(135deg, #111B22 0%, #7D8E95 100%);
    transform: scale(1.1);
    transition: transform 0.3s ease;
}


/* Responsive */

@media (max-width: 991.98px) {
    .privacy-page {
        padding: 100px 15px 60px;
    }

    .privacy-title {
        font-size: 36px;
    }

    .privacy-subtitle {
        font-size: 18px;
    }

    .privacy-section {
        padding: 30px;
    }

    .privacy-section-title {
        font-size: 24px;
    }

    .privacy-text,
    .privacy-list li {
        font-size: 16px;
    }
}

@media (max-width: 767.98px) {
    .privacy-page {
        padding: 80px 15px 40px;
    }

    .privacy-header {
        margin-bottom: 40px;
        padding-bottom: 20px;
    }

    .privacy-title {
        font-size: 32px;
    }

    .privacy-subtitle {
        font-size: 16px;
    }

    .privacy-section {
        padding: 24px;
        margin-bottom: 20px;
    }

    .privacy-section-title {
        font-size: 22px;
        margin-bottom: 15px;
        padding-bottom: 12px;
    }

    .privacy-text,
    .privacy-list li {
        font-size: 15px;
        line-height: 1.7;
    }

    .privacy-list li {
        padding-right: 28px;
    }
}


/* citys-section */

.seard-section {
    padding: 100px 15px;
}

.seard-title {
    font-size: 48px;
    font-weight: 400;
    color: #111B22 !important;
}

.seard-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    list-style: none;
    font-size: 16px;
    color: #2c3e50;
    flex-wrap: wrap;
    padding: 0 !important;
    margin: 0 !important;
}

.seard-list li {
    position: relative;
}

.seard-list li a {
    position: relative;
    color: #5a6c7d;
    text-decoration: none;
    transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    letter-spacing: 0.3px;
    display: block;
    padding: 12px 16px;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.seard-list li a:hover {
    color: #2c3e50;
    background: rgba(44, 62, 80, 0.08);
}


/* Active state */

.seard-list li a.active {
    color: white;
    font-weight: 600;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

.seard-list li a.active:hover {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    box-shadow: 0 6px 16px rgba(44, 62, 80, 0.2);
}

.city-card {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.city-card.show {
    animation: fadeInUp 0.6s ease-out forwards;
}

.content-card {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.content-card.show {
    animation: fadeInUp 0.6s ease-out forwards;
}

.content-card-hidden {
    display: none !important;
    animation: fadeInUp 0.6s ease-out forwards;
}

.content-card-hidden.show {
    display: block !important;
}


/* Button styling */

.seard-boxes-btn {
    color: white;
    font-size: 15px;
    font-weight: 600;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border: none;
    border-radius: 50px;
    padding: 14px 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 40px auto 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
}


/* Button hover effect */

.seard-boxes-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.seard-boxes-btn:hover::before {
    left: 100%;
}

.seard-boxes-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(44, 62, 80, 0.25);
}

.seard-boxes-btn:active {
    transform: translateY(0);
}

.seard-boxes-btn i {
    font-size: 16px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 2;
}

.seard-boxes-btn:hover i {
    transform: translateX(-4px);
}


/* Smooth focus state */

.seard-list li a:focus,
.seard-boxes-btn:focus {
    outline: none;
}

.seard-list li a:focus-visible,
.seard-boxes-btn:focus-visible {
    outline: 2px solid #5a6c7d;
    outline-offset: 2px;
}


/* Text selection smooth */

.seard-list li a,
.seard-boxes-btn {
    -webkit-user-select: none;
    user-select: none;
}


/* Responsive */

@media (max-width: 768px) {
    .seard-list {
        gap: 20px;
        font-size: 15px;
    }

    .seard-boxes-btn {
        padding: 12px 28px;
        font-size: 14px;
    }
}


/* City cards hidden animation */

.city-card-hidden {
    display: none !important;
    animation: fadeInUp 0.6s ease-out forwards;
}

.city-card-hidden.show {
    display: block !important;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ============================================
     Book Review Section (singel.html)
     ============================================ */

.book-review-section {
    padding: 120px 15px 80px;
    min-height: calc(100vh - 200px);
    background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
}


/* Book Header */

.book-header {
    margin-bottom: 60px;
    padding: 40px;
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(17, 27, 34, 0.08);
    transition: all 0.3s ease;
}

.book-header:hover {
    box-shadow: 0 8px 30px rgba(17, 27, 34, 0.12);
    transform: translateY(-2px);
}

.book-cover-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(17, 27, 34, 0.15);
    transition: all 0.3s ease;
}

.book-cover-wrapper:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 32px rgba(17, 27, 34, 0.2);
}

.book-cover-img {
    width: 100%;
    height: 500px;
    display: block;
    object-fit: cover;
}

.book-cover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(17, 27, 34, 0.7) 0%, rgba(125, 142, 149, 0.5) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.book-cover-wrapper:hover .book-cover-overlay {
    opacity: 1;
}

.book-cover-overlay i {
    font-size: 48px;
    color: #FFFFFF;
}

.book-info {
    padding: 20px 0;
}

.book-category {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #7D8E95 0%, #55676F 100%);
    color: #FFFFFF;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
}

.book-title {
    font-size: 36px;
    font-weight: 700;
    color: #111B22;
    margin-bottom: 24px;
    line-height: 1.4;
}

.book-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 20px;
}

.book-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #7D8E95;
}

.book-meta i {
    color: #55676F;
    font-size: 16px;
}

.book-rating {
    display: flex;
    align-items: center;
    gap: 12px;
}

.book-rating .stars {
    display: flex;
    gap: 4px;
}

.book-rating .stars i {
    color: #FFB800;
    font-size: 20px;
}

.rating-text {
    font-size: 16px;
    font-weight: 600;
    color: #111B22;
}


/* Book Content */

.book-content-wrapper {
    margin-top: 40px;
}

.book-article {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 4px 20px rgba(17, 27, 34, 0.08);
}

.article-intro .lead-text {
    font-size: 22px;
    line-height: 1.8;
    color: #111B22;
    font-weight: 400;
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #F8FAFC 0%, #FFFFFF 100%);
    border-right: 4px solid #7D8E95;
    border-radius: 12px;
}

.article-image-block {
    margin: 40px 0;
    position: relative;
}

.article-image {
    width: 700px;
    height: 700px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(17, 27, 34, 0.12);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .article-image {
        width: 100%;
        height: 100%;
    }
}

.article-image:hover {
    transform: scale(1.01);
    box-shadow: 0 12px 32px rgba(17, 27, 34, 0.18);
}

.image-caption {
    margin-top: 16px;
    font-size: 14px;
    color: #7D8E95;
    font-style: italic;
    text-align: center;
    padding: 0 20px;
}

.article-text {
    margin: 40px 0;
}

.article-text p {
    font-size: 18px;
    line-height: 1.9;
    color: #2D3748;
    margin-bottom: 24px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: #111B22;
    margin-bottom: 24px;
    padding-bottom: 16px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #7D8E95 0%, transparent 100%);
    border-radius: 2px;
}

.article-conclusion {
    margin-top: 50px;
    padding: 40px;
    background: linear-gradient(135deg, #F8FAFC 0%, #FFFFFF 100%);
    border-radius: 16px;
    border-right: 4px solid #7D8E95;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #E5E7EB;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #F8FAFC;
    color: #55676F;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tag:hover {
    background: #7D8E95;
    color: #FFFFFF;
    transform: translateY(-2px);
}

.tag i {
    font-size: 12px;
}


/* Sidebar */

.book-sidebar {
    position: sticky;
    top: 120px;
}

.sidebar-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(17, 27, 34, 0.08);
    transition: all 0.3s ease;
}

.sidebar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(17, 27, 34, 0.12);
}

.sidebar-title {
    font-size: 22px;
    font-weight: 700;
    color: #111B22;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #E5E7EB;
}


/* Share Buttons */

.share-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    color: #FFFFFF;
}

.share-btn i {
    font-size: 18px;
}

.share-btn.facebook {
    background: linear-gradient(135deg, #1877F2 0%, #0D5FCC 100%);
}

.share-btn.facebook:hover {
    background: linear-gradient(135deg, #0D5FCC 0%, #1877F2 100%);
    transform: translateX(-4px);
}

.share-btn.twitter {
    background: linear-gradient(135deg, #1DA1F2 0%, #0D8BD9 100%);
}

.share-btn.twitter:hover {
    background: linear-gradient(135deg, #0D8BD9 0%, #1DA1F2 100%);
    transform: translateX(-4px);
}

.share-btn.linkedin {
    background: linear-gradient(135deg, #0077B5 0%, #005885 100%);
}

.share-btn.linkedin:hover {
    background: linear-gradient(135deg, #005885 0%, #0077B5 100%);
    transform: translateX(-4px);
}

.share-btn.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #1DA851 100%);
}

.share-btn.whatsapp:hover {
    background: linear-gradient(135deg, #1DA851 0%, #25D366 100%);
    transform: translateX(-4px);
}


/* Related Books */

.related-books {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.related-book-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: #F8FAFC;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.related-book-item:hover {
    background: #E5E7EB;
    transform: translateX(-4px);
}

.related-book-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(17, 27, 34, 0.1);
}

.related-book-info {
    flex: 1;
}

.related-book-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: #111B22;
    margin-bottom: 8px;
}

.related-book-info p {
    font-size: 14px;
    color: #7D8E95;
    margin: 0;
}


/* Author Info */

.author-info {
    text-align: center;
}

.author-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid #E5E7EB;
    box-shadow: 0 4px 12px rgba(17, 27, 34, 0.1);
}

.author-info h4 {
    font-size: 20px;
    font-weight: 700;
    color: #111B22;
    margin-bottom: 12px;
}

.author-info p {
    font-size: 15px;
    line-height: 1.7;
    color: #7D8E95;
    margin: 0;
}


/* Responsive Design */

@media (max-width: 991px) {
    .book-review-section {
        padding: 100px 15px 60px;
    }

    .book-header {
        padding: 30px;
    }

    .book-title {
        font-size: 28px;
    }

    .book-article {
        padding: 40px 30px;
    }

    .article-intro .lead-text {
        font-size: 20px;
        padding: 24px;
    }

    .article-text p {
        font-size: 17px;
    }

    .section-title {
        font-size: 24px;
    }

    .book-sidebar {
        position: static;
        margin-top: 40px;
    }
}

@media (max-width: 767px) {
    .book-review-section {
        padding: 80px 15px 40px;
    }

    .book-header {
        padding: 24px;
        margin-bottom: 40px;
    }

    .book-title {
        font-size: 24px;
    }

    .book-meta {
        flex-direction: column;
        gap: 12px;
    }

    .book-article {
        padding: 30px 20px;
    }

    .article-intro .lead-text {
        font-size: 18px;
        padding: 20px;
    }

    .article-text p {
        font-size: 16px;
    }

    .section-title {
        font-size: 22px;
    }

    .article-image-block {
        margin: 30px 0;
    }

    .sidebar-card {
        padding: 24px;
    }

    .related-book-item {
        flex-direction: column;
        text-align: center;
    }

    .related-book-img {
        width: 100%;
        height: 200px;
    }
}


/* Search Modal Styles */

.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.search-modal.active {
    display: block;
    opacity: 1;
}

.search-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 27, 34, 0.95);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.search-modal-content {
    position: relative;
    max-width: 900px;
    width: 90%;
    margin: 80px auto 0;
    background: #FFFFFF;
    border-radius: 24px;
    padding: 40px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.search-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #E5E7EB;
}

.search-modal-header h3 {
    font-size: 28px;
    font-weight: 700;
    color: #111B22;
    margin: 0;
}

.search-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #7D8E95;
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-modal-close:hover {
    background: #F8FAFC;
    color: #111B22;
    transform: rotate(90deg);
}

.search-input-wrapper {
    position: relative;
    margin-bottom: 30px;
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #7D8E95;
    font-size: 20px;
    z-index: 1;
}

.search-input {
    width: 100%;
    padding: 18px 60px 18px 20px;
    font-size: 18px;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    background: #F8FAFC;
    color: #111B22;
    transition: all 0.3s ease;
    font-family: inherit;
}

.search-input:focus {
    outline: none;
    border-color: #7D8E95;
    background: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(125, 142, 149, 0.1);
}

.search-input::placeholder {
    color: #9CA3AF;
}

.search-results {
    flex: 1;
    overflow-y: auto;
    min-height: 200px;
    max-height: 500px;
}

.search-placeholder {
    text-align: center;
    color: #7D8E95;
    font-size: 16px;
    padding: 40px 20px;
    margin: 0;
}

.search-result-item {
    padding: 20px;
    margin-bottom: 15px;
    background: #F8FAFC;
    border-radius: 12px;
    border-right: 4px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: block;
    color: inherit;
}

.search-result-item:hover {
    background: #FFFFFF;
    border-right-color: #7D8E95;
    transform: translateX(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.search-result-title {
    font-size: 20px;
    font-weight: 700;
    color: #111B22;
    margin-bottom: 8px;
}

.search-result-description {
    font-size: 14px;
    color: #7D8E95;
    line-height: 1.6;
    margin-bottom: 8px;
}

.search-result-meta {
    font-size: 12px;
    color: #9CA3AF;
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-result-category {
    display: inline-block;
    padding: 4px 12px;
    background: #223544;
    color: #ECF1F5;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

.search-no-results {
    text-align: center;
    padding: 60px 20px;
    color: #7D8E95;
}

.search-no-results i {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.search-no-results p {
    font-size: 18px;
    margin: 0;
}


/* Mobile Responsive */

@media (max-width: 768px) {
    .search-modal-content {
        width: 95%;
        margin: 40px auto 0;
        padding: 24px;
        max-height: 85vh;
    }

    .search-modal-header h3 {
        font-size: 22px;
    }

    .search-input {
        font-size: 16px;
        padding: 14px 50px 14px 16px;
    }

    .search-result-item {
        padding: 16px;
    }

    .search-result-title {
        font-size: 18px;
    }
}


/* ============================================
   LOADER - مميز جداً
   ============================================ */

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #111B22 0%, #1f2a30 50%, #111B22 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-container {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Loader Circle Animation */

.loader-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top-color: #7D8E95;
    border-radius: 50%;
    animation: loader-rotate 1.5s linear infinite;
}

.loader-circle:nth-child(2) {
    width: 80%;
    height: 80%;
    border-top-color: #ECF1F5;
    animation-duration: 1.2s;
    animation-direction: reverse;
}

.loader-circle:nth-child(3) {
    width: 60%;
    height: 60%;
    border-top-color: #7D8E95;
    animation-duration: 0.9s;
}


/* Loader Text */

.loader-text {
    position: absolute;
    font-family: 'Jozoor Font', sans-serif;
    font-size: 24px;
    color: #ECF1F5;
    font-weight: 400;
    letter-spacing: 2px;
    animation: loader-pulse 1.5s ease-in-out infinite;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes loader-rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes loader-pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

@keyframes loader-blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}


/* Loader Particles */

.loader-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.loader-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #ECF1F5;
    border-radius: 50%;
    opacity: 0.6;
    animation: particle-float 3s ease-in-out infinite;
}

.loader-particle:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.loader-particle:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 0.5s;
}

.loader-particle:nth-child(3) {
    top: 80%;
    left: 30%;
    animation-delay: 1s;
}

.loader-particle:nth-child(4) {
    top: 30%;
    left: 70%;
    animation-delay: 1.5s;
}

.loader-particle:nth-child(5) {
    top: 70%;
    left: 10%;
    animation-delay: 2s;
}

@keyframes particle-float {

    0%,
    100% {
        transform: translateY(0) translateX(0);
        opacity: 0.6;
    }

    50% {
        transform: translateY(-20px) translateX(10px);
        opacity: 1;
    }
}


/* ============================================
   PAGE TRANSITIONS - انتقالات الصفحات
   ============================================ */

.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #111B22 0%, #1f2a30 100%);
    z-index: 99998;
    transform: translateX(-100%);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.page-transition.active {
    transform: translateX(0);
    pointer-events: all;
}

.page-transition.exit {
    transform: translateX(100%);
}


/* ============================================
   ENHANCED SCROLL ANIMATIONS
   ============================================ */

.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.scroll-reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

.scroll-reveal-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

.scroll-reveal-rotate {
    opacity: 0;
    transform: rotate(-10deg) scale(0.9);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal-rotate.revealed {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}


/* Stagger Animation Delay */

.scroll-reveal-delay-1 {
    transition-delay: 0.1s;
}

.scroll-reveal-delay-2 {
    transition-delay: 0.2s;
}

.scroll-reveal-delay-3 {
    transition-delay: 0.3s;
}

.scroll-reveal-delay-4 {
    transition-delay: 0.4s;
}

.scroll-reveal-delay-5 {
    transition-delay: 0.5s;
}


/* ============================================
   TEXT HOVER EFFECTS - تأثيرات النصوص
   ============================================ */

.text-hover-effect {
    position: relative;
    display: inline-block;
    cursor: pointer;
    transition: color 0.3s ease;
}


/* Effect 1: Underline from Center */

.text-hover-underline {
    position: relative;
    display: inline-block;
}

.text-hover-underline::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 50%;
    width: 0;
    height: 2px;
    background: #111B22;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1), right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.text-hover-underline:hover::after {
    width: 100%;
    right: 0;
}


/* Effect 2: Gradient Text */


/* .text-hover-gradient {
  background: linear-gradient(90deg, #111B22 0%, #7D8E95 50%, #111B22 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: background-position 0.5s ease;
}

.text-hover-gradient:hover {
  background-position: 100% 0;
} */


/* Effect 3: Letter Spacing */

.text-hover-spacing {
    letter-spacing: 0;
    transition: letter-spacing 0.3s ease, color 0.3s ease;
}

.text-hover-spacing:hover {
    letter-spacing: 2px;
}


/* Effect 4: Shake */

.text-hover-shake {
    display: inline-block;
    transition: transform 0.3s ease;
}

.text-hover-shake:hover {
    animation: text-shake 0.5s ease;
}

@keyframes text-shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-3px);
    }

    75% {
        transform: translateX(3px);
    }
}


/* Effect 5: Glow */

.text-hover-glow {
    transition: text-shadow 0.3s ease, color 0.3s ease;
}


/* Effect 6: Scale & Color */

.text-hover-scale {
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
}

.text-hover-scale:hover {
    transform: scale(1.1);
    color: #111B22;
}


/* Effect 7: Split Text */

.text-hover-split {
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.text-hover-split::before,
.text-hover-split::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.text-hover-split::before {
    transform: translateY(0);
    color: #111B22;
}

.text-hover-split::after {
    transform: translateY(100%);
    color: #7D8E95;
}

.text-hover-split:hover::before {
    transform: translateY(-100%);
}

.text-hover-split:hover::after {
    transform: translateY(0);
}


/* Apply hover effects to common elements */

h1,
h2,
h3,
h4,
h5,
h6 {
    transition: color 0.3s ease;
}

.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background: #111B22;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.activepg::after {
    width: 100%;
}


/* Smooth fade-in for page content */

.page-content {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ============================================
   ENHANCED TEXT ANIMATIONS - لمسات على النصوص والعناوين
   ============================================ */


/* Typing Effect for Titles */

@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes blink-cursor {

    from,
    to {
        border-color: transparent;
    }

    50% {
        border-color: #111B22;
    }
}


/* Fade In with Scale for Headings */

h1,
h2,
h3,
h4,
h5,
h6,
.blog-title,
.me-title,
.services-title,
.latest-title,
.seard-title,
.subscribe-title,
.contact-title {
    animation: fadeInScale 0.8s ease-out forwards;
    opacity: 0;
    transition: transform 0.3s ease, text-shadow 0.3s ease, letter-spacing 0.3s ease, color 0.3s ease;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}


/* Stagger delay for multiple headings */

h1:nth-of-type(1) {
    animation-delay: 0.1s;
}

h2:nth-of-type(1) {
    animation-delay: 0.2s;
}

h3:nth-of-type(1) {
    animation-delay: 0.3s;
}

h4:nth-of-type(1) {
    animation-delay: 0.4s;
}


/* Enhanced Text Reveal */

.text-reveal {
    position: relative;
    overflow: hidden;
}

.text-reveal::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #F6F6F6;
    animation: textReveal 1s ease-out forwards;
    z-index: 1;
}

@keyframes textReveal {
    from {
        width: 100%;
    }

    to {
        width: 0;
    }
}


/* Gradient Text Animation */

.gradient-text {
    background: linear-gradient(90deg, #111B22 0%, #7D8E95 50%, #111B22 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}


/* Letter Spacing Animation */

.letter-spacing-anim {
    letter-spacing: 0;
    transition: letter-spacing 0.5s ease;
}

.letter-spacing-anim:hover {
    letter-spacing: 3px;
}


/* Subtle hover touches for headings */

h1:hover,
h2:hover,
h3:hover,
h4:hover,
h5:hover,
h6:hover,
.blog-title:hover,
.me-title:hover,
.services-title:hover,
.seard-title:hover,
.subscribe-title:hover,
.contact-title:hover {
    transform: translateY(-2px);
    text-shadow: 0 6px 18px rgba(17, 27, 34, 0.15);
}


/* Text Glow Effect */

.text-glow {
    transition: text-shadow 0.3s ease;
}

.text-glow:hover {
    text-shadow: 0 0 15px rgba(125, 142, 149, 0.6), 0 0 30px rgba(125, 142, 149, 0.4), 0 0 45px rgba(125, 142, 149, 0.2);
}


/* Slide In from Right (RTL) */

.slide-in-right {
    animation: slideInRight 0.8s ease-out forwards;
    opacity: 0;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* Slide In from Left (RTL) */

.slide-in-left {
    animation: slideInLeft 0.8s ease-out forwards;
    opacity: 0;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* ============================================
   MOBILE OPTIMIZATION FOR TRANSITIONS
   ============================================ */

@media (max-width: 768px) {
    .page-transition {
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .page-transition.active {
        transform: translateX(0);
    }

    .page-transition.exit {
        transform: translateX(100%);
    }

    /* Reduce animation delays on mobile */
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    .blog-title,
    .me-title,
    .services-title,
    .latest-title,
    .seard-title,
    .subscribe-title,
    .contact-title {
        animation-duration: 0.6s;
    }

    h1:nth-of-type(1) {
        animation-delay: 0.05s;
    }

    h2:nth-of-type(1) {
        animation-delay: 0.1s;
    }

    h3:nth-of-type(1) {
        animation-delay: 0.15s;
    }

    h4:nth-of-type(1) {
        animation-delay: 0.2s;
    }
}


/* Ensure transitions work on touch devices */

@media (hover: none) and (pointer: coarse) {
    .page-transition {
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }

    .page-transition.active {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}