﻿/**
* Template Name: Gp
* Updated: Sep 18 2023 with Bootstrap v5.3.2
* Template URL: https://bootstrapmade.com/gp-free-multipurpose-html-bootstrap-template/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
    font-family: 'Arial', sans-serif;
    color: #333;
    background: linear-gradient(135deg, #00bcd4, #00bcd4); /* تدرج لوني هادئ */
    margin: 0;
    padding: 0;
    animation: backgroundColorChange 10s infinite alternate;
}

a {
    color: #ffc451;
    text-decoration: none;
}

    a:hover {
        color: #ffd584;
        text-decoration: none;
    }

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Raleway", sans-serif;
}




/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 996;
    background: #ffc451;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.4s;
}

    .back-to-top i {
        font-size: 28px;
        color: #151515;
        line-height: 0;
    }

    .back-to-top:hover {
        background: #151515;
    }

        .back-to-top:hover i {
            color: #ffc451;
        }

    .back-to-top.active {
        visibility: visible;
        opacity: 1;
    }

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    overflow: hidden;
    background: #151515;
}

    #preloader:before {
        content: "";
        position: fixed;
        top: calc(50% - 0px);
        left: calc(50% - 30px);
        border: 6px solid #ffc451;
        border-top-color: #151515;
        border-bottom-color: #151515;
        border-radius: 50%;
        width: 60px;
        height: 60px;
        animation: animate-preloader 1s linear infinite;
    }

@keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }

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

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
    [data-aos-delay] {
        transition-delay: 0 !important;
    }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
    transition: all 0.5s;
    z-index: 997;
    padding: 15px 0;
}

    #header.header-scrolled,
    #header.header-inner-pages {
        background: rgba(0, 0, 0, 0.8);
    }

    #header .logo {
        font-size: 32px;
        margin: 0;
        padding: 0;
        line-height: 1;
        font-weight: 700;
        letter-spacing: 2px;
        text-transform: uppercase;
    }

        #header .logo a {
            color: #fff;
        }

            #header .logo a span {
                color: #ffc451;
            }

        #header .logo img {
            max-height: 40px;
        }

/*--------------------------------------------------------------
#  Get Startet Button
--------------------------------------------------------------*/
.get-started-btn {
    color: #fff;
    border-radius: 4px;
    padding: 7px 25px 8px 25px;
    white-space: nowrap;
    transition: 0.3s;
    font-size: 14px;
    display: inline-block;
    border: 2px solid #ffc451;
}

    .get-started-btn:hover {
        background: #ffbb38;
        color: #343a40;
    }


/* تحسين أزرار التقديم */
.btn-primary {
    background: #00bfae; /* لون جذاب */
    border: none;
    color: #fff;
    padding: 12px 25px;
    border-radius: 12px;
    font-weight: bold;
    font-size: 1.2rem;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

    .btn-primary::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 300%;
        height: 300%;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        transition: all 0.3s ease;
        transform: translate(-50%, -50%) scale(0);
    }

    .btn-primary:hover::before {
        transform: translate(-50%, -50%) scale(1);
    }

    .btn-primary:hover {
        background: #009688; /* لون أغمق عند التحويم */
        transform: translateY(-5px);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    }







@media (max-width: 992px) {
    .get-started-btn {
        padding: 7px 20px 8px 20px;
        margin-right: 15px;
    }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
    padding: 0;
}

    .navbar ul {
        margin: 0;
        padding: 0;
        display: flex;
        list-style: none;
        align-items: center;
    }

    .navbar li {
        position: relative;
    }

    .navbar a,
    .navbar a:focus {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 0 10px 30px;
        font-size: 15px;
        font-weight: 600;
        color: #fff;
        white-space: nowrap;
        transition: 0.3s;
    }

        .navbar a i,
        .navbar a:focus i {
            font-size: 12px;
            line-height: 0;
            margin-left: 5px;
        }

        .navbar a:hover,
        .navbar .active,
        .navbar .active:focus,
        .navbar li:hover > a {
            color: #ffc451;
        }

    .navbar .dropdown ul {
        display: block;
        position: absolute;
        left: 14px;
        top: calc(100% + 30px);
        margin: 0;
        padding: 10px 0;
        z-index: 99;
        opacity: 0;
        visibility: hidden;
        background: #fff;
        box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
        transition: 0.3s;
    }

        .navbar .dropdown ul li {
            min-width: 200px;
        }

        .navbar .dropdown ul a {
            padding: 10px 20px;
            font-size: 14px;
            text-transform: none;
            color: #151515;
            font-weight: 400;
        }

            .navbar .dropdown ul a i {
                font-size: 12px;
            }

            .navbar .dropdown ul a:hover,
            .navbar .dropdown ul .active:hover,
            .navbar .dropdown ul li:hover > a {
                background-color: #ffc451;
            }

    .navbar .dropdown:hover > ul {
        opacity: 1;
        top: 100%;
        visibility: visible;
    }

    .navbar .dropdown .dropdown ul {
        top: 0;
        left: calc(100% - 30px);
        visibility: hidden;
    }

    .navbar .dropdown .dropdown:hover > ul {
        opacity: 1;
        top: 0;
        left: 100%;
        visibility: visible;
    }

@media (max-width: 1366px) {
    .navbar .dropdown .dropdown ul {
        left: -90%;
    }

    .navbar .dropdown .dropdown:hover > ul {
        left: -100%;
    }
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    display: none;
    line-height: 0;
    transition: 0.5s;
}

@media (max-width: 991px) {
    .mobile-nav-toggle {
        display: block;
    }

    .navbar ul {
        display: none;
    }
}

.navbar-mobile {
    position: fixed;
    overflow: hidden;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    transition: 0.3s;
    z-index: 999;
}

    .navbar-mobile .mobile-nav-toggle {
        position: absolute;
        top: 15px;
        right: 15px;
    }

    .navbar-mobile ul {
        display: block;
        position: absolute;
        top: 55px;
        right: 15px;
        bottom: 15px;
        left: 15px;
        padding: 10px 0;
        background-color: #fff;
        overflow-y: auto;
        transition: 0.3s;
    }

    .navbar-mobile a,
    .navbar-mobile a:focus {
        padding: 10px 20px;
        font-size: 15px;
        color: #151515;
    }

        .navbar-mobile a:hover,
        .navbar-mobile .active,
        .navbar-mobile li:hover > a {
            color: #151515;
            background-color: #ffc451;
        }

    .navbar-mobile .getstarted,
    .navbar-mobile .getstarted:focus {
        margin: 15px;
    }

    .navbar-mobile .dropdown ul {
        position: static;
        display: none;
        margin: 10px 20px;
        padding: 10px 0;
        z-index: 99;
        opacity: 1;
        visibility: visible;
        background: #fff;
        box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
    }

        .navbar-mobile .dropdown ul li {
            min-width: 200px;
        }

        .navbar-mobile .dropdown ul a {
            padding: 10px 20px;
            color: #151515;
        }

            .navbar-mobile .dropdown ul a i {
                font-size: 12px;
            }

            .navbar-mobile .dropdown ul a:hover,
            .navbar-mobile .dropdown ul .active:hover,
            .navbar-mobile .dropdown ul li:hover > a {
                background-color: #ffc451;
            }

    .navbar-mobile .dropdown > .dropdown-active {
        display: block;
    }

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
    width: 100%;
    height: 100vh;
    background: url("../img/333.jpg") center center/cover no-repeat;
    position: relative;
    overflow: hidden; /* لضمان عدم تجاوز العناصر */
    perspective: 1200px; /* تحسين تأثير 3D */
    border-radius: 20px; /* الانحناءات على الصورة الخلفية */
}
/* قسم Hero */
#hero {
    padding: 50px 0;
    text-align: center;
    color: #fff;
}


    #hero img {
        width: 200px; /* تحديد حجم اللوغو الجديد */
        height: 200px; /* تأكد من أن الارتفاع يساوي العرض للحفاظ على الشكل الدائري */
        border-radius: 50%; /* جعل اللوغو دائرياً */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* تأثير الظل للوغو */
        transform: rotateX(0deg) rotateY(0deg);
        transition: transform 0.5s ease, box-shadow 0.5s ease;
        object-fit: contain; /* تأكد من أن الصورة تغطي المساحة المحددة بشكل مناسب */
    }

        #hero img:hover {
            transform: scale(1.05) rotateX(0deg) rotateY(0deg); /* تأثير تحجيم خفيف */
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        }

    #hero:before {
        content: "";
        background: rgba(0, 0, 0, 0.6);
        position: absolute;
        bottom: 0;
        top: 0;
        left: 0;
        right: 0;
        transition: background 0.3s ease; /* تأثير التلاشي للخلفية */
        border-radius: 20px; /* الانحناءات على طبقة الظل */
    }

    #hero .container {
        position: relative;
        padding-top: 74px;
        text-align: center;
        z-index: 1; /* التأكد من ظهور النصوص فوق الخلفية */
    }
    

        #hero img:hover {
            transform: rotateX(15deg) rotateY(15deg); /* تأثير 3D على اللوغو عند التمرير */
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.7); /* تأثير الظل عند التمرير */
        }


    #hero h1 {
        margin: 0;
        font-size: 56px;
        font-weight: 700;
        line-height: 64px;
        color: #fff;
        font-family: "Poppins", sans-serif;
        text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7); /* تأثير الظل للنصوص */
        transform: translateZ(0); /* إضافة تأثير 3D */
        transition: transform 0.3s ease, color 0.3s ease; /* تأثير التحجيم */
    }

        #hero h1 span {
            color: #ffc451;
            text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7); /* تأثير الظل */
        }

    #hero h2 {
        color: rgba(255, 255, 255, 0.9);
        margin: 10px 0 0 0;
        font-size: 24px;
        text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); /* تأثير الظل للنصوص */
    }

    #hero .icon-box {
        padding: 30px 20px;
        transition: ease-in-out 0.3s;
        border: 1px solid rgba(255, 255, 255, 0.3);
        height: 100%;
        text-align: center;
        transform: rotateY(0); /* تأثير 3D خفيف */
        perspective: 1000px; /* إضافة عمق ثلاثي الأبعاد */
    }

        #hero .icon-box i {
            font-size: 32px;
            line-height: 1;
            color: #ffc451;
            transition: transform 0.3s ease;
        }

        #hero .icon-box h3 {
            font-weight: 700;
            margin: 10px 0 0 0;
            padding: 0;
            line-height: 1;
            font-size: 20px;
            line-height: 26px;
        }

            #hero .icon-box h3 a {
                color: #fff;
                transition: color 0.3s ease;
            }

                #hero .icon-box h3 a:hover {
                    color: #ffc451;
                }

        #hero .icon-box:hover {
            border-color: #ffc451;
            transform: scale(1.05) rotateX(5deg) rotateY(5deg); /* تأثير التحجيم والتدوير عند التمرير */
        }

            #hero .icon-box:hover i {
                transform: rotateY(360deg); /* تأثير التدوير على الأيقونات عند التمرير */
            }
    /* تعديل حجم الشعار (اللوغو) */
    #hero .logo {
        width: 200px;
        height: 200px;
        border-radius: 50%;
        background-color: white;
        padding: 10px;
        animation: logoGlowPulse 3s ease-in-out infinite, logoFlash 10s infinite;
        transition: transform 0.3s ease;
        object-fit: contain;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* تقدر تحذفها لو تضارب ويا الجديد */
    }
    

        /* تأثير تكبير عند التحويم */
        #hero .logo:hover {
            transform: translate(-50%, -50%) scale(1.1); /* تكبير اللوغو عند التحويم */
        }

    /* تحسين النصوص تحت الشعار */
    #hero .logo-text {
        font-size: 14px; /* حجم النص الأساسي */
        line-height: 1.2; /* تقليل تباعد الأسطر */
        padding: 10px; /* إضافة حشوة لضمان وجود مساحة كافية للنص */
        text-align: center; /* محاذاة النص في المنتصف */
    }

/* لجعل اللوغو متجاوباً */
@media (max-width: 768px) {
    #hero .logo {
        width: 150px; /* حجم اللوغو في الأجهزة الصغيرة */
        height: 150px; /* تأكد من الحفاظ على الشكل الدائري */
    }
}


@media (min-width: 1024px) {
    #hero {
        background-attachment: fixed;
    }
}

@media (max-width: 768px) {
    #hero {
        height: auto;
    }

        #hero h1 {
            font-size: 28px;
            line-height: 36px;
        }

        #hero h2 {
            font-size: 20px;
            line-height: 24px;
        }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
    padding: 60px 0;
    overflow: hidden;
}

.section-title {
    padding-bottom: 40px;
}

    .section-title h2 {
        font-size: 14px;
        font-weight: 500;
        padding: 0;
        line-height: 1px;
        margin: 0 0 5px 0;
        letter-spacing: 2px;
        text-transform: uppercase;
        color: #aaaaaa;
        font-family: "Poppins", sans-serif;
    }

        .section-title h2::after {
            content: "";
            width: 120px;
            height: 1px;
            display: inline-block;
            background: #ffde9e;
            margin: 4px 10px;
        }

    .section-title p {
        margin: 0;
        margin: 0;
        font-size: 36px;
        font-weight: 700;
        text-transform: uppercase;
        font-family: "Poppins", sans-serif;
        color: #151515;
    }

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about .content h3 {
    font-weight: 700;
    font-size: 28px;
    font-family: "Poppins", sans-serif;
}

.about .content ul {
    list-style: none;
    padding: 0;
}

    .about .content ul li {
        padding: 0 0 8px 26px;
        position: relative;
    }

    .about .content ul i {
        position: absolute;
        font-size: 20px;
        left: 0;
        top: -3px;
        color: #ffc451;
    }

.about .content p:last-child {
    margin-bottom: 0;
}


/* تحديث البطاقة العامة */
.content-card {
    background-color: #00bcd4; /* لون البطاقة العامة */
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    transition: all 0.3s ease;
}

/* تحديث الكروت مع تأثير بروز 3D */
.card {
    background-color: #00bcd4; /* لون خلفية الكروت */
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* بروز أكبر */
    flex: 1 1 calc(33% - 20px); /* عرض الكروت */
    margin: 10px;
    transition: all 0.3s ease;
    transform: perspective(1000px) translateZ(0); /* عدم الميلان */
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .card:hover {
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3); /* بروز أقوى عند التحويم */
        transform: perspective(1000px) scale(1.05) translateZ(20px); /* بروز للأمام بدون ميلان */
    }

    /* تحسين النصوص داخل البطاقة */
    .card h1 {
        color: #2c3e50; /* لون احترافي من درجات الأزرق الداكن */
        font-family: 'Poppins', sans-serif; /* نوع خط عصري وأنيق */
        font-weight: 700; /* جعل الخط عريضًا */
        font-size: 3rem; /* تكبير حجم الخط */
        letter-spacing: 1.5px; /* مسافة بين الأحرف لإضفاء مظهر مميز */
        text-transform: uppercase; /* جعل النص بأحرف كبيرة */
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1); /* ظل خفيف لإبراز النص */
        margin-bottom: 15px; /* زيادة المسافة السفلية */
        transition: color 0.3s ease; /* تأثير انتقال عند تغيير اللون */
    }

        .card h1:hover {
            color: #e74c3c; /* تغيير اللون عند التمرير عليه لإضفاء تفاعل */
        }

    .card p {
        color: #fff;
        font-size: 1.5rem;
    }

/* تحسين التخطيط على الشاشات الصغيرة */
@media (max-width: 768px) {
    .card {
        flex: 1 1 calc(100% - 20px); /* عرض الكروت 100% */
        margin: 10px 0; /* تقليل الهوامش الرأسية */
    }

        .card h1 {
            font-size: 2rem; /* تقليل حجم الخط */
        }

        .card p {
            font-size: 1.2rem; /* تقليل حجم نص الفقرات */
        }
}


/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
    background: black;
    padding: 0 0 30px 0;
    color: #fff;
    font-size: 14px;
}

    #footer .footer-top {
        background: #151515;
        border-bottom: 1px solid #222222;
        padding: 60px 0 30px 0;
    }

        #footer .footer-top .footer-info {
            margin-bottom: 30px;
        }

            #footer .footer-top .footer-info h3 {
                font-size: 28px;
                margin: 0 0 20px 0;
                padding: 2px 0 2px 0;
                line-height: 1;
                font-weight: 700;
                text-transform: uppercase;
            }

                #footer .footer-top .footer-info h3 span {
                    color: #ffc451;
                }

            #footer .footer-top .footer-info p {
                font-size: 14px;
                line-height: 24px;
                margin-bottom: 0;
                font-family: "Raleway", sans-serif;
                color: #fff;
            }

        #footer .footer-top .social-links a {
            font-size: 18px;
            display: inline-block;
            background: #292929;
            color: #fff;
            line-height: 1;
            padding: 8px 0;
            margin-right: 4px;
            border-radius: 4px;
            text-align: center;
            width: 36px;
            height: 36px;
            transition: 0.3s;
        }

            #footer .footer-top .social-links a:hover {
                background: #ffc451;
                color: #151515;
                text-decoration: none;
            }

        #footer .footer-top h4 {
            font-size: 16px;
            font-weight: 600;
            color: #fff;
            position: relative;
            padding-bottom: 12px;
        }

        #footer .footer-top .footer-links {
            margin-bottom: 30px;
        }

            #footer .footer-top .footer-links ul {
                list-style: none;
                padding: 0;
                margin: 0;
            }

                #footer .footer-top .footer-links ul i {
                    padding-right: 2px;
                    color: #ffc451;
                    font-size: 18px;
                    line-height: 1;
                }

                #footer .footer-top .footer-links ul li {
                    padding: 10px 0;
                    display: flex;
                    align-items: center;
                }

                    #footer .footer-top .footer-links ul li:first-child {
                        padding-top: 0;
                    }

                #footer .footer-top .footer-links ul a {
                    color: #fff;
                    transition: 0.3s;
                    display: inline-block;
                    line-height: 1;
                }

                    #footer .footer-top .footer-links ul a:hover {
                        color: #ffc451;
                    }

        #footer .footer-top .footer-newsletter form {
            margin-top: 30px;
            background: #fff;
            padding: 6px 10px;
            position: relative;
            border-radius: 4px;
        }

            #footer .footer-top .footer-newsletter form input[type=email] {
                border: 0;
                padding: 4px;
                width: calc(100% - 110px);
            }

            #footer .footer-top .footer-newsletter form input[type=submit] {
                position: absolute;
                top: 0;
                right: -2px;
                bottom: 0;
                border: 0;
                background: none;
                font-size: 16px;
                padding: 0 20px;
                background: #ffc451;
                color: #151515;
                transition: 0.3s;
                border-radius: 0 4px 4px 0;
            }

                #footer .footer-top .footer-newsletter form input[type=submit]:hover {
                    background: #ffcd6b;
                }

    #footer .copyright {
        text-align: center;
        padding-top: 30px;
    }

    #footer .credits {
        padding-top: 10px;
        text-align: center;
        font-size: 13px;
        color: #fff;
    }
@keyframes logoGlowPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 200, 0, 0.5), 0 0 40px rgba(255, 200, 0, 0.3), 0 0 60px rgba(255, 200, 0, 0.1);
    }

    50% {
        box-shadow: 0 0 30px rgba(255, 255, 0, 0.9), 0 0 60px rgba(255, 255, 0, 0.5), 0 0 90px rgba(255, 255, 0, 0.2);
    }
}

@keyframes logoFlash {
    0%, 98%, 100% {
        filter: brightness(1);
    }

    99% {
        filter: brightness(1.5);
    }
}
