/*
Theme Name: Zedny Theme
Author: Ikramy Mohamed
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Arabic&family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@900');

body {
    font-family: 'Noto Sans', 'Noto Sans Arabic', sans-serif;
}

/* Navbar transition */
#mainNavbar {
    transition: all 0.3s ease;
}

.navbar-scrolled {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
    background-color: #0082ED !important;
    border-bottom: 2px solid #276394;
    backdrop-filter: blur(10px);
    padding: 5px 0 !important;
}

.navbar-scrolled .navbar-brand img {
    height: 50px;
}

/* menu */
.navbar-nav .menu-item a {
    color: #fff;
    padding: 10px 15px;
    text-decoration: none;
}



/* إظهار الـ dropdown عند hover */
.navbar .dropdown:hover>.dropdown-menu {
    display: block;
    margin-top: 0;
}

/* تحسين الشكل */
.navbar .dropdown-menu {
    border-radius: 0;
}

/* منع اختفاء القائمة بسرعة */
.dropdown:hover .dropdown-menu {
    display: block;
}


.gradient-bg {
    background: linear-gradient(45deg,
            #00E7FF 0%,
            #0082ED 60%,
            #A814ED 100%);



}


.zedny_clouds {
    width: 100%;
    min-height: 250px;

    background-image: url('images/zedny_clouds.png');
    background-repeat: repeat-x;
    background-size: 50% auto;
    background-position: left bottom;



    animation: cloudsMove 100s linear infinite;
}

@media (max-width: 768px) {
    .zedny_clouds {
        min-height: 70px !important;
    }
}

.rotate_clouds {
    transform: rotate(180deg);
}

@keyframes cloudsMove {
    from {
        background-position: 0 bottom;
    }

    to {
        background-position: 100% bottom;
    }
}

















.hero-parallax {

    width: 50%;
    margin-left: 25%;

    position: relative;


}



/* اللابتوب */
.laptop-wrapper {
    position: relative;

    z-index: 1;
}

.laptop {
    width: 701px;

    max-width: 100%;
    opacity: 0;
    transform: scale(0.8) translateY(50px);
    transition: all 1.2s ease;
}

/* يظهر */
.laptop.show {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* النصوص */
.floating-text {
    position: absolute;
    color: #FFF;
    font-weight: bold;
    opacity: 0;
    font-size: 1.5rem;
    font-family: "Cairo", sans-serif;
    text-direction: rtl;

    font-weight: 900;
    z-index: 3;
    transform: translateY(50px);
    transition: all 1s ease;
}

/* أماكن */
.text1 {
    top: 5%;
    left: 57%;
    rotate: 13deg;
    font-size: 2em;
}



.text2 {
    top: 0%;
    left: 33%;
    font-size: 2.5em;
    rotate: -9deg;
}

.text3 {
    top: 30%;
    left: 15%;
    rotate: -20deg;
}

.text4 {
    top: 49%;
    left: 71%;
    rotate: 15deg;
    font-size: 2em;
    ;
}

.text5 {
    top: 18%;
    left: 65%;
    rotate: 21deg;
    font-size: 1.5em;
}


.text6 {
    top: 44%;
    left: 20%;
    rotate: -18deg;
    font-size: 2.5em;
}

.text7 {
    top: 9%;
    left: 25%;
    font-size: 2.5em;
    rotate: -47deg;
}

.text8 {
    top: 36%;
    left: 77%;
    rotate: 13deg;
    font-size: 2em;
}

.text9 {
    top: 60%;
    left: 17%;
    rotate: -16deg;
    font-size: 1.5em;
}

/* تظهر */
.floating-text.show {
    opacity: .7;
    transform: translateY(0);
}

/* حركة خفيفة */
.floating-text {
    animation: float 4s ease-in-out infinite;
}











@media (max-width: 1500px) {
    .hero-parallax {
        width: 70%;
        margin-left: 15%;
        font-size: .9rem;
    }
}

@media (max-width: 1200px) {
    .hero-parallax {
        width: 80%;
        margin-left: 10%;
        font-size: .9rem;
    }
}

@media (max-width: 992px) {
    .hero-parallax {
        width: 100%;
        margin-left: 0;
        font-size: .7rem;
    }
}

@media (max-width: 768px) {
    .hero-parallax {
        width: 100%;
        margin-left: 0;
        font-size: .65rem;
    }

    .laptop {
        width: 100%;

    }


    .text1 {
        top: 5%;
        left: 57%;

    }



    .text2 {
        top: 0%;
        left: 25%;

    }

    .text3 {
        top: 30%;
        left: 5%;

    }

    .text4 {
        top: 55%;
        left: 76%;


    }

    .text5 {
        top: 18%;
        left: 75%;

    }


    .text6 {
        top: 44%;
        left: 10%;

    }

    .text7 {
        top: 9%;
        left: 15%;

    }

    .text8 {
        top: 36%;
        left: 77%;

    }

    .text9 {
        top: 60%;
        left: 7%;


    }

}














@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}




/* الأيقونات */
.floating-icon {
    position: absolute;
    width: 80px;
    z-index: 1;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .floating-icon {
        width: 50px;
    }


}

/* أماكن */
.icon1 {
    top: 12%;
    left: 45%;
    scale: 1.2;
}

.icon2 {
    top: 60%;
    right: 20%;
}

.icon3 {
    top: 70%;
    left: 20%;
}

/* أنيميشن */
.icon1 {
    animation: floatRotate 6s ease-in-out infinite;
}

.icon2 {
    animation: floatRotate 7s ease-in-out infinite;
}

.icon3 {
    animation: floatRotate 8s ease-in-out infinite;
}


/* الحركة */
@keyframes floatRotate {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(22.5deg);
    }



    75% {
        transform: rotate(-22.5deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.parallax-caption {
    color: #FFF;
    text-align: center;

    /*margin-left: 100px;
    margin-top: 100px;*/
    margin-bottom: 50px;
}

.parallax-caption h1 {
    font-size: 3em;
    font-weight: 900;
}

.parallax-caption h4 {
    font-size: 1.5em;

}

@media (max-width: 768px) {
    .parallax-caption {
        font-size: .8rem;
    }
}

/*


.hero-slider {
    width: 100%;
    height: 100vh;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-button-next,
.swiper-button-prev {
    color: #fff;
}*/










.promo_banner {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    padding: 20px 30px;
    margin-bottom: 20px;
    box-shadow: 0 0 20px #0082ED;
    color: white;
    /*background: linear-gradient(90deg, #ff7a18, #ff3d00);*/
    background: linear-gradient(45deg,

            #A814ED 0%,
            #0082ED 100%);

    /*background: linear-gradient(90deg, #ff7a18, #ff3d00);*/
}

/* الدوائر */
.promo_banner::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 300px;
    height: 300px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: radial-gradient(circle,
            rgba(255, 255, 255, 0.25) 50%,
            rgba(255, 255, 255, 0.15) 60%,
            rgba(255, 255, 255, 0.08) 70%,
            rgba(255, 255, 255, 0.03) 100%,
            transparent 100%);
    animation: pulse 4s infinite ease-in-out;
}

/* دائرة تانية */
.promo_banner::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 300px;
    height: 300px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: radial-gradient(circle,
            rgba(255, 255, 255, 0.2) 0%,
            transparent 100%);
    animation: pulse2 4s infinite ease-in-out;
}

/* Animation */
@keyframes pulse {
    0% {
        transform: translateY(-50%) scale(0.8);
        opacity: 0.6;
    }

    50% {
        transform: translateY(-50%) scale(1.2);
        opacity: 1;
    }

    100% {
        transform: translateY(-50%) scale(0.8);
        opacity: 0.6;
    }
}

@keyframes pulse2 {
    0% {
        transform: translateY(-50%) scale(1);
        opacity: 0.4;
    }

    50% {
        transform: translateY(-50%) scale(1.4);
        opacity: 0.8;
    }

    100% {
        transform: translateY(-50%) scale(1);
        opacity: 0.4;
    }
}

@media (max-width: 768px) {

    .promo_banner {
        text-align: center !important;
    }

    .promo_banner::before,
    .promo_banner::after {
        right: 25%;
        /*transform: translate(-50%, -50%);*/
    }

    .btn-custom {
        z-index: 100;
        position: relative;
    }
}


/* زرار */
.btn-custom {
    border-radius: 50px;
    padding: 10px 25px;
    background: white;
    color: #6f42c1;
    font-weight: 600;
    transition: all 0.3s ease;
    z-index: 2;
}

.btn-custom:hover {
    background: white;
    color: #6f42c1;
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}



.home_purple_title {
    /* Teaching Arabic Language & Islamic Studies for remote education */




    text-align: center;




}

.home_purple_title h2 {
    font-family: 'Noto Sans';
    font-weight: 900;
    font-size: 3rem;
    color: #8F25ED;
}

@media (max-width: 768px) {
    .home_purple_title h2 {
        font-size: 2rem;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Noto Sans';
    font-weight: 900;
    color: #005198;
}












:root {
    --arabic-blue: #005696;
}



.arabic_courses_cnt {

    background: #E0E0E0 url(images/arabic_courses.png) no-repeat left top;
}


.nav-tabs {
    border-bottom: none;
    justify-content: center;
}

.nav-link {
    border: none !important;
    color: var(--arabic-blue);
    text-align: center;
    padding: 1rem 2rem;
    scale: 1;
    transition: all 0.3s ease;
}

.nav-link:hover {
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

.nav-link:hover .icon-circle {
    border-color: 2px solid var(--arabic-blue);
    transition: all 0.3s ease;
}

.nav-link.active {
    color: var(--arabic-blue) !important;
    font-weight: bold;
    background-color: transparent !important;
    scale: 1.2;
    transition: all 0.3s ease;
}

.icon-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 2px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 2rem;
    background-color: white;
    transition: all 0.3s ease;
}

.active .icon-circle {
    background-color: var(--arabic-blue);
    color: white;
    border-color: var(--arabic-blue);
    transition: all 0.3s ease;

}

.active .icon-circle img {
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.course-card {
    border-radius: 15px;
    overflow: hidden;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.book_course_now,
.noor_btn {
    background-color: var(--arabic-blue);
    color: white;

}


.course-card,
.islamic_course_card {
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
}

.course-card:hover,
.islamic_course_card:hover {
    transform: translateY(-15px);
    transition: all 0.3s ease;
}

.course-card img {
    border-bottom: 3px solid var(--arabic-blue);
}

.course-card h5 {
    color: var(--arabic-blue) !important;
}




/*
.islamic_courses_cnt {
    color: #FFF;
    background: url(images/islamic_courses.jpg) no-repeat center top #b127ee;
}*/




.islamic_courses_cnt {
    position: relative;
    z-index: 1;
    color: #FFF;
    background-color: #b127ee;
    /* اللون الأساسي يبقى هنا */
    overflow: hidden;
    /* لضمان عدم خروج الخلفية عن الحدود */
}

.islamic_courses_cnt::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(images/islamic_courses.jpg) no-repeat center top;
    background-size: cover;
    /* اختيارية لجعل الصورة تغطي المساحة */
    z-index: -1;
    /* لجعلها خلف الكلام */
    transition: transform 0.3s ease;
}

/* قلب الخلفية في وضع العربي */
[dir="rtl"] .islamic_courses_cnt::before {
    transform: scaleX(-1);
}




@media (max-width: 768px) {
    .islamic_courses_cnt {
        background-position: left top;
    }
}

.islamic_course_card {
    background-color: transparent !important;
}

.book_islamic_course_now {
    color: #b127ee;

}




.purple-text {
    color: #8F25ED;
}








.pricing {}


/* الكارت */
.pricing-card {
    border-radius: 20px;
    overflow: hidden;
    transition: 0.3s;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* الجزء العلوي */
.card-top {
    padding-top: 35px;
    padding-bottom: 5px;

}

.card-top i {
    font-size: 3.5rem !important;
}

/* الجزء السفلي (السعر) */
.price-box {
    padding: 15px;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.4);
    font-size: 1.5rem;
}


/* ألوان مخصصة أقرب للصورة */
.bg-blue {
    /*background: linear-gradient(135deg, #005198, #0e3c40);*/
    background: #0082ED;
}

.bg-purple {
    /*background: linear-gradient(135deg, #f17c4a, #d85b2c);*/
    background: #8F25ED;
}

.bg-orange {
    /*background: linear-gradient(135deg, #f3b24c, #d9921c);*/
    background: #f26624;
}

/* عنوان رئيسي */
.purple-text {
    color: #6f42c1;
}


.zedny_books_cnt {
    background: #f26624;
}


.book-card img {
    object-fit: cover;
    width: 80%;
}

.book-card h6 {
    font-size: 14px;
}





.zedny_books_cnt .carousel {
    position: relative;
}

.zedny_books_cnt .carousel-control-prev,
.zedny_books_cnt .carousel-control-next {
    width: 50px;

}

.zedny_books_cnt .carousel-control-prev {
    left: -20px;

}

.zedny_books_cnt .carousel-control-next {
    right: -20px;

}

.books_btn {
    color: #f26624;
}



.book-item,
.book-item img {
    transition: 0.3s;
}

.book-item:hover {
    transform: translateY(-6px);
    transition: 0.3s;

}

.book-item:hover img {

    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    transition: 0.3s;
}

.quran_ad_bg {
    background: url(images/quran_ad_bg.png) repeat-x center top;
}

@media (max-width: 768px) {
    .small_center {
        text-align: center;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .quran_ad_bg {
        text-align: center !important;
    }

    .quran_ad_bg a {
        margin: 0 auto !important;

        display: block !important;
    }
}



footer.gradient-bg {
    background: linear-gradient(45deg,
            #00E7FF -15%,
            #0082ED 20%,
            #A814ED 80%);



}

footer a {
    color: #FFF;
    text-decoration: none;
}

footer a:hover {
    color: #FFF;
}

footer .zedny_clouds {
    min-height: 200px;
    ;
}

.social-links a {
    color: #FFF;
    font-size: 2rem;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #FFF;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}



#menu-footer-menu {
    display: flex;
    flex-direction: row;

    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

#menu-footer-menu li {
    display: inline-block;
}

@media (max-width: 768px) {
    #menu-footer-menu {
        flex-direction: column;
    }
}




label {
    font-weight: 900;
    color: #005198;
}

.wpcf7-form-control-wrap label {
    font-weight: normal;
    color: #000;
}

.form-control {
    border-color: #000;
    ;
}






/* --- الألوان الأساسية والمتغيرات --- */
:root {
    --primary-blue: #005198;
    --accent-orange: #ff7900;
    /* درجة برتقالي متناسقة */
    --light-blue: #f0f5fa;
    --white: #ffffff;
}

/* 1. الأزرار العامة (Buttons) */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    background-color: var(--primary-blue) !important;
    color: var(--white) !important;
    border-radius: 5px;
    padding: 12px 25px;
    transition: all 0.3s ease;
}

/* زر "إتمام الطلب" وزر "تحديث السلة" المميّز بالبرتقالي */
.woocommerce a.button.checkout,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
    background-color: var(--accent-orange) !important;
    font-weight: bold;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover {
    background-color: #003d73 !important;
    /* أزرق أغمق عند التمرير */
    opacity: 0.9;
}

/* 2. صفحة الحساب الشخصي (My Account Navigation) */
.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.woocommerce-MyAccount-navigation li {
    border-bottom: 1px solid #e0e0e0;
    margin: 0;
}

.woocommerce-MyAccount-navigation li a {
    padding: 15px 20px;
    display: block;
    color: var(--primary-blue);
    text-decoration: none;
    background: var(--white);
}

.woocommerce-MyAccount-navigation li.is-active设定 a {
    background-color: var(--primary-blue);
    color: var(--white) !important;
}

/* 3. الجداول (Cart & Checkout Tables) */
.woocommerce-cart-form th,
.woocommerce-checkout-review-order-table th {
    background-color: var(--primary-blue);
    color: var(--white) !important;
    text-transform: uppercase;
    font-size: 0.9em;
}

.woocommerce-cart-form table.cart td.actions {
    padding-top: 20px;
}

/* 4. التنبيهات والرسائل (Notices) */
.woocommerce-message {
    border-top-color: var(--primary-blue) !important;
}

.woocommerce-info {
    border-top-color: var(--accent-orange) !important;
}

/* 5. الروابط والنصوص المساعدة */
.woocommerce-MyAccount-content a,
.woocommerce-cart .product-name a {
    color: var(--primary-blue);
    font-weight: 600;
}

.woocommerce-MyAccount-content a:hover {
    color: var(--accent-orange);
}


input[type="text"],
input[type="email"],
input[type="tel"],input[type="number"],
textarea, .form-select, input[type="date"], input[type="datetime-local"] {
   border-color:#999;
    padding: 10px !important;
    border-radius: 4px !important;
}

input[type="text"]:focus {
    border-color: var(--primary-blue) !important;
    outline: none;
}

.navbar-nav .lang-item a {
    background: #f26624;
    color: #fff;
    border-radius: 5px;
}

.zedny_benefits img {
    max-width: 50%;
}


a.whatsapp_books {
	
}

/*


.wpcf7-form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1.5px solid rgb(0, 81, 152); 
    border-radius: 8px; 
    background-color: #fff;
    transition: all 0.3s ease;
    font-family: inherit;
    box-sizing: border-box;
}


.wpcf7-form-control:focus {
    outline: none;
    border-color: rgb(0, 81, 152);
    box-shadow: 0 0 8px rgba(0, 81, 152, 0.2);
    background-color: #f9fbff;
}



.wpcf7-response-output {
    margin: 20px 0 !important;
    padding: 15px !important;
    border-radius: 8px !important;
    border: 2px solid transparent !important;
    font-weight: 500;
    text-align: center;
}


.wpcf7-mail-sent-ok {
    background-color: #d4edda !important;
    color: #155724 !important;
    border-color: #c3e6cb !important;
}


.wpcf7-validation-errors, 
.wpcf7-acceptance-missing,
.wpcf7-aborted {
    background-color: #f8d7da !important;
    color: #721c24 !important;
    border-color: #f5c6cb !important;
}


.wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 0.9em;
    margin-top: 5px;
    font-weight: bold;
}*/


