/* ===================================
    About
====================================== */

/*
    Theme Name: MegaOne
    Theme URI:
    Author: Themes Industry
    Author URI:
    Description: One Page Parallax Template
    Tags: one page, multipurpose, parallax, creative, html5
 */

/* ===================================
    Google font
====================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;1,200&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400&display=swap');

.main-font{font-family: 'Montserrat', sans-serif;}
.alt-font{font-family: 'Roboto', sans-serif;}

/* ===================================
    General
====================================== */

body {font-family: 'Roboto', sans-serif; font-size: 18px;color: #464646;font-weight:300;line-height:25px;width: 100%; overflow-x: hidden}
.h1, .h2, .h3, .h4, .h5, h1, h2, h3, h4, h5 {line-height: 1.2; font-weight: bold; font-family: 'Roboto', sans-serif, sans-serif;}
.h1, h1 { font-size: 72px;}
.h2, h2 { font-size: 48px;}
.h3, h3 { font-size: 36px;}
.h4, h4 { font-size: 24px;}
a, input, button {transition: ease-in-out 0.2s;-webkit-transition: ease-in-out 0.2s;-moz-transition: ease-in-out 0.2s;-ms-transition: ease-in-out 0.2s;-o-transition: ease-in-out 0.2s;}
section,.section-padding {position: relative;overflow: hidden;}
a {color:inherit;text-decoration: none;}
.btn.focus, .btn:focus{-webkit-box-shadow: none;box-shadow: none;}
p:last-child{margin-bottom: 0 !important; font-family: 'Roboto', sans-serif;}
.fa, .far, .fas{display: inline;}
a:active, a:hover{color: #ed2d34;}
li{list-style: none;text-decoration: none;}
.hidden{display: none;}
section{padding: 0;}

/* overlay */
.bg-overlay{position: absolute;top: 0;left: 0;width: 100%;height: 100%;}

/* opacity */
.opacity-8{opacity: .8;}

/*font-weight*/
.font-weight-300{font-weight: 300;}
.font-weight-500{font-weight: 500;}
.font-weight-600{font-weight: 600;}
.font-weight-700{font-weight: 700;}

/* button */
.btn {-webkit-appearance: initial; overflow: hidden;position: -webkit-sticky;position: sticky; z-index: 2; display:inline-block; font-size: 16px; border:2px solid transparent; letter-spacing: .5px; line-height: inherit; border-radius: 0; text-transform:capitalize; width: auto;font-family: 'Roboto', sans-serif; font-weight: bold; -webkit-transition: all .5s ease;-o-transition: all .5s ease !important;transition: all .5s ease !important;}
/* Transparent button */
.btn.btn-trans {background: transparent; border-color: #464646; color: #464646}
.btn.btn-trans:hover {background: #ed2d34 !important; border-color: #ed2d34; color: #ffffff !important}

/* button size */
.btn.btn-medium {font-size:16px; padding: 10px 48px; line-height: 1.8em}
.btn.btn-rounded {border-radius: 50px;}

/* Text color */
.main-color {color: #ed2d34;}
.text-grey {color: #464646;}
.text-black {color: #000000;}


.margin-top {margin-top: 30px;}
.margin-bottom {margin-bottom: 30px;}

/* Social Icons Background */
.twitter-bg-hvr:hover{background:#1DA1F2 !important;color: #fff !important;border: 1px solid #1DA1F2 !important;}
.instagram-bg-hvr:hover{background:#C32AA3 !important;color: #fff !important;border: 1px solid #C32AA3 !important;}
.tiktok-bg-hvr:hover{background:#000 !important;color: #fff !important;border: 1px solid #000 !important;}
.snapchat-bg-hvr:hover{background:#fffc00 !important;color: #fff !important;border: 1px solid #fffc00 !important;}

/* ===================================
   Banner
====================================== */

.slider-area{
    background-image: url("../images/banner.jpg");
    height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    width: 95%;
    margin-left: 5%;
}

.slider-area h1 {
    font-size: 58px;
    line-height: 1.2;
}

.slider-area p {
    font-size: 18px;
    font-weight: normal;
}

.slider-area{
    align-items: center;
    display: flex;
    position: relative;
}

.slider-copyright {
    font-family: 'Roboto', sans-serif;
    font-weight: normal;
    font-size: 18px;
    position: absolute;
    bottom: 15px;
    z-index: 1111;
    width: 100%;
    text-align: center;
    padding: 0 15px;
    box-sizing: border-box;
}

.slider-social a {
    justify-content: center;
    height: 40px;
    line-height: 38px;
    width: 40px;
    position: relative;
    overflow: hidden;
    align-items: center;
    display: flex;
    text-align: center;
    border-radius: 50px;
    color: #000000;
    font-size: 16px;
    margin: 2px;
    border: 1px solid transparent;
    -webkit-transition: background-color .2s ease-in-out;
    -moz-transition: background-color .2s ease-in-out;
    -o-transition: background-color .2s ease-in-out;
    transition: background-color .2s ease-in-out;
}

/* ===================================
   Loader
====================================== */

.loader-bg {
    position: fixed;
    z-index: 99999;
    background-color: #ffffff;
    width: 100%;
    height: 100%;
}

#container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

#container {
    width: 200px;
    height: 200px;
}

@keyframes animation {
    0% {
        stroke-dasharray: 1,98;
        stroke-dashoffset: -105;
    }
    50% {
        stroke-dasharray: 80,10;
        stroke-dashoffset: -160;
    }
    100% {
        stroke-dasharray: 1,98;
        stroke-dashoffset: -300;
    }
}

#spinner {
    transform-origin: center;
    animation-name: animation;
    animation-duration: 1.2s;
    animation-timing-function: cubic-bezier(1.0, 0.4, 0.4, 1.0);
    animation-iteration-count: infinite;
}

/* ===================================
   Media Queries
====================================== */

@media (max-width: 1200px) and (min-width: 992px) {
    .h1, h1 {font-size: 60px;}
    .slider-area h1 {
        font-size: 54px;
    }
    .btn.btn-medium {
        padding: 10px 42px;
    }
}

@media screen and (max-width: 991px) and (min-width: 768px){
    .h1, h1 {font-size: 58px;}
    .h3, h3 {font-size: 32px;}
    p {font-size: 14px;}
    .slider-area h1 {
        font-size: 42px;
    }
    .slider-area p {
        font-size: 16px;
    }
}

@media screen and (max-width: 767px) {
    body {text-align: center;overflow-y: hidden!important;}
    section {padding: 5rem 0;}
    .h1, h1 {font-size: 36px;}
    .h2, h2 {font-size: 36px;}
    .h3, h3 {font-size: 24px;}
    p {font-size: 14px;line-height: 20px;}
    .slider-area {width: 100%; margin-left: 0;}
    .slider-area h1 {
        font-size: 36px;
    }
    .slider-area p {
        font-size: 14px;
    }
    .slider-area {
        background-position: 25% center;
    }
}

@media (max-width: 575.98px) {
    .h1, h1 {
        font-size: 30px;
    }
    p {
        font-size: 12px;
        line-height: 18px;
    }
    .btn.btn-medium {
        font-size: 12px;
    }
    .slider-area h1 {
        font-size: 32px;
    }
    .slider-area p {
        font-size: 12px;
    }
}

.center-box {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* تنسيق الأزرار مع الأيقونات */
.buttons-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.buttons-container .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 25px;
    margin: 0 5px;
}

.buttons-container .btn i {
    font-size: 18px;
}

/* تحسين التنسيق للشاشات الصغيرة */
@media (max-width: 767px) {
    .buttons-container {
        flex-direction: column;
        align-items: center;
    }
    
    .buttons-container .btn {
        width: 200px;
        justify-content: center;
    }
}

/* ألوان مخصصة للأزرار */
.buttons-container .btn:nth-child(1) {
    border-color: #ed2d34;
    color: #ed2d34;
}

.buttons-container .btn:nth-child(1):hover {
    background: #ed2d34 !important;
    color: #ffffff !important;
}

.buttons-container .btn:nth-child(2) {
    border-color: #25D366;
    color: #25D366;
}

.buttons-container .btn:nth-child(2):hover {
    background: #25D366 !important;
    color: #ffffff !important;
}

.buttons-container .btn:nth-child(3) {
    border-color: #4285F4;
    color: #4285F4;
}

.buttons-container .btn:nth-child(3):hover {
    background: #4285F4 !important;
    color: #ffffff !important;
}

/* تنسيق قسم وسائل التواصل الاجتماعي */
.social-section {
    padding: 20px 0;
    margin-bottom: 60px; /* زيادة المسافة */}

.social-section p {
    font-size: 16px;
    margin-bottom: 20px !important;
}

.social-section .slider-social {
    display: inline-block;
}

.social-section .slider-social ul li {
    display: inline-block;
}

.social-section .slider-social a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 45px;
    width: 45px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid #464646;
    color: #464646;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-section .slider-social a:hover {
    transform: translateY(-3px);
    color: #ffffff !important;
}

/* تحسين التنسيق للشاشات الصغيرة */
@media (max-width: 767px) {
    .social-section .slider-social a {
        height: 40px;
        width: 40px;
        font-size: 16px;
                margin-bottom: 80px;

        
    }
    
    .social-section .slider-social ul li {
        margin: 0 8px;
                margin-bottom: 50px;

    }
}

/* تنسيق صورة الشعار في البانر */
.banner-image {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.banner-image img {
    width: 100%;
    height: auto;
    max-width: 300px;
    object-fit: contain;
}

/* تحسينات للشاشات المتوسطة (تابلت) */
@media (max-width: 991px) and (min-width: 768px) {
    .banner-image img {
        max-width: 250px;
            margin-top: 50PX;

    }
    
    .center-box {
        padding: 20px 0;
    }
}

/* تحسينات للشاشات الصغيرة (جوال) */
@media (max-width: 767px) {
    .banner-image {
        max-width: 280px;
        margin-bottom: 20px;
                    margin-top: 50PX;
    }
    
    .banner-image img {
        max-width: 200px;
    }
    
    .center-box {
        padding: 15px 0;
    }
    
    .col-12.text-center h1 {
        font-size: 28px !important;
        line-height: 1.4;
        margin-bottom: 15px;
    }
    
    .col-12.text-center p {
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 20px;
    }
}

/* تحسينات إضافية للشاشات الصغيرة جداً */
@media (max-width: 480px) {
    .banner-image img {
        max-width: 180px;
    }
    
    .col-12.text-center h1 {
        font-size: 24px !important;
    }
    
    .col-12.text-center p {
        font-size: 14px;
    }
}

/* تحسين تأثير parallax للجوال */
@media (max-width: 767px) {
    .banner-image[data-depth] {
        transform: none !important;
    }
}

/* تحسينات للتابلت */
@media (max-width: 991px) and (min-width: 768px) {
    .slider-area {
        width: 100%;
        margin-left: 0;
        height: 80vh;
    }
}

/* تحسينات للجوال */
@media (max-width: 767px) {
    .slider-area {
        width: 100%;
        margin-left: 0;
        height: 100vh;
        background-size: cover;
        background-attachment: scroll;
    }
}

/* تحسينات للشاشات الصغيرة جداً */
@media (max-width: 480px) {
    .slider-area {
        height: 100vh;
        min-height: 600px;
        background-position: 30% center;
    }
}

/* تحسينات للشاشات الكبيرة جداً */
@media (min-width: 1400px) {
    .slider-area {
        width: 95%;
        margin-left: 5%;
        background-size: cover;
        background-position: center center;
    }
    
    .banner-image img {
        max-width: 350px;
    }
}

/* تحسينات للوضع الأفقي في الجوال */
@media (max-height: 500px) and (max-width: 767px) {
    .slider-area {
        height: 100vh;
        min-height: 500px;
    }
}

/* تحسينات للتابلت */
@media (max-width: 991px) and (min-width: 768px) {
    .slider-copyright {
        font-size: 16px;
        bottom: 12px;
        padding: 0 20px;
                margin-bottom: 30px;

    }
    
    .slider-copyright a {
        display: inline-block;
        margin-top: 20px;
        
    }
}

/* تحسينات للجوال */
@media (max-width: 767px) {
    .slider-copyright {
        font-size: 12px;
        bottom: 10px;
        padding: 0 15px;
        line-height: 1.4;
    }
    
    .slider-copyright p {
        margin-bottom: 5px;
    }
    
    .slider-copyright a {
        display: block;
        font-size: 11px;
        margin-top: 3px;
    }
    
    .slider-copyright img {
        width: 20px !important;
        height: auto;
    }
}

/* تحسينات للشاشات الصغيرة جداً */
@media (max-width: 480px) {
    .slider-copyright {
        font-size: 11px;
        bottom: 8px;
        padding: 0 10px;
    }
    
    .slider-copyright a {
        font-size: 10px;
    }
    
    .slider-copyright img {
        width: 18px !important;
    }
}

/* تحسينات للشاشات الكبيرة */
@media (min-width: 1200px) {
    .slider-copyright {
        font-size: 16px;
        bottom: 20px;
    }
}

/* تحسينات للشاشات الكبيرة جداً */
@media (min-width: 1400px) {
    .slider-copyright {
        font-size: 18px;
        bottom: 25px;
    }
}

/* تحسينات للوضع الأفقي في الجوال */
@media (max-height: 500px) and (max-width: 767px) {
    .slider-copyright {
        bottom: 5px;
        font-size: 10px;
    }
}