﻿/**
* Template Name: Medilab
* Template URL: https://bootstrapmade.com/medilab-free-medical-bootstrap-theme/
* Updated: Jun 29 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: "Poppins",  sans-serif;
  --nav-font: "Raleway",  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: #164c9b; /* Color for headings, subheadings and title throughout the website */
    --accent-color: #164c9b; /* 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 {
    --nav-color: #164c9b; /* The default color of the main navmenu links */
    --nav-hover-color: #164c9b; /* 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: #164c9b; /* Used for navigation links of the dropdown items in the navigation menu. */
    --nav-dropdown-hover-color: #164c9b; /* 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: #f1f7fc;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --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: #ffffff;
    text-decoration: none;
    transition: 0.3s;
}

    a:hover {
        color: #164c9b;
        text-decoration: none;
    }

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #164c9b;
    font-family: var(--heading-font);
}

/* 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;
  }
}

/* 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;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
    color: var(--default-color);
    transition: all 0.5s;
    z-index: 997;
    background-color: #fff;
}

.header .topbar {
    background-color: #fff;
    height: 40px;
    padding: 0;
    font-size: 14px;
    transition: all 0.5s;
    border-bottom: 2px solid #164c9b; /* خط فاصل باللون الأزرق */
    margin-bottom: 20px; /* زيادة المسافة بين .topbar و .branding */
}

.header .topbar .contact-info i {
    font-style: normal;
    color: #164c9b; /* اللون الأزرق للأيقونة */
    font-size: 18px; /* تكبير الأيقونات قليلاً */
    font-weight: bold; /* جعل الأيقونات بالخط العريض */
}

    .header .topbar .contact-info i a,
    .header .topbar .contact-info i span {
        padding-left: 5px;
        color: #164c9b; /* اللون الأزرق للنصوص */
        font-size: 16px; /* تكبير النصوص قليلاً */
        font-weight: bold; /* جعل النصوص بالخط العريض */
        transition: all 0.3s ease;
        background: transparent; /* الخلفية الافتراضية */
        padding: 8px 12px; /* مساحة داخلية */
        border-radius: 8px; /* زوايا مستديرة */
    }

        .header .topbar .contact-info i a:hover {
            color: #fff; /* النص يصبح أبيض عند التمرير */
            background: linear-gradient(90deg, #164c9b, #f6ed31); /* تدرج لوني أزرق وأصفر */
            transform: translateY(-3px); /* رفع النص */
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* ظل خفيف */
        }

    .header .topbar .social-links a {
        color: #164c9b; /* اللون الأزرق الافتراضي للأيقونات */
        line-height: 0;
        transition: all 0.3s ease;
        margin-left: 20px;
        font-size: 20px; /* تكبير الأيقونات */
        font-weight: bold; /* الخط العريض */
        background: transparent; /* الخلفية الافتراضية */
        padding: 10px; /* مساحة داخلية */
        border-radius: 50%; /* شكل دائري */
    }

        .header .topbar .social-links a:hover {
            color: #fff; /* النص يصبح أبيض عند التمرير */
            background: linear-gradient(90deg, #164c9b, #f6ed31); /* تدرج لوني أزرق وأصفر */
            transform: scale(1.2); /* تكبير العنصر */
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* ظل خفيف */
        }


    .header .branding {
        min-height: 50px; /* تقليل الحد الأدنى للارتفاع */
        padding: 0 0; /* تقليل المسافات الداخلية */
        display: flex;
        align-items: center; /* محاذاة عمودية في المنتصف */
        justify-content: space-between; /* توزيع العناصر بشكل متساوٍ */
    }

.header .logo {
    line-height: 1;
}

.header .logo img {
    max-height: 65px;
    margin-right: 8px;
    transition: transform 0.3s ease, filter 0.3s ease; /* تأثير الحركة والتدرج */
}

.header .logo img:hover {
    transform: scale(1.1); /* تكبير الشعار */
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3)); /* إضافة ظل */
}

    .header .logo h1 {
        font-size: 28px; /* تقليل حجم الخط */
        margin: 0;
        font-weight: 700;
        color: #164c9b;
        font-family: 'Poppins', sans-serif; /* استخدام الخط المفضل */
        display: flex;
        align-items: center; /* محاذاة النص في المنتصف عموديًا */
        justify-content: center; /* محاذاة النص في المنتصف أفقيًا */
    }

.header .cta-btn,
.header .cta-btn:focus {
    color: var(--contrast-color);
    background: #f6ed31; /* الخلفية تصبح صفراء */
    font-size: 14px;
    padding: 8px 25px;
    margin: 0 0 0 30px;
    border-radius: 50px;
    transition: 0.3s;
    font-family: 'Roboto', sans-serif; /* الخط الخاص بالأزرار */
}

.header .cta-btn:hover,
.header .cta-btn:focus:hover {
    color: var(--contrast-color);
    background: color-mix(in srgb, #f6ed31, transparent 15%); /* تدرج اللون الأصفر */
    transform: scale(1.05); /* تكبير الأزرار عند التمرير */
}

.header .navmenu ul li a {
    position: relative;
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    color: #164c9b;
    transition: all 0.5s ease;
    text-transform: uppercase; /* النصوص بالأحرف الكبيرة */
    font-weight: bold; /* النصوص بخط عريض */
    background: transparent; /* الخلفية الافتراضية */
}

.header .navmenu ul li a:hover {
    background: linear-gradient(90deg, #164c9b, #f6ed31); /* تدرج خلفية */
    color: #fff; /* اللون الأبيض للنص عند التمرير */
    transform: translateY(-5px); /* رفع النص عند التمرير */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* إضافة ظل */
    border-radius: 8px; /* جعل الزوايا مستديرة */
}

.header .navmenu ul li.service-menu a {
    background-color: transparent; /* الخلفية الافتراضية */
    color: #164c9b; /* اللون الأزرق للنصوص */
    padding: 10px 20px; /* مساحة داخلية */
    font-size: 16px; /* حجم النص */
    text-transform: uppercase; /* النصوص بالأحرف الكبيرة */
    font-weight: bold; /* النص بخط عريض */
    border-radius: 8px; /* زوايا مستديرة */
    transition: all 0.3s ease; /* تأثير سلس */
}

.header .navmenu ul li.service-menu a:hover {
    background-color: #164c9b; /* لون الخلفية الأزرق */
    color: #fff; /* النص يصبح أبيض */
    transform: scale(1.05); /* تكبير العنصر عند التمرير */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* إضافة ظل خفيف */
}

.scrolled .header {
    box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

.scrolled .header .topbar {
    height: 0;
    visibility: hidden;
    overflow: hidden;
}

@media (max-width: 575px) {
    .header .navmenu ul li {
        margin: 0 5px;
    }

    .header .topbar {
        font-size: 12px;
    }

    .header .logo img {
        max-height: 50px;
    }
}

@media (max-width: 1200px) {
    .header .logo {
        order: 1;
    }

    .header .cta-btn {
        order: 2;
        margin: 0 15px 0 0;
        padding: 6px 15px;
    }

    .header .navmenu {
        order: 3;
    }
}


/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
@media (min-width: 1200px) {
    .navmenu {
        padding: 0;
    }

        .navmenu ul {
            margin: 0;
            padding: 0;
            display: flex;
            list-style: none;
            align-items: center;
        }

        .navmenu li {
            position: relative;
        }

        .navmenu > ul > li {
            white-space: nowrap;
            padding: 15px 14px;
        }

            .navmenu > ul > li:last-child {
                padding-right: 0;
            }

        .navmenu a,
        .navmenu a:focus {
            color: #164c9b; /* الأزرق للروابط */
            font-size: 15px;
            padding: 0 2px;
            font-family: var(--nav-font);
            font-weight: 600; /* جعل النص عريض */
            display: flex;
            align-items: center;
            justify-content: space-between;
            white-space: nowrap;
            transition: 0.3s;
            position: relative;
        }

            .navmenu a i,
            .navmenu a:focus i {
                font-size: 12px;
                line-height: 0;
                margin-left: 5px;
                transition: 0.3s;
            }

        /* تأثير التحولات عند التمرير */
        .navmenu > ul > li > a:before {
            content: "";
            position: absolute;
            width: 100%;
            height: 2px;
            bottom: -6px;
            left: 0;
            background-color: #164c9b; /* خط أزرق */
            visibility: hidden;
            width: 0px;
            transition: all 0.3s ease-in-out 0s;
        }

        .navmenu a:hover:before,
        .navmenu li:hover > a:before,
        .navmenu .active:before {
            visibility: visible;
            width: 100%;
        }

        .navmenu li:hover > a,
        .navmenu .active,
        .navmenu .active:focus {
            color: #f6ed31; /* تغيير اللون إلى الأصفر عند التمرير */
        }

        /* تحسين القوائم المنسدلة */
        .navmenu .dropdown ul {
            margin: 0;
            padding: 10px 0;
            background: #ffffff; /* خلفية بيضاء للقائمة المنسدلة */
            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: #164c9b; /* اللون الأزرق للروابط في القائمة المنسدلة */
            }

                .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: #ffffff; /* تغيير اللون إلى الأصفر عند التمرير في القائمة المنسدلة */
                }

        .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 Navigation */
@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;
    }

    .navmenu {
        padding: 0;
        z-index: 9997;
    }

        .navmenu ul {
            display: none;
            position: absolute;
            inset: 60px 20px 20px 20px;
            padding: 10px 0;
            margin: 0;
            border-radius: 6px;
            background-color: #ffffff;
            border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
            box-shadow: none;
            overflow-y: auto;
            transition: 0.3s;
            z-index: 9998;
        }

        .navmenu a,
        .navmenu a:focus {
            color: var(--nav-dropdown-color);
            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);
            }

                .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);
            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;
        }

            .mobile-nav-active .navmenu > ul {
                display: block;
            }
}

h1, h2, h3, h4, h5, h6 {
    color: #164c9b;
}


/* Adjusting Heading Styles */
/*h1, h2, h3, h4, h5, h6 {
    color: #ffffff;*/ /* ??? ???? ???? */
    /*background-color: #164c9b;*/ /* ??? ??????? ???? */
    /*padding: 10px;*/ /* ????? ?????? */
    /*margin-bottom: 10px;*/ /* ????? ?????? ??? ??????? */
    /*border-radius: 5px;*/ /* ????? ?????? */
    /*text-align: center;*/ /* ?????? ???? ?? ????? */
    /*font-weight: bold;*/ /* ?? ???? */
/*}*/

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
    color: #ffffff; /* لون الكتابة الأبيض */
    background-color: #164c9b; /* الخلفية */
    border-top: 1px solid color-mix(in srgb, var(--accent-color), transparent 75%);
    font-size: 16px; /* حجم الخط */
    position: relative;
}

    .footer .footer-top {
        padding-top: 50px;
    }

    .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 {
            color: #f6ed31; /* لون النص */
            font-family: var(--heading-font);
            font-size: 26px;
            font-weight: 700;
            letter-spacing: 1px;
        }

    .footer .footer-about p {
        color: #ffffff; /* لون النص */
        font-size: 16px;
        font-family: var(--heading-font);
    }

    .footer .social-links a,
    .footer .footer-links ul a,
    .footer .footer-contact p a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        color: #ffffff; /* لون النص */
        transition: color 0.3s ease, transform 0.3s ease, text-decoration 0.3s ease; /* تأثير التحول الناعم */
    }

    .footer .social-links a {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 1px solid #ffffff; /* لون الإطار */
        margin-right: 10px;
    }

    .footer .footer-links ul a {
        display: inline-block;
        line-height: 1;
    }

        /* تأثير hover للروابط الاجتماعية */
        .footer .social-links a:hover,
        .footer .footer-links ul a:hover,
        .footer .footer-contact p a:hover {
            color: var(--accent-color); /* تغيير لون النص */
            text-decoration: underline; /* إضافة خط تحت الرابط */
            font-weight: bold; /* جعل النص أكثر وضوحًا */
            transform: scale(1.1); /* تكبير العنصر أو النص */
            background: linear-gradient(45deg, #f6ed31, #164c9b); /* إضافة تدرج لوني */
            border-color: var(--accent-color); /* تغيير لون الإطار عند التمرير */
        }

    .footer h4 {
        color: #ffffff; /* لون العناوين */
        font-size: 24px;
        font-weight: bold;
        position: relative;
        padding-bottom: 20px;
    }

    .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-contact p {
        color: #ffffff; /* لون النص */
        margin-bottom: 5px;
    }

        .footer .footer-contact p span, /* استهداف الأرقام */
        .footer .footer-contact p a {
            color: #ffffff; /* لون الأرقام الأبيض */
            transition: color 0.3s ease, transform 0.3s ease, text-decoration 0.3s ease; /* تأثير التحول الناعم */
        }

            /* تأثير hover على الأرقام */
            .footer .footer-contact p a:hover {
                color: var(--accent-color); /* تغيير لون النص */
                text-decoration: underline; /* إضافة خط تحت الرقم عند التمرير */
                font-weight: bold; /* جعل الرقم أكثر وضوحًا */
                transform: scale(1.1); /* تكبير الرقم */
                background: linear-gradient(45deg, #f6ed31, #164c9b); /* إضافة تدرج لوني */
            }

    .footer .copyright {
        padding-top: 25px;
        padding-bottom: 25px;
        border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
        background-color: #164c9b; /* الخلفية */
        color: #ffffff; /* لون النص */
    }

        .footer .copyright p {
            color: #ffffff; /* لون النص */
            margin-bottom: 0;
        }

    .footer .credits {
        color: #ffffff; /* لون النص */
        margin-top: 8px;
        font-size: 16px;
    }







/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top i {
    font-size: 24px;
    color: #164c9b; /* لون السهم الأزرق */
    line-height: 0;
}

.scroll-top {
    background-color: #f6ed31; /* خلفية صفراء */
    padding: 10px; /* التأكد من وجود حشو */
    position: fixed; /* إبقاء العنصر في نفس المكان */
    bottom: 20px; /* تحديد المسافة من الأسفل */
    right: 20px; /* تحديد المسافة من اليمين */
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease; /* تأثيرات التحول الناعمة */
}

    .scroll-top:hover {
        color: #164c9b; /* لون السهم أزرق عند التمرير */
        background-color: #f6ed31; /* خلفية صفراء عند التمرير */
        transform: scale(1.1); /* تكبير العنصر عند التمرير */
        transition: transform 0.3s ease, color 0.3s ease, background-color 0.3s ease; /* إضافة تأثير التحول الناعم */
    }

    .scroll-top.active {
        visibility: visible;
        opacity: 1;
    }





/*--------------------------------------------------------------
# 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);
  position: relative;
}

.page-title .heading {
  padding: 80px 0;
  border-top: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%);
}

.page-title .heading h1 {
  font-size: 38px;
  font-weight: 700;
}

.page-title nav {
  background-color: color-mix(in srgb, var(--accent-color), transparent 94%);
  padding: 20px 0;
}

.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.page-title nav ol li+li {
  padding-left: 10px;
}

.page-title nav ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}
/*--------------------------------------------------------------
# Full Width Customization
--------------------------------------------------------------*/
.full-width {
    width: 100%; /* تغطية العرض الكامل */
    margin: 0;
    padding: 0;
}

    .full-width .swiper-slide {
        width: 100%; /* تغطية العنصر بالكامل */
        height: auto;
    }

    .full-width .img-fluid {
        width: 100%; /* تغطية العرض بالكامل */
        height: auto;
        object-fit: cover; /* تغطية الصورة دون تشويه */
    }

/*--------------------------------------------------------------
# Global Section
--------------------------------------------------------------*/
section,
.section {
    color: var(--default-color);
    background-color: none;
    padding: 40px;
    scroll-margin-top: 72px;
    overflow: clip;
}

@media (max-width: 1199px) {

    section,
    .section {
        scroll-margin-top: 60px;
    }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
    text-align: center;
    padding-bottom: 60px;
    position: relative;
}

    .section-title h2 {
        font-size: 32px;
        font-weight: 500;
        margin-bottom: 20px;
        padding-bottom: 20px;
        position: relative;
    }

        .section-title h2:before {
            content: "";
            position: absolute;
            display: block;
            width: 160px;
            height: 1px;
            background: rgba(255, 255, 255, 0.6);
            left: 0;
            right: 0;
            bottom: 1px;
            margin: auto;
        }

        .section-title h2::after {
            content: "";
            position: absolute;
            display: block;
            width: 60px;
            height: 3px;
            background: #ffdd00;
            left: 0;
            right: 0;
            bottom: 0;
            margin: auto;
        }

    .section-title p {
        margin-bottom: 0;
    }
/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
    width: 100%;
    min-height: calc(100vh - 112px); /* يغطي القسم كامل الشاشة */
    padding: 0; /* إزالة أي حشوات داخلية */
    display: flex;
    align-items: center; /* محاذاة المحتوى عموديًا */
    justify-content: center; /* محاذاة المحتوى أفقيًا */
    position: relative; /* الحفاظ على موضع العناصر الداخلية */
    overflow: hidden; /* منع أي تجاوزات خارج العنصر */
    background-color: #164c9b; /* لون احتياطي */
    background-image: url('/path-to-image.jpg'); /* استبدل بمسار الصورة */
    background-size: cover; /* جعل الصورة تغطي القسم بالكامل */
    background-position: center; /* توسيط الخلفية */
    background-repeat: no-repeat; /* منع تكرار الخلفية */
}

    /* صور الخلفية داخل العناصر */
    .hero img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover; /* تغطية العنصر دون تشويه */
    }

    /* الحاوية الرئيسية */
    .hero .container {
        width: 100%; /* يغطي العرض بالكامل */
        height: 100%; /* يغطي الحاوية بالكامل */
        padding: 0; /* إزالة الحشوات */
        margin: 0; /* إزالة الهوامش */
    }

    /* النصوص الترحيبية */
    .hero .welcome h2 {
        margin: 0;
        font-size: 48px;
        font-weight: 700;
        color: #ffffff; /* لون النص */
    }

    .hero .welcome p {
        font-size: 24px;
        margin: 0;
        color: #ffffff; /* لون النص */
    }

    /* المحتوى الداخلي */
    .hero .content {
        width: 100%; /* يغطي العرض بالكامل */
        margin: 0;
        padding: 0;
    }

        /* المربعات داخل المحتوى */
        .hero .content .why-box {
            color: #ffffff; /* لون النص */
            background: #164c9b; /* لون الخلفية */
            padding: 30px;
            border-radius: 4px;
            box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1); /* ظل خفيف */
        }

            /* عناوين المربعات */
            .hero .content .why-box h3 {
                font-weight: 700;
                font-size: 34px;
                margin-bottom: 30px;
            }

            /* نصوص المربعات */
            .hero .content .why-box p {
                margin-bottom: 30px;
            }

            /* الأزرار داخل المربعات */
            .hero .content .why-box .more-btn {
                color: #ffffff; /* لون النص */
                background: rgba(255, 255, 255, 0.2); /* لون شفاف */
                display: inline-block;
                padding: 6px 30px;
                border-radius: 50px;
                transition: all ease-in-out 0.4s;
            }

                .hero .content .why-box .more-btn:hover {
                    background: #ffffff;
                    color: #164c9b; /* تغيير لون النص عند التمرير */
                }

        /* صناديق الأيقونات */
        .hero .content .icon-box {
            width: 100%; /* عرض العنصر يغطي المساحة بالكامل */
            padding: 0;
            text-align: center; /* توسيط النصوص */
        }

            .hero .content .icon-box img {
                width: 100%; /* الصورة تمتد بعرض العنصر */
                height: auto; /* الحفاظ على التناسب */
                object-fit: cover; /* تغطية بدون تشويه */
            }

            .hero .content .icon-box i {
                font-size: 40px;
                color: #ffffff; /* لون الأيقونة */
            }

            .hero .content .icon-box h4 {
                font-size: 20px;
                font-weight: 700;
                margin: 10px 0 20px 0;
                color: #ffffff; /* لون النص */
            }

            .hero .content .icon-box p {
                font-size: 15px;
                color: rgba(255, 255, 255, 0.8); /* نص شفاف */
            }

/*--------------------------------------------------------------
# Responsive Adjustments (تصميم متجاوب)
--------------------------------------------------------------*/
@media (max-width: 768px) {
    .hero {
        min-height: calc(100vh + 80px); /* تكبير الارتفاع للشاشات الصغيرة */
    }

        .hero .welcome h2 {
            font-size: 32px; /* تصغير العنوان */
        }

        .hero .welcome p {
            font-size: 16px; /* تصغير النص */
        }

        .hero .content .why-box h3 {
            font-size: 24px; /* تصغير حجم العناوين */
        }

        .hero .content .why-box p {
            font-size: 14px; /* تصغير النصوص */
        }

        .hero .content .icon-box i {
            font-size: 30px; /* تصغير الأيقونات */
        }

        .hero .content .icon-box h4 {
            font-size: 18px; /* تصغير النصوص */
        }

        .hero .content .icon-box p {
            font-size: 12px; /* تصغير النصوص */
        }

        /* إعدادات الصورة */
        .hero img {
            max-width: 100%; /* عرض كامل الحاوية */
            max-height: 120vh; /* تكبير ارتفاع الصورة */
            object-fit: cover; /* تغطية مع الحفاظ على النسبة */
        }
}


/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about {
    padding: 50px 0;
    background-color: #ffffff; /* خلفية بيضاء للقسم */
}

.about-section {
    padding: 30px;
    text-align: center;
    background-color: #ffffff; /* خلفية بيضاء */
    color: #164c9b; /* النصوص باللون الأزرق */
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* ظل خفيف */
    max-width: 800px; /* تحديد عرض القسم */
    margin-left: auto; /* توسيط العنصر */
    margin-right: auto; /* توسيط العنصر */
}

    .about-section h3 {
        font-size: 1.8rem;
        font-weight: bold;
        margin-bottom: 15px;
        color: #164c9b; /* النصوص باللون الأزرق */
    }

    .about-section p {
        font-size: 1rem;
        line-height: 1.6;
        color: #164c9b; /* النصوص باللون الأزرق */
        margin: 0;
    }

.video-container {
    position: relative;
    overflow: hidden;
}

    .video-container img {
        width: 100%;
        height: auto;
        border-radius: 10px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* ظل خفيف */
    }

    .video-container a {
        width: 60px;
        height: 60px;
        background-color: rgba(255, 255, 255, 0.8);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        transition: background-color 0.3s, transform 0.3s;
    }

        .video-container a:hover {
            background-color: rgba(255, 255, 255, 1);
            transform: scale(1.1);
        }

/* تصميم قائمة النصوص */
.about ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .about ul li {
        display: flex;
        align-items: center;
        margin-bottom: 20px;
        padding: 15px;
        border: 1px solid #ddd;
        border-radius: 10px;
        background: #fefefe;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
    }

        .about ul li:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
        }

        /* تصميم عنصر "رؤيتنا" */
        .about ul li:first-child {
            background: #164c9b; /* خلفية زرقاء فقط */
            color: #fff; /* النصوص باللون الأبيض */
            border: none;
        }

            .about ul li:first-child h5,
            .about ul li:first-child p {
                color: #fff;
            }

        /* تصميم عنصر "هدفنا" */
        .about ul li#aboutcontactg-item {
            background-color: #ffffff; /* خلفية بيضاء */
            color: #164c9b; /* النصوص باللون الأزرق */
            border: 1px solid #164c9b; /* حدود زرقاء */
        }

            .about ul li#aboutcontactg-item h5,
            .about ul li#aboutcontactg-item p {
                color: #164c9b;
            }

        /* تصميم عنصر "رسالتنا" */
        .about ul li:last-child {
            background: #164c9b; /* خلفية زرقاء فقط */
            color: #fff; /* النصوص باللون الأبيض */
            border: none;
        }

            .about ul li:last-child h5,
            .about ul li:last-child p {
                color: #fff;
            }

        /* تصميم الأيقونات */
        .about ul li i {
            font-size: 36px;
            margin-left: 15px;
            color: inherit; /* يتبع لون النص */
            transition: color 0.3s;
        }

        .about ul li:hover i {
            color: #164c9b; /* لون الأيقونات عند التمرير */
        }




/* 

/*---------------------------------------------------------------
*//*.about .about-item {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #f9f9f9;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

    .about .about-item:hover {
        transform: translateY(-10px);
        box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
    }

    .about .about-item i {
        font-size: 48px;
        transition: color 0.3s;
    }

    .about .about-item:hover i {
        color: #164c9b;
    }

.about .pulsating-play-btn {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.video-container img {
    border-radius: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.video-container:hover img {
    transform: scale(1.05);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}*/


/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
/*.stats i {
    color: var(--contrast-color);
    background-color: #164c9b;
    box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.1);
    width: 54px;
    height: 54px;
    font-size: 24px;
    border-radius: 50px;
    border: 2px solid var(--background-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.stats .stats-item {
 
  margin-top: -27px;
  padding: 30px 30px 25px 30px;
  width: 100%;
  position: relative;
  text-align: center;
  box-shadow: 0px 2px 35px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  z-index: 0;
}

    .stats .stats-item span {
        font-size: 32px;
        display: block;
        margin: 10px 0;
        font-weight: 700;
        color: #164c9b;
    }

.stats .stats-item p {
  padding: 0;
  margin: 0;
  font-family: var(--heading-font);
  font-size: 16px;
}
*/

/*-------------------------------------------------------------*/
/* إعداد التصميم الأساسي */
/* التصميم الأساسي */
.stats i {
    color: var(--contrast-color);
    background-color: #164c9b;
    box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.1);
    width: 54px;
    height: 54px;
    font-size: 24px;
    border-radius: 50px;
    border: 2px solid var(--background-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.stats .stats-item {
    margin-top: -27px;
    padding: 30px 30px 25px 30px;
    width: 100%;
    position: relative;
    text-align: center;
    box-shadow: 0px 2px 35px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    z-index: 0;
}

    .stats .stats-item span {
        font-size: 32px;
        display: block;
        margin: 10px 0;
        font-weight: bold; /* خط عريض */
        color: #164c9b; /* لون أزرق */
    }

    .stats .stats-item p {
        padding: 0;
        margin: 0;
        font-family: var(--heading-font);
        font-size: 16px;
        font-weight: bold; /* خط عريض */
        color: #164c9b; /* لون أزرق */
    }

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
/*        --------------------------------------------------
*/
.services .service-item {
    background-color: var(--surface-color);
    text-align: center;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
    padding: 40px 20px; /* تقليل المسافة */
    transition: all ease-in-out 0.3s;
    height: 100%;
    cursor: pointer;
}

    .services .service-item .icon {
        margin: 0 auto;
        width: 64px;
        height: 64px;
        background: var(--accent-color);
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 10px; /* تقليل المسافة */
        transition: 0.3s;
    }

        .services .service-item .icon i {
            color: var(--contrast-color);
            font-size: 28px;
        }

    .services .service-item h3 {
        font-weight: 700;
        font-size: 18px; /* تقليل الحجم */
        margin: 10px 0;
    }

    .services .service-item p {
        display: none; /* إخفاء النص */
    }

    .services .service-item:hover {
        background: var(--accent-color);
        border-color: var(--accent-color);
        color: var(--contrast-color);
    }

        .services .service-item:hover .icon {
            background: var(--surface-color);
        }

        .services .service-item:hover h3 {
            color: var(--contrast-color);
        }
        /* تخطيط الخدمات */
.services .services-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px; /* مسافة بين الخدمات */
    padding: 10px 0;
}

.services .service-item {
    flex: 0 0 auto;
    width: 300px; /* عرض ثابت لكل عنصر */
    height: auto;
    text-align: center;
}

/* تنسيق الأسهم */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

.arrow.left {
    left: -20px;
}

.arrow.right {
    right: -20px;
}

.arrow:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/*--------------------------------------------------------------
# Appointment Section
--------------------------------------------------------------*/
/* تحسين اتجاه النصوص في الحقول */
.appointment .php-email-form input,
.appointment .php-email-form textarea,
.appointment .php-email-form select {
    text-align: right; /* جعل النصوص تبدأ من اليمين */
    direction: rtl; /* تعيين اتجاه الكتابة */
    color: var(--default-color);
    background-color: transparent;
    border-color: #00000099;
    border-radius: 0;
    box-shadow: none;
    font-size: 14px;
    padding: 10px !important;
}

    /* تحسين نصوص placeholder باللون الأزرق */
    .appointment .php-email-form input#name::placeholder,
    .appointment .php-email-form input#phone::placeholder,
    .appointment .php-email-form input#nid::placeholder,
    .appointment .php-email-form input#namebank::placeholder,
    .appointment .php-email-form select#doctor::placeholder,
    .appointment .php-email-form select#department::placeholder {
        text-align: right;
        direction: rtl;
        color: #164c9b; /* تغيير لون placeholder إلى الأزرق */
    }

/* تحسين الأزرار */
.appointment .php-email-form button[type=submit] {
    background: var(--accent-color);
    border: 0;
    padding: 10px 35px;
    color: #fff;
    transition: 0.4s;
    border-radius: 50px;
}

    .appointment .php-email-form button[type=submit]:hover {
        background: color-mix(in srgb, var(--accent-color) 90%, white 15%);
    }

/* تحسين توافق الحقول مع الشاشات الصغيرة */
@media (max-width: 768px) {
    .appointment .php-email-form input,
    .appointment .php-email-form select {
        width: 100%; /* جعل الحقول بعرض الشاشة */
    }
}

/* إضافة تخصيص لرقم الهاتف (الاتجاه إلى اليمين) */
.appointment .php-email-form input#phone {
    text-align: right; /* تأكيد أن نص الهاتف يظهر من اليمين */
}


/*--------------------------------------------------------------
# Departments Section
--------------------------------------------------------------*/
.departments {
  overflow: hidden;
}

.departments .nav-tabs {
  border: 0;
}

.departments .nav-link {
  border: 0;
  padding: 12px 15px 12px 0;
  transition: 0.3s;
  color: var(--default-color);
  border-radius: 0;
  border-right: 2px solid color-mix(in srgb, var(--default-color), transparent 90%);
  font-weight: 600;
  font-size: 15px;
}

.departments .nav-link:hover {
  color: var(--accent-color);
}

.departments .nav-link.active {
  color: var(--accent-color);
  border-color: var(--accent-color);
  background-color: var(--background-color);
}

.departments .tab-pane.active {
  animation: fadeIn 0.5s ease-out;
}

.departments .details h3 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 20px;
}

.departments .details p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.departments .details p:last-child {
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .departments .nav-link {
    border: 0;
    padding: 15px;
  }

  .departments .nav-link.active {
    color: var(--accent-color);
    background: var(--accent-color);
  }
}

/*--------------------------------------------------------------
# Doctors Section
--------------------------------------------------------------*/
.doctors-container {
    position: relative;
    overflow: hidden;
    width: 80%;
    margin: auto;
}

.doctors-slider {
    display: flex;
    flex-direction: row-reverse; /* العرض من اليمين إلى اليسار */
    transition: transform 0.5s ease-in-out;
}

.team-member {
    min-width: 100%;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
    text-align: right; /* النصوص إلى اليمين */
    padding: 20px;
    border-radius: 5px;
    background-color: var(--surface-color);
}

    .team-member:hover {
        transform: translateY(-10px);
        box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2);
    }

    .team-member .pic {
        overflow: hidden;
        width: 150px;
        height: 150px;
        border-radius: 50%;
        flex-shrink: 0;
        transition: transform 0.3s ease;
    }

        .team-member .pic img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

    .team-member:hover .pic img {
        transform: scale(1.1);
    }

    .team-member .member-info {
        text-align: right; /* النصوص إلى اليمين */
    }

    .team-member h4 {
        font-weight: bold;
        margin-bottom: 8px;
        font-size: 20px;
        color: #164c9b;
    }

    .team-member span {
        font-size: 15px;
        padding-bottom: 10px;
        font-weight: 500;
        color: #164c9b;
        position: relative;
    }

    .team-member p {
        margin-top: 10px;
        font-size: 14px;
        line-height: 1.6;
        color: var(--text-color);
    }

.slider-navigation {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

    .slider-navigation button {
        background-color: #164c9b;
        color: white;
        border: none;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

        .slider-navigation button:hover {
            background-color: #0d3476;
        }


/*--------------------------------------------------------------
# Faq Section
.faq {
    direction: rtl; /* لجعل النص يبدأ من اليمين */
}

.faq .faq-container .faq-item {
    display: flex;
    flex-direction: column; /* تكديس العناصر عموديًا */
    align-items: flex-end; /* محاذاة العناصر إلى اليمين */
    background-color: #ffffff; /* خلفية بيضاء عند الإغلاق */
    position: relative;
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid #164c9b; /* تحديد الإطار باللون الأزرق */
    border-radius: 5px;
    overflow: hidden;
}

    .faq .faq-container .faq-item h3 {
        font-weight: 500;
        font-size: 18px;
        line-height: 24px;
        margin: 0; /* إزالة الهوامش */
        transition: 0.3s;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: flex-end; /* محاذاة النص بالكامل إلى اليمين */
        text-align: right; /* التأكد من النص في الجهة اليمنى */
        width: 100%;
        color: #164c9b; /* النص باللون الأزرق عند الإغلاق */
        padding: 10px;
        background-color: #ffffff; /* خلفية بيضاء عند الإغلاق */
        border-radius: 3px;
        border: 1px solid #164c9b; /* تحديد الإطار حول السؤال */
    }


        .faq .faq-container .faq-item h3:hover {
            color: #0e3978; /* لون أزرق أغمق عند التمرير */
        }

    .faq .faq-container .faq-item .faq-content {
        display: grid;
        grid-template-rows: 0fr;
        transition: 0.3s ease-in-out;
        visibility: hidden;
        opacity: 0;
        text-align: right; /* محاذاة النص في الإجابة إلى اليمين */
        background-color: #ffffff; /* خلفية الإجابة بيضاء عند الإغلاق */
        color: #164c9b; /* النص باللون الأزرق */
        padding: 10px;
        border-radius: 3px;
    }

        .faq .faq-container .faq-item .faq-content p {
            margin-bottom: 0;
            overflow: hidden;
            text-align: right; /* التأكد من النص في الجهة اليمنى */
        }

    .faq .faq-container .faq-item .faq-toggle {
        position: absolute;
        top: 20px;
        right: 20px; /* وضع الأيقونة إلى الجهة اليمنى */
        font-size: 16px;
        line-height: 0;
        transition: 0.3s;
        cursor: pointer;
        color: #164c9b; /* لون الأيقونة الأزرق */
    }

        .faq .faq-container .faq-item .faq-toggle:hover {
            color: #0e3978; /* لون أزرق أغمق عند التمرير */
        }

.faq .faq-container .faq-active {
    background-color: #164c9b; /* خلفية العنصر زرقاء عند التفعيل */
    border-color: #164c9b; /* تحديد الإطار باللون الأزرق */
    color: #ffffff; /* النص باللون الأبيض */
}

    .faq .faq-container .faq-active h3,
    .faq .faq-container .faq-active h3:hover {
        color: #ffffff; /* النص باللون الأبيض عند التفعيل */
        background-color: transparent; /* إزالة خلفية إضافية */
    }

    .faq .faq-container .faq-active .faq-content {
        grid-template-rows: 1fr;
        visibility: visible;
        opacity: 1;
        padding-top: 10px;
        text-align: right; /* محاذاة النص إلى اليمين */
        background-color: #ffffff; /* خلفية الإجابة تبقى بيضاء */
        color: #164c9b; /* النص باللون الأزرق */
    }

    .faq .faq-container .faq-active .faq-toggle {
        transform: rotate(90deg);
        color: #ffffff; /* لون الأيقونة أبيض عند التفعيل */
    }

/* Team Section */
.team .team-member {
    background-color: var(--surface-color);
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .team .team-member .pic {
        width: 120px;
        height: 120px;
        margin: 0 auto 15px auto;
        border-radius: 50%;
        overflow: hidden;
        border: 3px solid var(--default-color);
    }

        .team .team-member .pic img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

    .team .team-member:hover {
        transform: translateY(-5px);
        box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.2);
    }

        .team .team-member:hover .pic img {
            transform: scale(1.1);
        }

    .team .team-member h4 {
        font-size: 18px;
        font-weight: bold;
        margin-bottom: 5px;
        color: #164c9b; /* اللون الأزرق المحدد */
        text-align: center;
    }



    .team .team-member span {
        font-size: 14px;
        color: var(--secondary-color);
        display: block;
        margin-bottom: 10px;
        text-align: center;
    }



/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .info h3 {
  font-weight: 700;
  font-size: 32px;
}

.testimonials .swiper {
  box-shadow: 0 15px 30px 0 rgba(0, 0, 0, 0.05);
  background-color: var(--surface-color);
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  box-sizing: content-box;
  min-height: 200px;
  position: relative;
  margin: 30px;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  height: 90px;
  border-radius: 50px;
  border: 6px solid var(--background-color);
  margin-right: 10px;
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

.testimonials .testimonial-item h4 {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
  margin: 0;
}

.testimonials .testimonial-item .stars {
  margin: 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 60%);
  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;
  margin: 15px auto 15px auto;
}

.testimonials .swiper-wrapper {
  height: auto;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  margin-bottom: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
  border: none;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

@media (max-width: 767px) {

  .testimonials .testimonials-carousel,
  .testimonials .testimonials-slider {
    overflow: hidden;
  }

  .testimonials .testimonial-item {
    margin: 15px;
  }
}

/*--------------------------------------------------------------
# Gallery Section
--------------------------------------------------------------*/
.gallery .gallery-item {
  overflow: hidden;
  border-right: 3px solid var(--background-color);
  border-bottom: 3px solid var(--background-color);
}

.gallery .gallery-item img {
  transition: all ease-in-out 0.4s;
}

.gallery .gallery-item:hover img {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
/* تصميم القسم */
.contact {
    padding: 60px 0;
}

    .contact .section-title h2 {
        font-size: 32px;
        font-weight: bold;
        text-align: center; /* محاذاة العنوان في المنتصف */
        color: #164c9b; /* اللون الأزرق المستخدم */
    }

    .contact .section-title p {
        text-align: center; /* محاذاة النص إلى المنتصف */
        font-size: 16px;
        color: #666;
        margin-bottom: 30px;
    }

/* تصميم العناصر داخل الجهة اليمنى */
.info-item {
    display: flex;
    align-items: center;
    background: #164c9b; /* الخلفية الزرقاء بشكل افتراضي */
    color: #fff; /* النص باللون الأبيض */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, color 0.3s ease; /* تأثير عند التمرير */
    text-align: right; /* محاذاة النص إلى اليمين */
}

    /* تنسيق الأيقونة */
    .info-item i {
        background: #fff; /* الأيقونة بخلفية بيضاء بشكل افتراضي */
        color: #164c9b; /* الأيقونة باللون الأزرق */
        width: 50px;
        height: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 50%;
        font-size: 20px;
        margin-left: 15px;
        transition: background-color 0.3s ease, color 0.3s ease;
    }

    /* تنسيق العنوان */
    .info-item h3 {
        margin-bottom: 5px;
        font-size: 18px;
        font-weight: bold; /* جعل النص بولد */
        color: inherit; /* النص يتبع اللون المحدد في العنصر */
    }

    /* تنسيق النص */
    .info-item p {
        margin: 0;
        color: inherit; /* النص يتبع اللون المحدد في العنصر */
        font-weight: bold; /* جعل النص بولد */
        text-align: right; /* محاذاة النص إلى اليمين */
    }

    /* تأثير عند التمرير */
    .info-item:hover {
        background: #fff; /* الخلفية تتحول إلى الأبيض عند التمرير */
        color: #164c9b; /* النص يتحول إلى الأزرق عند التمرير */
    }

        .info-item:hover i {
            background: #164c9b; /* الأيقونة تصبح باللون الأزرق */
            color: #fff; /* الأيقونة تصبح بيضاء */
        }

/* تصميم الأرقام الثابتة */
#phonecontect {
    font-weight: bold; /* جعل الأرقام بولد */
    font-size: 16px;
}

    /* تنسيق الروابط داخل "تواصل معنا" */
    #phonecontect a {
        color: inherit; /* النص داخل الروابط يتبع لون العنصر */
        text-decoration: none;
        font-weight: bold; /* جعل الروابط بولد */
    }

        #phonecontect a:hover {
            color: #164c9b; /* الروابط تصبح باللون الأزرق عند التمرير */
        }

/* تصميم العنصر "البريد الإلكتروني" */
.info-item {
    display: flex;
    align-items: center;
    background: #fff; /* الخلفية البيضاء بشكل افتراضي */
    color: #164c9b; /* النص باللون الأزرق */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, color 0.3s ease; /* تأثير عند التمرير */
    text-align: right; /* محاذاة النص إلى اليمين */
}
/* تصميم القسم */
.contact {
    padding: 60px 0;
}

/* تنسيق الحقول */
.form-control {
    text-align: right; /* محاذاة النص داخل الحقول إلى اليمين */
}

    /* محاذاة النص في الـ placeholder */
    .form-control::placeholder {
        text-align: right; /* محاذاة النص داخل الـ placeholder إلى اليمين */
    }

/* تنسيق العناوين */
.info-item h3 {
    margin-bottom: 5px;
    font-size: 18px;
    font-weight: bold; /* جعل النص بولد */
    color: inherit; /* النص يتبع اللون المحدد في العنصر */
    text-align: right; /* محاذاة العنوان إلى اليمين */
}

/* تنسيق النص داخل البريد الإلكتروني */
#emailcontect {
    text-align: right; /* محاذاة النص داخل البريد الإلكتروني إلى اليمين */
    font-weight: bold; /* جعل النص بولد */
}

/* تنسيق العناوين في الجهة اليمنى */
#address, #phonecontect, #emailcontect {
    text-align: right; /* محاذاة النص إلى اليمين */
    font-weight: bold; /* جعل النص بولد */
}

/* تصميم الأيقونة */
.info-item i {
    background: #fff; /* الأيقونة بخلفية بيضاء بشكل افتراضي */
    color: #164c9b; /* الأيقونة باللون الأزرق */
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 20px;
    margin-left: 15px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* تأثير عند التمرير */
.info-item:hover {
    background: #164c9b; /* الخلفية تتحول إلى الأزرق عند التمرير */
    color: #fff; /* النص يتحول إلى الأبيض عند التمرير */
}

    .info-item:hover i {
        background: #fff; /* الأيقونة تبقى بيضاء */
        color: #164c9b; /* الأيقونة تتحول إلى الأزرق عند التمرير */
    }

/* تنسيق الأرقام الثابتة */
#phonecontect {
    font-weight: bold; /* جعل الأرقام بولد */
    font-size: 16px;
}

    /* تنسيق الروابط داخل "تواصل معنا" */
    #phonecontect a {
        color: inherit; /* النص داخل الروابط يتبع لون العنصر */
        text-decoration: none;
        font-weight: bold; /* جعل الروابط بولد */
    }

        #phonecontect a:hover {
            color: #164c9b; /* الروابط تصبح باللون الأزرق عند التمرير */
        }

/* تصميم البريد الإلكتروني */
.info-item {
    background: #fff; /* الخلفية البيضاء بشكل افتراضي */
    color: #164c9b; /* النص باللون الأزرق */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, color 0.3s ease; /* تأثير عند التمرير */
}

    /* عند التمرير على "البريد الإلكتروني" */
    .info-item:hover {
        background: #164c9b; /* الخلفية تتحول إلى الأزرق عند التمرير */
        color: #fff; /* النص يتحول إلى الأبيض عند التمرير */
    }

        .info-item:hover i {
            background: #fff; /* الأيقونة تبقى بيضاء */
            color: #164c9b; /* الأيقونة تتحول إلى الأزرق عند التمرير */
        }

/* تنسيق البريد الإلكتروني */
#emailcontect {
    font-weight: bold; /* جعل البريد الإلكتروني بولد */
}

    /* تنسيق النص داخل البريد الإلكتروني (محاذاة اليمين) */
    #emailcontect a {
        color: inherit; /* النص داخل الروابط يتبع لون العنصر */
        text-decoration: none;
        font-weight: bold; /* جعل الروابط بولد */
    }

        #emailcontect a:hover {
            color: #fff; /* الروابط تصبح باللون الأبيض عند التمرير */
        }



/*.contact .info-item+.info-item {
  margin-top: 40px;
}

.contact .info-item i {
    color: var(--contrast-color);
    background: #164c9b;
    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 .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 36px;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}*/

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}