/**
* Template Name: NewBiz
* Template URL: https://bootstrapmade.com/newbiz-bootstrap-business-template/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
    --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --heading-font: "Raleway", sans-serif;
    --nav-font: "Poppins", sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
    --background-color: #ffffff; /* Background color for the entire website, including individual sections */
    --default-color: #444444; /* Default color used for the majority of the text content across the entire website */
    --heading-color: #283d50; /* Color for headings, subheadings and title throughout the website */
    --accent-color: #007bff; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
    --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
    --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
    --primary-color: #116af8;
  --secondary-color: #b2000c;

    --nav-color: #024286; /* The default color of the main navmenu links */
    --nav-hover-color: #007bff; /* Applied to main navmenu links when they are hovered over or active */
    --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
    --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
    --nav-dropdown-color: #444444; /* Used for navigation links of the dropdown items in the navigation menu. */
    --nav-dropdown-hover-color: #007bff; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
    --background-color: #ecf5ff;
    --surface-color: #ffffff;
}

.dark-background {
    --background-color: #1742a4;
    --default-color: #ffffff;
    --heading-color: #ffffff;
    --surface-color: #0d358f;
    --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
    scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
    color: var(--default-color);
    background-color: var(--background-color);
    font-family: var(--default-font);
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: 0.3s;
}

    a:hover {
        color: color-mix(in srgb, var(--accent-color), transparent 25%);
        text-decoration: none;
    }

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading-color);
    font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
    display: none;
    background: #df1529;
    color: #ffffff;
    text-align: left;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.php-email-form .sent-message {
    display: none;
    color: #ffffff;
    background: #059652;
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}


/* Pulsating Play Button
------------------------------*/
.pulsating-play-btn {
    width: 94px;
    height: 94px;
    background: radial-gradient(var(--accent-color) 50%, color-mix(in srgb, var(--accent-color), transparent 75%) 52%);
    border-radius: 50%;
    display: block;
    position: relative;
    overflow: hidden;
}

    .pulsating-play-btn:before {
        content: "";
        position: absolute;
        width: 120px;
        height: 120px;
        animation-delay: 0s;
        animation: pulsate-play-btn 2s;
        animation-direction: forwards;
        animation-iteration-count: infinite;
        animation-timing-function: steps;
        opacity: 1;
        border-radius: 50%;
        border: 5px solid color-mix(in srgb, var(--accent-color), transparent 30%);
        top: -15%;
        left: -15%;
        background: rgba(198, 16, 0, 0);
    }

    .pulsating-play-btn:after {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translateX(-40%) translateY(-50%);
        width: 0;
        height: 0;
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        border-left: 15px solid #fff;
        z-index: 100;
        transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
    }

    .pulsating-play-btn:hover:before {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translateX(-40%) translateY(-50%);
        width: 0;
        height: 0;
        border: none;
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        border-left: 15px solid #fff;
        z-index: 200;
        animation: none;
        border-radius: 0;
    }

    .pulsating-play-btn:hover:after {
        border-left: 15px solid var(--accent-color);
        transform: scale(20);
    }

@keyframes pulsate-play-btn {
    0% {
        transform: scale(0.6, 0.6);
        opacity: 1;
    }

    100% {
        transform: scale(1, 1);
        opacity: 0;
    }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header, #header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 999;
    background: #fff; /* تأكد إنه ورا المحتوى */
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
body {
    padding-top: 80px; /* نفس ارتفاع الهيدر */
  }

.header .container-fluid, #header .container-fluid {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 70px !important;
}

.header .container-fluid .logo, #header .container-fluid .logo {
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
}

.header .container-fluid .navmenu, #header .container-fluid .navmenu {
    flex-shrink: 0 !important;
}

.header .container-fluid .mobile-nav-toggle, #header .container-fluid .mobile-nav-toggle {
    flex-shrink: 0 !important;
}

/* تم دمج هذه القواعد في القواعد الأساسية أعلاه */

/* تم دمج قواعد الـ navmenu في القواعد الأساسية */

/* تم دمج قواعد الـ logo في القواعد الأساسية */

/* تم حذف القواعد المكررة */

/* تم حذف القواعد المكررة */

/* تم حذف القواعد المكررة */

/* تم حذف القواعد المكررة */

/* تم حذف القواعد المكررة */

/* تم حذف القواعد المكررة */

.scrolled .header, .scrolled #header {
    box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Base Styles */
.navmenu {
    padding: 0;
    display: none;
}

/* إخفاء القائمة في الموبايل افتراضياً */
@media (max-width: 1199px) {
    .navmenu {
        display: none !important;
    }
}

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

    .navmenu li {
        position: relative;
        list-style: none;
    }

    .navmenu a,
    .navmenu a:focus {
        color: var(--nav-color) !important;
        padding: 18px 15px;
        font-size: 16px;
        font-family: var(--nav-font);
        font-weight: 400;
        display: flex;
        align-items: center;
        justify-content: space-between;
        white-space: nowrap;
        transition: 0.3s;
        text-decoration: none;
    }

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

    .navmenu li:last-child a {
        padding-right: 0;
    }

    .navmenu li:hover > a,
    .navmenu .active,
    .navmenu .active:focus {
        color: var(--nav-hover-color) !important;
    }

/* Navmenu - Desktop */
@media (min-width: 1200px) {
    .navmenu {
        padding: 0;
        display: block !important;
    }
    
    .navmenu ul {
        display: flex;
        list-style: none;
        align-items: center;
        margin: 0;
        padding: 0;
    }
    
    .mobile-nav-toggle {
        display: none;
    }

        .navmenu .dropdown ul {
            margin: 0;
            padding: 10px 0;
            background: var(--nav-dropdown-background-color);
            display: block;
            position: absolute;
            visibility: hidden;
            left: 14px;
            top: 130%;
            opacity: 0;
            transition: 0.3s;
            border-radius: 4px;
            z-index: 99;
            box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
        }

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

            .navmenu .dropdown ul a {
                padding: 10px 20px;
                font-size: 15px;
                text-transform: none;
                color: var(--nav-dropdown-color) !important;
            }

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

                .navmenu .dropdown ul a:hover,
                .navmenu .dropdown ul .active:hover,
                .navmenu .dropdown ul li:hover > a {
                    color: var(--nav-dropdown-hover-color) !important;
                }

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

        .navmenu .dropdown .dropdown ul {
            top: 0;
            left: -90%;
            visibility: hidden;
        }

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

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
    display: block;
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
    .mobile-nav-toggle {
        color: var(--nav-color);
        font-size: 28px;
        line-height: 0;
        margin-right: 10px;
        cursor: pointer;
        transition: color 0.3s;
        display: block;
    }

    .navmenu {
        padding: 0;
        z-index: 9997;
        display: block;
    }

        .navmenu ul {
            display: none;
            list-style: none;
            position: absolute;
            inset: 60px 20px 20px 20px;
            padding: 10px 0;
            margin: 0;
            border-radius: 6px;
            background-color: var(--nav-mobile-background-color);
            overflow-y: auto;
            transition: 0.3s;
            z-index: 9998;
            box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
        }

        .navmenu a,
        .navmenu a:focus {
            color: var(--nav-dropdown-color) !important;
            padding: 10px 20px;
            font-family: var(--nav-font);
            font-size: 17px;
            font-weight: 500;
            display: flex;
            align-items: center;
            justify-content: space-between;
            white-space: nowrap;
            transition: 0.3s;
        }

            .navmenu a i,
            .navmenu a:focus i {
                font-size: 12px;
                line-height: 0;
                margin-left: 5px;
                width: 30px;
                height: 30px;
                display: flex;
                align-items: center;
                justify-content: center;
                border-radius: 50%;
                transition: 0.3s;
                background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
            }

                .navmenu a i:hover,
                .navmenu a:focus i:hover {
                    background-color: var(--accent-color);
                    color: var(--contrast-color);
                }

            .navmenu a:hover,
            .navmenu .active,
            .navmenu .active:focus {
                color: var(--nav-dropdown-hover-color) !important;
            }

                .navmenu .active i,
                .navmenu .active:focus i {
                    background-color: var(--accent-color);
                    color: var(--contrast-color);
                    transform: rotate(180deg);
                }

        .navmenu .dropdown ul {
            position: static;
            display: none;
            z-index: 99;
            padding: 10px 0;
            margin: 10px 20px;
            background-color: var(--nav-dropdown-background-color);
            border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
            box-shadow: none;
            transition: all 0.5s ease-in-out;
        }

            .navmenu .dropdown ul ul {
                background-color: rgba(33, 37, 41, 0.1);
            }

        .navmenu .dropdown > .dropdown-active {
            display: block;
            background-color: rgba(33, 37, 41, 0.03);
        }

    .mobile-nav-active {
        overflow: hidden;
    }

        .mobile-nav-active .mobile-nav-toggle {
            color: #fff;
            position: absolute;
            font-size: 32px;
            top: 15px;
            right: 15px;
            margin-right: 0;
            z-index: 9999;
        }

        .mobile-nav-active .navmenu {
            position: fixed;
            overflow: hidden;
            inset: 0;
            background: rgba(33, 37, 41, 0.8);
            transition: 0.3s;
            display: block;
        }

            .mobile-nav-active .navmenu > ul {
                display: block;
            }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
    color: var(--default-color);
    background-color: var(--background-color);
    font-size: 14px;
    position: relative;
}

    .footer .footer-top {
        padding-top: 50px;
        border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    }

    .footer .footer-about .logo {
        line-height: 1;
        margin-bottom: 25px;
    }

        .footer .footer-about .logo img {
            max-height: 40px;
            margin-right: 6px;
        }

        .footer .footer-about .logo span {
            font-size: 26px;
            font-weight: 700;
            letter-spacing: 1px;
            font-family: var(--heading-font);
            color: var(--heading-color);
        }

    .footer .footer-about p {
        font-size: 14px;
        font-family: var(--heading-font);
    }

    .footer .social-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
        font-size: 16px;
        color: color-mix(in srgb, var(--default-color), transparent 30%);
        margin-right: 10px;
        transition: 0.3s;
    }

        .footer .social-links a:hover {
            color: var(--accent-color);
            border-color: var(--accent-color);
        }

    .footer h4 {
        font-size: 16px;
        font-weight: bold;
        position: relative;
        padding-bottom: 12px;
    }

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

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

            .footer .footer-links ul i {
                padding-right: 2px;
                font-size: 12px;
                line-height: 0;
            }

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

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

            .footer .footer-links ul a {
                color: color-mix(in srgb, var(--default-color), transparent 30%);
                display: inline-block;
                line-height: 1;
            }

                .footer .footer-links ul a:hover {
                    color: var(--accent-color);
                }

    .footer .footer-contact p {
        margin-bottom: 5px;
    }

    .footer .footer-newsletter .newsletter-form {
        margin-top: 30px;
        margin-bottom: 15px;
        padding: 6px 8px;
        position: relative;
        border-radius: 4px;
        border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
        display: flex;
        background-color: var(--background-color);
        transition: 0.3s;
    }

        .footer .footer-newsletter .newsletter-form:focus-within {
            border-color: var(--accent-color);
        }

        .footer .footer-newsletter .newsletter-form input[type=email] {
            border: 0;
            padding: 4px;
            width: 100%;
            background-color: var(--background-color);
            color: var(--default-color);
        }

            .footer .footer-newsletter .newsletter-form input[type=email]:focus-visible {
                outline: none;
            }

        .footer .footer-newsletter .newsletter-form input[type=submit] {
            border: 0;
            font-size: 16px;
            padding: 0 20px;
            margin: -7px -8px -7px 0;
            background: var(--accent-color);
            color: var(--contrast-color);
            transition: 0.3s;
            border-radius: 0 4px 4px 0;
        }

            .footer .footer-newsletter .newsletter-form input[type=submit]:hover {
                background: color-mix(in srgb, var(--accent-color), transparent 20%);
            }

    .footer .copyright {
        padding: 25px 0;
        border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    }

        .footer .copyright p {
            margin-bottom: 0;
        }

    .footer .credits {
        margin-top: 6px;
        font-size: 13px;
    }

        .footer .credits a {
            color: color-mix(in srgb, var(--default-color), transparent 30%);
        }

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--background-color);
    transition: all 0.6s ease-out;
  }
  
  /* صورة اللوجو */
  #preloader img {
    width: 160px;   /* حجم متوازن */
    height: auto;
    opacity: 0;
    transform: scale(0.5);
    animation: zoomIn 0.8s ease-out forwards;
  }
  
  /* Animation */
  @keyframes zoomIn {
    0%   { opacity: 0; transform: scale(0.5); }
    70%  { opacity: 1; transform: scale(1.5); } /* يكبر شوية */
    100% { opacity: 1; transform: scale(1); }   /* يرجع لحجمه الطبيعي */
  }
  
  
  

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: -15px;
    z-index: 99999;
    background-color: var(--accent-color);
    width: 44px;
    height: 44px;
    border-radius: 50px;
    transition: all 0.4s;
}

    .scroll-top i {
        font-size: 24px;
        color: var(--contrast-color);
        line-height: 0;
    }

    .scroll-top:hover {
        background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
        color: var(--contrast-color);
    }

    .scroll-top.active {
        visibility: visible;
        opacity: 1;
        bottom: 15px;
    }

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

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 25px 0;
    position: relative;
}

    .page-title h1 {
        font-size: 24px;
        font-weight: 700;
    }

    .page-title .breadcrumbs a {
        color: color-mix(in srgb, var(--default-color), transparent 30%);
    }

    .page-title .breadcrumbs ol {
        display: flex;
        flex-wrap: wrap;
        list-style: none;
        padding: 0;
        margin: 0;
        font-size: 14px;
        font-weight: 400;
    }

        .page-title .breadcrumbs ol li + li {
            padding-left: 10px;
        }

            .page-title .breadcrumbs ol li + li::before {
                content: "/";
                display: inline-block;
                padding-right: 10px;
                color: color-mix(in srgb, var(--default-color), transparent 70%);
            }

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 60px 0;
    scroll-margin-top: 90px;
    overflow: clip;
}

@media (max-width: 1199px) {

    section,
    .section {
        scroll-margin-top: 58px;
    }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
    text-align: center;
    padding-bottom: 60px;
    position: relative;
}

    .section-title h2 {
        font-size: 32px;
        font-weight: 700;
        margin-bottom: 15px;
    }

    .section-title p {
        margin-bottom: 0;
    }

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
    background: url("/assets/img/company.jpg") center center / cover no-repeat;
    position: relative;
    overflow: hidden;
    margin-top: -50px;
    height: 100vh; /* خلي الـ hero كله نفس الطول */
  }
  
  #hero .carousel-inner,
  #hero .carousel-item,
  #hero .carousel-item img {
    height: 100vh; /* كلهم نفس الارتفاع */
    width: 100%;
    object-fit: cover; /* عشان يمنع التكرار أو التمدد */
  }
  
  
  /* Overlay Layer (light) */
  #hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0); /* شفاف فاتح مش معتم */
    z-index: 1;
  }
  
  /* Content Styling */
  .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: 20px;

    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    color: #fff;
  }
  
  .hero-title {
    font-size: 54px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
  }
  
  .hero-text {
    font-size: 22px;
    font-weight: 400;
    line-height: 1.6;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  }
  
  /* Mobile Responsive */
/* Mobile adjustments */
@media (max-width: 768px) {
    #hero {
      height: 70vh;           /* shorter hero on mobile */
      min-height: 400px;
    }
  
    .hero-title {
      font-size: 28px;        /* smaller title */
      line-height: 1.3;
      margin-bottom: 10px;
    }
  
    .hero-text {
      font-size: 14px;        /* smaller subtitle */
      line-height: 1.4;
    }
  
    .hero-content {
      padding: 0 15px;        /* tighter spacing */
    }
  }
  
  
  #hero .carousel-inner img {
    width: 100%;
    height: 100vh;        /* يغطي كل الشاشة */
    object-fit: cover;     /* يخلي الصورة متمددة كويس */
    object-position: center;
  }
  
  

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h3 {
    font-size: 2rem;
    font-weight: 700;
}

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

    .about .content ul li {
        display: flex;
        align-items: flex-start;
        margin-top: 40px;
    }

    .about .content ul i {
        flex-shrink: 0;
        font-size: 48px;
        color: var(--accent-color);
        margin-right: 20px;
        line-height: 0;
    }

    .about .content ul h5 {
        font-size: 18px;
        font-weight: 700;
    }

    .about .content ul p {
        font-size: 15px;
    }

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

.about .pulsating-play-btn {
    position: absolute;
    left: calc(50% - 47px);
    top: calc(50% - 47px);
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features .features-item {
    color: color-mix(in srgb, var(--default-color), transparent 20%);
}

    .features .features-item + .features-item {
        margin-top: 100px;
    }

@media (max-width: 640px) {
    .features .features-item + .features-item {
        margin-top: 40px;
    }
}

.features .features-item h3 {
    font-weight: 700;
    font-size: 26px;
}

.features .features-item ul {
    list-style: none;
    padding: 0;
}

    .features .features-item ul li {
        padding-bottom: 10px;
        display: flex;
        align-items: center;
    }

        .features .features-item ul li:last-child {
            padding-bottom: 0;
        }

    .features .features-item ul i {
        font-size: 20px;
        padding-right: 4px;
        color: var(--accent-color);
    }

.features .features-item p:last-child {
    margin-bottom: 0;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
    background-color: var(--surface-color);
    box-shadow: 0 5px 30px 0 rgba(0, 0, 0, 0.1);
    padding: 60px 30px 60px 70px;
    transition: all ease-in-out 0.3s;
    border-radius: 18px;
    height: 100%;
    position: relative;
    overflow: hidden;
}

    .services .service-item .icon {
        position: absolute;
        left: -20px;
        top: calc(50% - 30px);
    }

        .services .service-item .icon i {
            font-size: 64px;
            line-height: 1;
            transition: 0.5s;
        }

    .services .service-item h3 {
        font-weight: 700;
        margin: 10px 0 15px 0;
        font-size: 22px;
        transition: ease-in-out 0.3s;
    }

    .services .service-item p {
        line-height: 24px;
        font-size: 14px;
        margin-bottom: 0;
    }

@media (min-width: 1365px) {
    .services .service-item:hover {
        transform: translateY(-10px);
    }

        .services .service-item:hover h3 {
            color: var(--accent-color);
        }
}

/*--------------------------------------------------------------
# Why Us Section
--------------------------------------------------------------*/
.why-us .card-item {
    background: var(--surface-color);
    padding: 50px 30px;
    transition: all ease-in-out 0.3s;
    height: 100%;
    position: relative;
}

    .why-us .card-item span {
        color: var(--default-color);
        display: block;
        font-size: 28px;
        font-weight: 700;
    }

    .why-us .card-item h4 {
        font-size: 24px;
        font-weight: 600;
        padding: 0;
        margin: 20px 0;
        color: var(--default-color);
    }

        .why-us .card-item h4 a {
            color: var(--default-color);
        }

    .why-us .card-item p {
        font-size: 15px;
        color: color-mix(in srgb, var(--default-color), transparent 40%);
        margin: 0;
        padding: 0;
    }

    .why-us .card-item:hover {
        background: var(--accent-color);
        padding: 30px 30px 70px 30px;
    }

        .why-us .card-item:hover span,
        .why-us .card-item:hover h4 a,
        .why-us .card-item:hover p {
            color: var(--contrast-color);
        }

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats {
    padding: 0 0 30px 0;
}

    .stats .stats-item {
        padding: 30px;
        width: 100%;
    }

        .stats .stats-item i {
            color: var(--accent-color);
            display: block;
            font-size: 44px;
            float: left;
            line-height: 0;
        }

        .stats .stats-item .purecounter {
            color: var(--heading-color);
            font-size: 48px;
            line-height: 40px;
            display: block;
            font-weight: 700;
            margin-left: 60px;
        }

        .stats .stats-item p {
            color: color-mix(in srgb, var(--default-color), transparent 40%);
            padding: 15px 0 0 0;
            margin: 0 0 0 60px;
            font-family: var(--heading-font);
            font-size: 14px;
        }

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
    padding: 0;
    margin: 0 auto 20px auto;
    list-style: none;
    text-align: center;
}

    .portfolio .portfolio-filters li {
        cursor: pointer;
        display: inline-block;
        padding: 0;
        font-size: 18px;
        font-weight: 500;
        margin: 0 10px;
        line-height: 1;
        margin-bottom: 5px;
        transition: all 0.3s ease-in-out;
    }

        .portfolio .portfolio-filters li:hover,
        .portfolio .portfolio-filters li.filter-active {
            color: var(--accent-color);
        }

        .portfolio .portfolio-filters li:first-child {
            margin-left: 0;
        }

        .portfolio .portfolio-filters li:last-child {
            margin-right: 0;
        }

@media (max-width: 575px) {
    .portfolio .portfolio-filters li {
        font-size: 14px;
        margin: 0 5px;
    }
}

.portfolio .portfolio-content {
    position: relative;
    overflow: hidden;
}

    .portfolio .portfolio-content img {
        transition: 0.3s;
    }

    .portfolio .portfolio-content .portfolio-info {
        opacity: 0;
        position: absolute;
        inset: 0;
        z-index: 3;
        transition: all ease-in-out 0.3s;
        background: rgba(0, 0, 0, 0.6);
        padding: 15px;
    }

        .portfolio .portfolio-content .portfolio-info h4 {
            font-size: 14px;
            padding: 5px 10px;
            font-weight: 400;
            color: #ffffff;
            display: inline-block;
            background-color: var(--accent-color);
        }

        .portfolio .portfolio-content .portfolio-info p {
            position: absolute;
            bottom: 10px;
            text-align: center;
            display: inline-block;
            left: 0;
            right: 0;
            font-size: 16px;
            font-weight: 600;
            color: rgba(255, 255, 255, 0.8);
        }

        .portfolio .portfolio-content .portfolio-info .preview-link,
        .portfolio .portfolio-content .portfolio-info .details-link {
            position: absolute;
            left: calc(50% - 40px);
            font-size: 26px;
            top: calc(50% - 14px);
            color: #fff;
            transition: 0.3s;
            line-height: 1.2;
        }

            .portfolio .portfolio-content .portfolio-info .preview-link:hover,
            .portfolio .portfolio-content .portfolio-info .details-link:hover {
                color: var(--accent-color);
            }

        .portfolio .portfolio-content .portfolio-info .details-link {
            left: 50%;
            font-size: 34px;
            line-height: 0;
        }

    .portfolio .portfolio-content:hover .portfolio-info {
        opacity: 1;
    }

    .portfolio .portfolio-content:hover img {
        transform: scale(1.1);
    }

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
    overflow: hidden;
}

.testimonials .testimonial-item .testimonial-content {
    border-left: 3px solid var(--accent-color);
    padding-left: 30px;
}

.testimonials .testimonial-item .testimonial-img {
    border-radius: 50%;
    border: 4px solid var(--background-color);
    margin: 0 auto;
}

.testimonials .testimonial-item h3 {
    font-size: 20px;
    font-weight: bold;
    margin: 10px 0 5px 0;
}

.testimonials .testimonial-item h4 {
    font-size: 14px;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    margin: 0 0 10px 0;
}

.testimonials .testimonial-item .stars i {
    color: #ffc107;
    margin: 0 1px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
    color: color-mix(in srgb, var(--accent-color), transparent 50%);
    font-size: 26px;
    line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
    display: inline-block;
    left: -5px;
    position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
    display: inline-block;
    right: -5px;
    position: relative;
    top: 10px;
    transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
    font-style: italic;
}

.testimonials .swiper-wrapper {
    height: auto;
}

.testimonials .swiper-pagination {
    margin-top: 30px;
    position: relative;
}

    .testimonials .swiper-pagination .swiper-pagination-bullet {
        width: 12px;
        height: 12px;
        background-color: color-mix(in srgb, var(--default-color), transparent 85%);
        opacity: 1;
    }

    .testimonials .swiper-pagination .swiper-pagination-bullet-active {
        background-color: var(--accent-color);
    }

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .member {
    position: relative;
}

    .team .member .member-img {
        margin: 0 80px;
        border-radius: 50%;
        overflow: hidden;
        position: relative;
    }

@media (max-width: 1024px) {
    .team .member .member-img {
        margin: 0 60px;
    }
}

.team .member .member-img img {
    position: relative;
    z-index: 1;
}

.team .member .member-img .social {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    padding-bottom: 20px;
    transition: 0.3s;
    visibility: hidden;
    opacity: 0;
}

    .team .member .member-img .social a {
        transition: 0.3s;
        color: var(--contrast-color);
        font-size: 20px;
        margin: 0 8px;
    }

        .team .member .member-img .social a:hover {
            color: var(--accent-color);
        }

.team .member .member-info {
    margin-top: 30px;
}

    .team .member .member-info h4 {
        font-weight: 700;
        margin-bottom: 6px;
        font-size: 18px;
    }

    .team .member .member-info span {
        font-style: italic;
        display: block;
        font-size: 15px;
        color: color-mix(in srgb, var(--default-color), transparent 40%);
        margin-bottom: 10px;
    }

    .team .member .member-info p {
        margin-bottom: 0;
        font-size: 14px;
    }

.team .member:hover .member-img .social {
    padding-bottom: 0;
    visibility: visible;
    opacity: 1;
}

/*--------------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/
.clients .clients-wrap {
    border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
    border-left: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.clients .client-logo {
    background-color: var(--surface-color);
    display: flex;
    justify-content: center;
    align-items: center;
    border-right: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
    border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
    overflow: hidden;
}

    .clients .client-logo img {
        padding: 50px;
        max-width: 80%;
        transition: 0.3s;
    }

@media (max-width: 640px) {
    .clients .client-logo img {
        padding: 30px;
        max-width: 50%;
    }
}

.clients .client-logo:hover img {
    transform: scale(1.1);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item + .info-item {
    margin-top: 40px;
}

.contact .info-item i {
    color: var(--accent-color);
    background: color-mix(in srgb, var(--accent-color), transparent 92%);
    font-size: 20px;
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    transition: all 0.3s ease-in-out;
    margin-right: 15px;
}

.contact .info-item h3 {
    padding: 0;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.contact .info-item p {
    padding: 0;
    margin-bottom: 0;
    font-size: 14px;
}

.contact .info-item:hover i {
    background: var(--accent-color);
    color: var(--contrast-color);
}

.contact .php-email-form {
    height: 100%;
}

    .contact .php-email-form input[type=text],
    .contact .php-email-form input[type=email],
    .contact .php-email-form textarea {
        font-size: 14px;
        padding: 10px 15px;
        box-shadow: none;
        border-radius: 0;
        color: var(--default-color);
        background-color: color-mix(in srgb, var(--background-color), transparent 50%);
        border-color: color-mix(in srgb, var(--default-color), transparent 80%);
    }

        .contact .php-email-form input[type=text]:focus,
        .contact .php-email-form input[type=email]:focus,
        .contact .php-email-form textarea:focus {
            border-color: var(--accent-color);
        }

        .contact .php-email-form input[type=text]::placeholder,
        .contact .php-email-form input[type=email]::placeholder,
        .contact .php-email-form textarea::placeholder {
            color: color-mix(in srgb, var(--default-color), transparent 70%);
        }

    .contact .php-email-form button[type=submit] {
        color: var(--contrast-color);
        background: var(--accent-color);
        border: 0;
        padding: 10px 30px;
        transition: 0.4s;
        border-radius: 50px;
    }

        .contact .php-email-form button[type=submit]:hover {
            background: color-mix(in srgb, var(--accent-color), transparent 25%);
        }

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-details-slider img {
    width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
    margin-top: 20px;
    position: relative;
}

    .portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
        width: 12px;
        height: 12px;
        background-color: color-mix(in srgb, var(--default-color), transparent 85%);
        opacity: 1;
    }

    .portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
        background-color: var(--accent-color);
    }

.portfolio-details .portfolio-info {
    background-color: var(--surface-color);
    padding: 30px;
    box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
}

    .portfolio-details .portfolio-info h3 {
        font-size: 22px;
        font-weight: 700;
        margin-bottom: 20px;
        padding-bottom: 20px;
        border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
    }

    .portfolio-details .portfolio-info ul {
        list-style: none;
        padding: 0;
        font-size: 15px;
    }

        .portfolio-details .portfolio-info ul li + li {
            margin-top: 10px;
        }

.portfolio-details .portfolio-description {
    padding-top: 30px;
}

    .portfolio-details .portfolio-description h2 {
        font-size: 26px;
        font-weight: 700;
        margin-bottom: 20px;
    }

    .portfolio-details .portfolio-description p {
        padding: 0;
        color: color-mix(in srgb, var(--default-color), transparent 30%);
    }

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .services-list {
    background-color: var(--surface-color);
    padding: 10px 30px;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    margin-bottom: 20px;
}

    .service-details .services-list a {
        display: block;
        line-height: 1;
        padding: 8px 0 8px 15px;
        border-left: 3px solid color-mix(in srgb, var(--default-color), transparent 70%);
        margin: 20px 0;
        color: color-mix(in srgb, var(--default-color), transparent 20%);
        transition: 0.3s;
    }

        .service-details .services-list a.active {
            color: var(--heading-color);
            font-weight: 700;
            border-color: var(--accent-color);
        }

        .service-details .services-list a:hover {
            border-color: var(--accent-color);
        }

.service-details .services-img {
    max-width: 80%; 
    height: auto;
    display: block;
    margin: 0 auto;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);

}

.service-details h3 {
    font-size: 26px;
    font-weight: 700;
}

.service-details h4 {
    font-size: 20px;
    font-weight: 700;
}

.service-details p {
    font-size: 15px;
}

.service-details ul {
    list-style: none;
    padding: 0;
    font-size: 15px;
}

    .service-details ul li {
        padding: 5px 0;
        display: flex;
        align-items: center;
    }

    .service-details ul i {
        font-size: 20px;
        margin-right: 8px;
        color: var(--accent-color);
    }


.logo img {
    height: 90px;
    width: 200px;
    max-height: 100px;
}

.portfolio-content img {
    max-height: 200px; /* صغّر الارتفاع */
    width: auto; /* العرض يتظبط أوتوماتيك */
    object-fit: contain; /* يحافظ على النسبة */
    margin: 0 auto; /* يخليها في النص */
    display: block; /* عشان margin auto يشتغل */
}

.hero-title {
    font-family: 'Poppins', sans-serif; /* خط عصري وأنيق */
    font-size: 42px; /* حجم كبير */
    font-weight: 700; /* سميك */
    color: #000000; /* أسود */
    line-height: 1.3;
}

.hero-text {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    color: #000000; /* أسود */
    line-height: 1.6;
    margin-top: 15px;
}

.btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #4facfe, #00f2fe); /* أزرق عصري */
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 50px; /* شكل كبسولة */
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

    .btn-modern:hover {
        background: linear-gradient(135deg, #43e97b, #38f9d7); /* يتغير للأخضر/تركواز عند الهوفر */
        transform: translateY(-3px);
    }

.btn-facebook {
    background: linear-gradient(135deg, #1877f2, #3b5998); /* ألوان فيسبوك */
}

    .btn-facebook:hover {
        background: linear-gradient(135deg, #145db2, #2a4373);
    }

.btn-facebookk {
    background: linear-gradient(135deg, #093948, #3c09d5); /* ألوان فيسبوك */
}

    .btn-facebookk:hover {
        background: linear-gradient(135deg, #13cdca, #2a4373);
    }

/* ===== NAVBAR PROFESSIONAL STYLE ===== */
/* تم دمج هذه القواعد مع قواعد الـ header الأساسية أعلاه */

/* Nav Links - تم دمج هذه القواعد مع قواعد navmenu الأساسية أعلاه */


.btn1 {
    background: linear-gradient(135deg, #0d6efd, #00b4d8);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

    .btn1:hover {
        background: linear-gradient(135deg, #007bff, #0096c7);
        transform: translateY(-3px);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    }

    .btn1:active {
        transform: translateY(0);
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    }

/* scroll to top */
#scroll-top {
    position: fixed;
    bottom: 90px; /* خليه أعلى شوية */
    right: 20px;
    width: 50px;
    height: 50px;
    background: #006bc8;
    color: #fff;
    border-radius: 50%;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 4px 6px rgba(0,0,0,0.2);
    transition: background 0.3s ease;
    z-index: 9999;
}

    #scroll-top:hover {
        background: #1c13c3;
    }

/* WhatsApp button */
#whatsapp-contact {
    position: fixed;
    bottom: 20px; /* تحت */
    right: 20px;
    width: 55px;
    height: 55px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 4px 6px rgba(0,0,0,0.2);
    transition: background 0.3s ease;
    z-index: 9999;
}

    #whatsapp-contact:hover {
        background-color: #20b954;
        color: #fff;
    }


.contact-form {
    width: 100%;
    background: #fff;
}

.btn1 {
    background: #007bff;
    color: #fff;
    padding: 12px 40px;
    border: none;
    border-radius: 30px;
    transition: 0.3s ease-in-out;
    font-size: 16px;
    font-weight: 500;
}

    .btn1:hover {
        background: #023975;
    }

.service-item .icon {
    margin: 0 auto 20px auto;
    width: 113px; /* كبرنا الكونتينر */
    height: 113px; /* كبرنا الكونتينر */
    display: flex;
    justify-content: center;
    align-items: center;
}

    .service-item .icon i {
        font-size: 50px; /* نفس الحجم */
        color: #6610f2;
        line-height: 1;
    }

.about .section-header h2 {
    font-size: 2rem;
    color: #222;
}

.about .section-header p {
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.about .icon-box {
    width: 50px;
    height: 50px;
    background: #27baf4;
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.about .about-list h5 {
    margin-bottom: 5px;
}

.about .about-list p {
    margin: 0;
    font-size: 0.95rem;
}


.nav-select {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 15px;
    color: #333;
    width: 220px;
    transition: all 0.3s ease;
}

    .nav-select:hover,
    .nav-select:focus {
        border-color: #6610f2;
        box-shadow: 0 0 6px rgba(102, 16, 242, 0.3);
        outline: none;
    }


    .paid-ads h2 {
        font-size: 2rem;
        color: #6610f2;
      }
      
      .paid-ads ul li {
        font-size: 1rem;
        color: #444;
      }
      
      .paid-ads img {
        transition: transform 0.3s ease;
      }
      
      .paid-ads img:hover {
        transform: scale(1.03);
      }
      .reel-card {
        cursor: pointer;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
      }
      
      .reel-card:hover {
        transform: translateY(-5px) scale(1.03);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
      }
      
      .reel-img {
        transition: transform 0.4s ease;
      }
      
      .reel-card:hover .reel-img {
        transform: scale(1.1);
      }
      
      .reel-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7));
        opacity: 0;
        transition: opacity 0.4s ease;
        text-align: center;
      }
      
      .reel-card:hover .reel-overlay {
        opacity: 1;
      }
      
      .service-title {
        font-size: 1.25rem;
        color: #222;
        letter-spacing: 0.5px;
        text-transform: capitalize;
      }
      
      .reel-card {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
      }
      
      .reel-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
      }
      
      .reel-overlay {
        opacity: 0;
        transition: opacity 0.3s ease;
      }
      
      .reel-card:hover .reel-overlay {
        opacity: 1;
      }
      .card-img-hover {
        transition: transform 0.4s ease;
      }
      
      .card:hover .card-img-hover {
        transform: scale(1.1);
      }
      
      .overlay-icon {
        opacity: 0;
        transition: opacity 0.3s ease;
        text-decoration: none;
      }
      
      .card:hover .overlay-icon {
        opacity: 1;
      }

      
      
/* عام */
.logo-img { max-height: 52px; }

/* Desktop الافتراضي */
.navmenu ul {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.navmenu a {
  font-size: 16px;
  padding: 8px 10px;
  text-decoration: none;
  color: #222;
  transition: color .2s ease;
}
.navmenu a:hover { color: #0d6efd; }

/* Dropdown Desktop */
.navmenu .dropdown { position: relative; }
.navmenu .submenu {
  display: none;
  position: absolute;
  top: 110%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border-radius: 10px;
  padding: 10px 0;
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  z-index: 1000;
}
.navmenu .submenu li a {
  display: block;
  padding: 8px 14px;
  font-size: 15px;
  white-space: nowrap;
}
.navmenu .dropdown:hover > .submenu { display: block; }

/* زر الموبايل */
.nav-toggle { display: none; }
.mobile-nav-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  padding: 6px;
  user-select: none;
}
.mobile-nav-toggle .bi-x { display: none; }

/* موبايل */
@media (max-width: 991px) {
    /* إخفاء القائمة افتراضياً */
    .navmenu {
      display: none !important;
    }
    
    /* الزر */
    .mobile-nav-toggle {
      display: block;
      font-size: 28px;
      cursor: pointer;
      color: #333;
      z-index: 10000;
      transition: transform 0.3s ease;
    }
  
    .mobile-nav-toggle.active {
      transform: rotate(90deg); /* شكل زر المنيو يتغير */
    }
  
    /* القائمة */
    .navmenu {
      position: fixed;
      top: 70px;
      right: -100%;
      width: 80%;
      max-width: 360px;
      height: calc(100vh - 70px);
      background: #fff;
      padding: 24px 20px;
      display: none;
      flex-direction: column;
      gap: 16px;
      overflow-y: auto;
      transition: right 0.35s ease-in-out;
      box-shadow: -5px 0 25px rgba(0, 0, 0, 0.12);
      z-index: 9999;
    }
  
    .navmenu.active {
      right: 0;
      display: flex !important;
    }
  
    /* العناصر */
    .navmenu ul {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
  
    .navmenu li a {
      font-size: 17px;
      font-weight: 500;
      color: #333;
      padding: 12px 14px;
      border-radius: 8px;
      transition: all 0.25s ease;
      display: block;
    }
  
    /* عند الـ hover / click */
    .navmenu li a:hover,
    .navmenu li a.active-link {
      background: #f2f2f2;
      color: #007bff;
      transform: translateX(6px);
    }
  
    /* dropdown */
    .navmenu li.dropdown > ul {
      display: none;
      flex-direction: column;
      gap: 8px;
      padding-left: 14px;
      border-left: 2px solid #eee;
      animation: fadeIn 0.3s ease;
    }
  
    .navmenu li.dropdown.open > ul {
      display: flex;
    }
  
    /* animation */
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(-5px); }
      to { opacity: 1; transform: translateY(0); }
    }
  }
  

/* Scroll to top */
#scroll-top {
    position: fixed;
    right: 15px;
    bottom: 80px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #0d6efd;
    color: #fff;
    font-size: 26px;
    display: none; /* هيتفعل بالـ JS */
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    z-index: 999999;  /* أعلى أولوية */
    cursor: pointer;
  }
  #scroll-top:hover {
    background: #0b5ed7;
  }
  
  /* WhatsApp Button */
  #whatsapp-contact {
    position: fixed;
    right: 15px;
    bottom: 15px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    z-index: 999999;  /* أعلى أولوية */
    cursor: pointer;
  }
  #whatsapp-contact:hover {
    background: #1ebe5b;
  }


  /* Style for dropdown in mobile */
@media (max-width: 991px) {
    .navmenu .dropdown > a {
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
    }
  
    .navmenu .dropdown ul {
      display: none;
      flex-direction: column;
      padding-left: 15px;
      margin-top: 8px;
      border-left: 2px solid #eee;
      transition: all 0.3s ease;
    }
  
    .navmenu .dropdown.open ul {
      display: flex;
    }
  }
  


  /* Small card for designs */
.design-card {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .design-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
  }
  
  .design-img {
    height: 180px;         /* smaller size */
    object-fit: cover;     /* keep ratio */
    transition: transform 0.4s ease;
  }
  
  .design-card:hover .design-img {
    transform: scale(1.1);
  }
  
  /* Overlay on hover */
  .design-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .design-card:hover .design-overlay {
    opacity: 1;
  }

  #navmenu ul li {
    margin-left: 20px; /* يخلي مسافة بين كل تاب والتانية */
  }
  #navmenu ul li:first-child {
    margin-left: 0; /* عشان أول عنصر ما يبقاش في مسافة زيادة */
  }
  .d-flex.gap-3 {
    margin-top: 40px; /* زود الرقم حسب ما تحب */
  }



  
  /* Footer mobile optimization */
@media (max-width: 767px) {
    #footer {
      padding: 20px 0 !important;   /* يقلل المسافة العلوية والسفلية */
      font-size: 14px;              /* يصغر حجم النص */
    }
  
    #footer .footer-top {
      padding: 15px 0 !important;
    }
  
    #footer .footer-contact p {
      margin: 3px 0;               /* يقلل المسافة بين السطور */
      font-size: 13px;
    }
  
    #footer h4 {
      font-size: 15px;
      margin-bottom: 8px;
    }
  
    #footer ul li {
      margin-bottom: 4px;          /* يقلل المسافة بين اللينكات */
    }
  
    #footer .social-links a {
      font-size: 16px;             /* يصغر الأيقونات */
      margin-right: 8px;
    }
  
    #footer .copyright {
      margin-top: 10px;
      font-size: 12px;
    }

    #footer .span {
      font-size: 12px;
    }
    .footer-about {
        text-align: center;   /* center text in the column */
      }
    
      .footer-about .logo {
        justify-content: center;  /* center flex content */
      }
    
      .footer-about .sitename {
        display: block;
        margin: 0 auto;       /* ensure span is centered */
      }
  }

  /* خلي كل الصفحة تاخد العرض بالظبط */
html, body {
    max-width: 100%;
    overflow-x: hidden;
  }
  
  /* تعديل الـ container */
  .container, .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* المنيو في الموبايل يفتح صح من غير ما يزق الصفحة */
  @media (max-width: 991px) {
    .navmenu {
      width: 100%;
      right: 0;
      left: 0;
    }
  }
  

/* تم حذف القواعد المكررة */
  
  /* ========== Modern Buttons ========== */
  .btn-modern {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 40px;
    font-weight: 600;
    border: none;
    color: #fff;
    transition: all 0.35s ease;
    overflow: hidden;
    z-index: 1;
  }
  
  /* تأثير خلفية متحرك */
  .btn-modern::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: rgba(255, 255, 255, 0.2);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease-in-out;
    z-index: -1;
  }
  
  .btn-modern:hover::before {
    transform: scaleX(1);
    transform-origin: left;
  }
  
  /* لون افتراضي */
  .btn-default {
    background: linear-gradient(135deg, #007bff, #00c6ff);
  }
  
  .btn-facebook {
    background: linear-gradient(135deg, #1877f2, #3b5998);
  }
  
  .btn-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
  }
  
  .btn-instagram {
    background: linear-gradient(135deg, #feda75, #d62976, #962fbf, #4f5bd5);
  }
  
  .btn-youtube {
    background: linear-gradient(135deg, #ff0000, #cc0000);
  }
  
  .btn-linkedin {
    background: linear-gradient(135deg, #0077b5, #004182);
  }
  
  /* Hover Elevation */
  .btn-modern:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
  }
  
  /* ========== Responsive (Mobile) ========== */
  @media (max-width: 767px) {
    .btn-modern {
      padding: 8px 12px;
      font-size: 14px;
      border-radius: 25px;
      justify-content: center;
    }
  
    .btn-modern span {
      display: none; /* نخلي الأيقونة بس */
    }
  
    /* Tooltip عند الضغط/المرور */
    .btn-modern::after {
      content: attr(data-label);
      position: absolute;
      bottom: -30px;
      left: 50%;
      transform: translateX(-50%);
      background: #222;
      color: #fff;
      font-size: 12px;
      padding: 4px 8px;
      border-radius: 6px;
      white-space: nowrap;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s ease-in-out;
    }
  
    .btn-modern:hover::after,
    .btn-modern:focus::after {
      opacity: 1;
    }
  
    .d-flex.gap-3 {
      gap: 0.5rem;
      flex-wrap: wrap;
      justify-content: center;
    }
  }
  

  /* الحجم الافتراضي (للكمبيوتر / شاشات كبيرة) */
.service-item {
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
  }
  
  .service-item h3 {
    font-size: 20px;
    margin-top: 15px;
  }
  
  .service-item p {
    font-size: 15px;
  }
  
  .service-item .icon {
    font-size: 40px;
    margin-bottom: 10px;
  }
  
  /* لما يفتح من الموبايل */
  @media (max-width: 767px) {
    .service-item {
      padding: 15px;       /* أصغر */
      margin: 0 auto;      /* توسيط */
    }
  
    .service-item h3 {
      font-size: 16px;     /* أصغر */
    }
  
    .service-item p {
      font-size: 13px;     /* نص أصغر */
    }
  
    .service-item .icon {
      font-size: 28px;     /* أيقونة أصغر */
    }
  
    #services .row {
      gap: 10px;           /* مسافة أصغر بين الكروت */
    }
  }
  

  /* الوضع العادي - كمبيوتر */
.stats-item span {
    font-size: 40px;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
    color: #fff;
  }
  
  .stats-item p {
    font-size: 15px;
    color: #ddd;
  }
  
  .stats-item p strong {
    display: block;
    font-size: 16px;
    color: #fff;
    margin-bottom: 5px;
  }
  
  /* تصغير الإحصائيات في الموبايل */

  @media (max-width: 767px) {
    #stats .stats-item {
      padding: 8px 0;
      text-align: center;   /* يخلي الكلام في النص */
    }
  
    #stats .stats-item span.purecounter {
      font-size: 1.5rem;
      display: block;       /* يخلي الرقم في سطر لوحده */
      margin: 0 auto;       /* يوسّطه */
    }
  
    #stats .stats-item p strong {
      font-size: 0.9rem;
      display: block;       /* يخلي العنوان تحت الرقم */
      margin-top: 5px;
    }
  
    #stats .stats-item p span {
      font-size: 0.75rem;
      display: block;       /* الوصف في سطر جديد */
      margin-top: 2px;
    }
  }
  


  @media (max-width: 576px) {
    #footer .footer-about p {
      font-size: 13px;
      margin: 2px 0;
    }
    #footer h4 {
      font-size: 15px;
    }
    #footer ul li a {
      font-size: 13px;
    }
  }
  


  @media (max-width: 576px) {
    #footer .social-links a {
      font-size: 16px;
      margin-right: 8px;
    }
  }
  
  @media (max-width: 576px) {
    #features h3 {
      font-size: 18px;
      line-height: 1.4;
      margin-bottom: 10px;
    }
  
    #features p {
      font-size: 14px;
      line-height: 1.6;
    }
  
    #features ul li {
      font-size: 13px;
      margin-bottom: 8px;
    }
  
    #features ul li i {
      font-size: 14px;
      margin-right: 6px;
    }
  
    #features img {
      max-width: 100%;
      border-radius: 10px;
    }
  
    #features .features-item {
      flex-direction: column; /* الصورة فوق والنص تحت */
      text-align: center;     /* توسيط النصوص */
    }
  
    #features .features-item ul {
      padding-left: 0; /* نشيل المسافات الزيادة */
      list-style: none;
    }
  }
  
  
  @media (max-width: 767px) {
    .portfolio .row.isotope-container {
      display: grid !important;
      grid-template-columns: repeat(3, 1fr); /* 3 أعمدة */
      gap: 10px; /* مسافة صغيرة بين العناصر */
    }
  
    .portfolio .portfolio-item {
      width: 100% !important;
      margin: 0 !important;
    }
  
    .portfolio .portfolio-content img {
      border-radius: 8px;
      object-fit: cover;
    }
  }
  
/* ====== Modern Buttons Small & Centered ====== */
.d-flex.gap-3 {
    justify-content: center;   /* يخليهم في النص */
    gap: 12px;                 /* مسافة معقولة */
    flex-wrap: wrap;           /* ينزلوا تحت بعض في الموبايل */
}

.btn-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 18px;          /* أصغر */
    font-size: 14px;
    border-radius: 30px;
    font-weight: 500;
    border: none;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    text-decoration: none;
}

.btn-modern i {
    font-size: 16px;
}

/* Hover Effect */
.btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.25);
}

/* Facebook */
.btn-facebook {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

/* WhatsApp / Call */
.btn-facebookk {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

/* Mobile - Make them smaller */
@media (max-width: 767px) {
    .btn-modern {
        padding: 6px 14px;
        font-size: 13px;
    }

    .btn-modern span {
        display: none; /* نخلي الايقونة بس للموبايل */
    }
}


/* ====== Footer Responsive ====== */
@media (max-width: 767px) {
    #footer {
      text-align: center;
    }
  
    #footer .footer-about,
    #footer .footer-links {
      text-align: center;
    }
  
    #footer .footer-contact p {
      margin: 5px 0;
    }
  
    #footer .social-links {
      justify-content: center;
    }
  
    #footer .footer-links ul {
      padding: 0;
    }
  
    #footer .footer-links ul li {
      display: inline-block;
      margin: 5px 10px;
    }
  }
  

  #header .navmenu li {
  margin: 0 16px; /* مسافة بين التابات */
}


/* Banner Styling */
.contact-banner {
    position: relative;
    height: 250px;
    overflow: hidden;
  }
  .contact-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .contact-banner .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
  }
  .contact-banner .banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  /* Form small & centered */
  .contact-form {
    border: 1px solid #eee;
  }
  
  /* Mobile adjustments */
  @media (max-width: 768px) {
    .contact-banner {
      height: 180px;
    }
    .contact-banner .banner-text h2 {
      font-size: 24px;
    }
    .contact-form {
      padding: 20px;
    }
  }
  
/* Stats Section */
.stats {
    background: #1742a4; /* خلفية داكنة */
    color: #fff;
  }
  
  .stats .stats-item {
    padding: 15px;
  }
  
  .stats .purecounter {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff; /* الأرقام أبيض */
    display: block;
    margin-bottom: 8px;
  }
  
  .stats p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
    color: #fff; /* النص أبيض */
  }
  
  .stats strong {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #fff; /* العناوين أبيض */
    margin-bottom: 4px;
  }
  
  .stats span {
    font-size: 0.8rem;
    color: #ccc; /* الوصف بلون أفتح */
  }
  
  /* موبايل */
  @media (max-width: 576px) {
    .stats .purecounter {
      font-size: 1.6rem;
    }
    .stats strong {
      font-size: 0.9rem;
    }
    .stats span {
      font-size: 0.75rem;
    }
  }



  
  #heroCarousel .carousel-item img {
    width: 100%;
    height: 100vh; /* يخليها قد ارتفاع الشاشة */
    object-fit: cover; /* يملأ بدون فراغات */
  }
  

  /* 📱 للموبايل */
@media (max-width: 768px) {
    #heroCarousel .carousel-item img {
      height: 100%;      /* خلي الصورة على قد الكاروسيل */
      min-height: 100vh; /* تمنع الفراغ */
      object-fit: cover; /* يملأ الشاشة */
    }
  }

  #heroCarousel,
#heroCarousel .carousel-inner,
#heroCarousel .carousel-item {
  height: 100vh;
}

.carousel,
.carousel-inner,
.carousel-item,
.carousel-item img {
  height: 100vh;       /* ملأ الشاشة */
  width: 100%;
}

.carousel-item img {
  object-fit: cover;   /* يملأ الشاشة بدون فراغ */
  display: block;
}


.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
