* {
    direction: rtl;
    font-family: "Vazirmatn", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --primary-teal: #116967;
    --secondary-gold: #116967;
    --light-gray: #f8f9fa;
    --dark-gray: #0f172a;
    --white: #ffffff;
    --border-color: #e5e7eb;
    --hover-bg: rgba(17, 105, 103, 0.05);
    --shadow-light: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 12px rgba(0, 0, 0, 0.15);
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
    --card-height: 320px;
    --icon-wrapper-size: 120px;
    --icon-circle-size: 45px;
    --border-radius: 20px;
}
html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
}
/* تخصيص شريط التمرير */
::-webkit-scrollbar {
    width: 10px; /* عرض الشريط */
}

::-webkit-scrollbar-track {
    background: #f1f1f1; /* خلفية المسار */
}

::-webkit-scrollbar-thumb {
    background: #0e6f6bc4; /* لون المقبض */
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: #116967; /* لون عند التمرير */
}

/*top bar*/
.professional-topbar {
    background: linear-gradient(
        135deg,
        var(--white) 0%,
        var(--light-gray) 100%
    );
    border-bottom: 2px solid var(--secondary-gold);
    padding: 15px 0;
    box-shadow: var(--shadow-light);
    position: relative;
    overflow: hidden;
}

.professional-topbar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        var(--primary-teal) 0%,
        var(--secondary-gold) 50%,
        var(--primary-teal) 100%
    );
}

/* قسم اللوغو والاتصال */
.logo-contact-section {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.logo-container {
    position: relative;
    transition: transform var(--transition-medium);
}

.logo-container:hover {
    transform: scale(1.05);
}

.logo-top {
    height: 80px;
    width: 80px;
    width: auto;
    transition: all var(--transition-medium);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo-top:hover {
    filter: drop-shadow(0 4px 8px rgba(17, 105, 103, 0.2));
}

/* عناصر الاتصال الجديدة */
.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-color);
    transition: all var(--transition-medium);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(17, 105, 103, 0.1),
        transparent
    );
    transition: left var(--transition-slow);
}

.contact-item:hover::before {
    left: 100%;
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-teal);
    background: var(--white);
}

/* قسم الهاتف */
.phone-contact .contact-icon {
    background: linear-gradient(135deg, var(--primary-teal), #138f85);
    color: var(--white);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all var(--transition-medium);
    position: relative;
}

.phone-contact:hover .contact-icon {
    background: linear-gradient(135deg, var(--secondary-gold), #0e6f6bc4);
    transform: scale(1.1) rotate(5deg);
}

/* قسم البريد الإلكتروني */
.email-contact .contact-icon {
    background: linear-gradient(135deg, var(--secondary-gold), #0e6f6bc4);
    color: var(--white);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all var(--transition-medium);
    position: relative;
}

.email-contact:hover .contact-icon {
    background: linear-gradient(135deg, var(--primary-teal), #138f85);
    transform: scale(1.1) rotate(-5deg);
}

/* معلومات الاتصال */
.contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.contact-label {
    font-size: 11px;
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 2px;
    transition: color var(--transition-medium);
}

.contact-value {
    font-size: 13px;
    color: var(--primary-teal);
    font-weight: 600;
    transition: color var(--transition-medium);
}

.contact-item:hover .contact-label {
    color: var(--primary-teal);
}
.contact-item:hover .contact-value {
    color: var(--secondary-gold);
}
.language-switcher .dropdown-menu {
    z-index: 20000;
}
.language-email-section {
    display: flex;
    align-items: center;
    gap: 20px;
}
.language-switcher {
    position: relative;
}
.language-switcher .btn {
    background: linear-gradient(135deg, var(--primary-teal), #138f85);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 15px;
    font-weight: 500;
    font-size: 14px;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}
.language-switcher .btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left var(--transition-slow);
}
.language-switcher .btn:hover::before {
    left: 100%;
}
.language-switcher .btn:hover {
    background: linear-gradient(135deg, var(--secondary-gold), #0e6f6bc4);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}
.language-switcher .btn:focus {
    box-shadow: 0 0 0 3px rgba(17, 105, 103, 0.25);
}
.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-medium);
    border-radius: 15px;
    overflow: hidden;
    margin-top: 10px;
    animation: dropdownFade 0.3s ease;
    z-index: 10000;
}
.dropdown-menu .dropdown-item:hover {
    background-color: #0e6f6bc4;
    border-radius: 5px;
}
@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.dropdown-item {
    padding: 12px 20px;
    font-weight: 500;
    transition: all var(--transition-fast);
    border-bottom: 1px solid var(--border-color);
}
.dropdown-item:last-child {
    border-bottom: none;
}
.dropdown-item:hover {
    background: var(--hover-bg);
    color: var(--primary-teal);
    transform: translateX(-5px);
}
.welcome-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 25px;
    position: relative;
    overflow: hidden;
}

.welcome-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
}

.welcome-message {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-teal);
    margin: 0;
}
.welcome-content i {
    font-size: 18px;
    color: var(--secondary-gold);
    transition: transform var(--transition-medium);
}
@media (max-width: 1199.98px) {
    .logo-contact-section {
        gap: 15px;
    }

    .language-email-section {
        gap: 15px;
    }

    .contact-item {
        padding: 6px 12px;
    }

    .logo-top {
        height: 50px;
    }
}

@media (max-width: 991.98px) {
    .logo-contact-section,
    .language-email-section {
        flex-direction: column;
        gap: 10px;
    }

    .professional-topbar .row {
        text-align: center;
    }

    .contact-item {
        width: 100%;
        justify-content: center;
    }

    .language-switcher .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    .professional-topbar {
        padding: 10px 0;
    }

    .logo-top {
        height: 45px;
    }

    .contact-item {
        padding: 8px;
        border-radius: 15px;
    }

    .contact-icon {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .contact-value {
        font-size: 12px;
    }

    .welcome-message {
        font-size: 14px;
    }

    .language-switcher .btn {
        padding: 8px 15px;
        font-size: 13px;
    }
}
@media (max-width: 575.98px) {
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }

    .contact-info {
        align-items: center;
    }

    .welcome-content {
        flex-direction: column;
        gap: 8px;
        padding: 12px 15px;
    }

    .logo-top {
        height: 40px;
    }
}
@media (max-width: 700px) {
    .books ul {
        grid-template-columns: repeat(1, 1fr);
    }
    .professional-topbar {
        display: none;
    }
}
@media (min-width: 701px) and (max-width: 1000px) {
    .books ul {
        grid-template-columns: repeat(2, 1fr);
    }
    .phone-contact {
        display: none;
    }
    .email-contact {
        display: none;
    }
}
/*section-heading*/
.section-heading {
    position: relative;
    display: inline-block;
    padding: 0 20px;
    font-size: 24px;
    color: #4e4e4e;
    font-weight: bold;
}

.section-heading::before,
.section-heading::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 60px;
    height: 2px;
    background-color: #116967;
}

.section-heading::before {
    right: 100%;
    transform: translateY(-50%);
}

.section-heading::after {
    left: 100%;
    transform: translateY(-50%);
}
/*btnhov*/
.btnhov {
    display: inline-block;
    width: 150px;
    height: 40px;
    border-radius: 15px;
    border: 1px solid #116967;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease-in;
    z-index: 1;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}

.btnhov::before,
.btnhov::after {
    content: "";
    position: absolute;
    top: 0;
    width: 0;
    height: 100%;
    transform: skew(15deg);
    transition: all 0.5s;
    overflow: hidden;
    z-index: -1;
}

.btnhov::before {
    left: -10px;
    background: #116967;
}

.btnhov::after {
    right: -10px;
    background: #0e6f6bc4;
}

.btnhov:hover::before,
.btn:hover::after {
    width: 65%;
}

.btnhov:hover span {
    color: #0e6f6bc4;
    transition: 0.3s;
}
.btnhov:hover {
    color: #fff;
    border: none;
    transition: transform var(--transition-medium);
}
/*header*/
header {
    box-shadow: 0 4px 6px rgba(36, 36, 36, 0.3),
        0 8px 20px rgba(41, 41, 41, 0.2);
    z-index: 1000;
    background-color: #116967;
}
.sticky-top.scrolled {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.3s ease;
}
.navbar-nav .nav-link {
    color: #fff;
    position: relative;
    text-align: right;
}
.navbar-nav .nav-link.active {
    color: #fff;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
    color: #fff;
}
.navbar-nav .nav-item .nav-link::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    height: 2px;
    width: 0%;
    background-color: #323a45;
    transition: width 0.3s ease;
}
.navbar-nav .nav-item .nav-link:hover::before {
    width: 100%;
}
.navbar-nav .dropdown-menu {
    background-color: #323a45;
}
.navbar-nav .dropdown-menu li a {
    color: #fff;
}
.transition-icon {
    transition: transform 0.3s ease;
}
.rotate-up {
    transform: rotate(180deg);
}
.nav-item {
    font-size: 17px;
}
.offcanvas {
    background-color: #116967;
}
.navbar-toggler {
    border: none; /* إزالة الحدود */
    background-color: transparent; /* خلفية شفافة */
    padding: 0.5rem;
    box-shadow: none; /* إزالة أي ظل */
    outline: none;
    font-size: 2rem;
}

.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler:hover {
    border: none;
    background-color: transparent;
    box-shadow: none;
    outline: none;
}

/*home section*/
.carousel-header .carousel-control-prev .carousel-control-prev-icon,
.carousel-header .carousel-control-next .carousel-control-next-icon {
    width: 4rem;
    height: 4rem;
    margin-left: -60px;
    border-radius: 50%;
    background-size: 60% 60%;
    transition: 0.5s;
}

.carousel-header .carousel-control-next .carousel-control-next-icon {
    margin-left: 0;
    margin-right: -60px;
}

.carousel-header .carousel .carousel-indicators {
    padding-bottom: 0;
    transition: 0.5s;
}

.carousel-header .carousel .carousel-indicators li,
.carousel-header .carousel .carousel-indicators li,
.carousel-header .carousel .carousel-indicators li {
    width: 8px;
    height: 8px;
    border: 8px solid #323a45;
    border-radius: 50%;
    margin-right: 30px;
    transition: 0.5s;
}
.carousel-indicators {
    list-style: none; /* إزالة الترقيم */
}
.carousel-header .carousel .carousel-indicators li,
.carousel-header .carousel .carousel-indicators li,
.carousel-header
    .carousel
    .carousel-indicators
    li
    .carousel-header
    .carousel
    .carousel-indicators
    li.active {
    width: 8px;
    height: 8px;
    border: 8px solid #116967;
}
.home .card {
    color: #fff;
}
.home .card-color {
    background-color: #0e6f6bc4;
}
.carousel-header .carousel-inner .carousel-item {
    position: relative;
    min-height: 100vh;
}

.carousel-header .carousel-inner .carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.carousel-header .carousel-inner .carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
    background-size: cover;
}
@media (max-width: 768px) {
    .carousel-header {
        height: 700px !important;
    }

    .carousel-header .carousel-control-prev .carousel-control-prev-icon,
    .carousel-header .carousel-control-next .carousel-control-next-icon {
        margin-top: 500px;
    }

    .carousel-header .carousel-control-prev .carousel-control-prev-icon {
        margin-left: 0px;
    }

    .carousel-header .carousel-control-next .carousel-control-next-icon {
        margin-right: 0px;
    }

    .carousel-header .carousel .carousel-indicators {
        padding: 0;
    }
}
/*about section*/
#about h2 {
    font-size: 2.5rem;
    color: #4e4e4e;
}
#about h2 span {
    color: #116967;
}
#about h5 span {
    color: #116967;
}
#about .icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 1px solid #116967;
    cursor: pointer;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}
#about .icon-circle i {
    font-size: 16px;
    color: #116967;
    margin-top: 4px;
}

#about .bi {
    color: #116967;
}
#about .btnhov:hover span {
    color: #fff;
}
#about .btnhov:hover i {
    color: #fff;
}

/*news*/
.news .card {
    border: 1px solid #116967;
    border-radius: 8px;
    box-shadow: 0 5px 3px rgba(3, 27, 78, 0.08);
    transition: transform 0.3s;
}
.news .sh {
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px,
        rgba(0, 0, 0, 0.22) 0px 10px 10px;
}
.news .card:hover {
    transform: translateY(-10px);
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px,
        rgba(0, 0, 0, 0.22) 0px 10px 10px;
}
.news .card-img-top {
    width: 90%;
    margin: 10px auto;
    height: 250px; /* أو أي ارتفاع يناسبك */
    object-fit: cover;
    border-radius: 1rem;
}

.news .card-body {
    margin-right: 1rem;
}
.news .card-title {
    color: #116967;
    font-size: 0.8rem;
}
.news .read-more {
    font-weight: 600;
    text-decoration: none;
    color: #4e4e4e;
    transition: color 0.3s;
}
.news button {
    position: relative;
    display: inline-block;
    cursor: pointer;
    outline: none;
    border: 0;
    vertical-align: middle;
    text-decoration: none;
    background: transparent;
    padding: 0;
    font-size: inherit;
    font-family: inherit;
}

.news button.learn-more {
    width: 12rem;
    height: auto;
}

.news button.learn-more .circle {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: relative;
    display: block;
    margin: 0;
    width: 3rem;
    height: 3rem;
    background: #116967;
    border-radius: 1.625rem;
}

.news button.learn-more .circle .icon {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    background: #fff;
}

.news button.learn-more .circle .icon.arrow {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    right: 0.625rem; /* السهم على اليمين */
    width: 1.125rem;
    height: 0.125rem;
    background: none;
}

.news button.learn-more .circle .icon.arrow::before {
    position: absolute;
    content: "";
    top: -0.29rem;
    left: 0.0625rem; /* رأس السهم على اليسار */
    width: 0.625rem;
    height: 0.625rem;
    border-bottom: 0.125rem solid #fff;
    border-left: 0.125rem solid #fff;
    transform: rotate(45deg); /* يشير إلى اليسار */
}

.news button.learn-more .button-text {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.75rem 0;
    margin: 0 -0.6rem 0 0; /* المسافة من اليمين */
    color: #4e4e4e;
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
    text-transform: uppercase;
    direction: rtl; /* اتجاه النص عربي */
}

.news button:hover .circle {
    width: 100%;
}

.news button:hover .circle .icon.arrow {
    background: #fff;
    transform: translateX(-1rem); /* يتحرك نحو اليسار */
}

.news button:hover .button-text {
    color: #fff;
}

/*info*/
.custom-card {
    position: relative;
    padding: 2rem;
    border-radius: 15px;
    background-color: #f8f9fa;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    overflow: hidden;
    text-align: center;
    transition: background-color 0.4s ease;
}

.custom-card .corner {
    position: absolute;
    top: 0;
    right: 0;
    width: 60px; /* حجم أصغر */
    height: 60px;
    background-color: #116967;
    border-bottom-left-radius: 60px;
    z-index: 1;
    transition: transform 0.6s ease;
    transform-origin: top right;
}
.custom-card:hover .corner {
    transform: scale(20);
}

.custom-card .icon,
.custom-card p {
    position: relative;
    z-index: 2;
    transition: color 0.4s ease;
    color: #4e4e4e;
    font-size: 1.2rem;
}
.custom-card .icon {
    color: #116967;
    font-size: 1.2rem;
}

.custom-card:hover {
    color: #fff;
}

.custom-card:hover .icon,
.custom-card:hover p {
    color: #fff;
}
/*books*/
.books {
    position: relative;
    color: white;
    display: grid;
    place-content: center;
    background-color: #116967;
    margin-top: 70px;
}
.books .title {
    margin-top: -100px;
}
.books ul {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
    mask: linear-gradient(270deg, #0000, #000 5% 95%, #0000);
    -webkit-mask: linear-gradient(270deg, #0000, #000 5% 95%, #0000);
    margin: 0;
    padding: 0;
    list-style: none;
}

.books ul > li {
    grid-area: 1/1;
    animation: infiniteScrollRTL 60s linear infinite; /* بدّلناها من 20 إلى 40 */
    font-size: 1rem;
    border: 0.5rem solid #0000;
    padding: 1rem;
    text-align: center;
    background: #f8f9fa padding-box;
    border-radius: 1rem;
    color: #0e0e0e;
}

/* نحسب التأخير بناء على 40 ثانية بدل 20 */

.books ul > li:nth-child(2) {
    animation-delay: calc(-0.1428 * 60s);
}
.books ul > li:nth-child(3) {
    animation-delay: calc(-0.2857 * 60s);
}
.books ul > li:nth-child(4) {
    animation-delay: calc(-0.4285 * 60s);
}
.books ul > li:nth-child(5) {
    animation-delay: calc(-0.5714 * 60s);
}
.books ul > li:nth-child(6) {
    animation-delay: calc(-0.7142 * 60s);
}
.books ul > li:nth-child(7) {
    animation-delay: calc(-0.8571 * 60s);
}

.books ul.alt li {
    animation-direction: reverse;
}

@keyframes infiniteScrollRTL {
    14.28% {
        transform: translateX(100%);
    }
    14.29% {
        transform: translateX(-600%);
    }
}

/*portfolio*/
.portfolio {
    margin-top: 100px;
    text-align: center;
}
.portfolio .top {
    margin-top: 30px;
}
.portfolio .portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 0;
    margin: 0 0 40px;
}
@media (max-width: 768px) {
    .portfolio .portfolio-filters {
        gap: 10px;
    }
}

.portfolio .portfolio-entry {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--surface-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.portfolio .portfolio-entry .entry-image {
    position: relative;
    margin: 0;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.portfolio .portfolio-entry .entry-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio .portfolio-entry .entry-image .entry-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(0, 0, 0, 0.8) 100%
    );
    display: flex;
    align-items: flex-start;
    padding: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio .portfolio-entry .entry-image .entry-overlay .overlay-content {
    width: 100%;
    transform: translateY(50px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio .portfolio-entry .entry-image .entry-overlay .entry-meta {
    color: var(--accent-color);
    font-size: 24px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}
.portfolio .portfolio-entry .entry-image .entry-overlay .entry-meta a {
    color: #fff;
}

.portfolio
    .portfolio-entry
    .entry-image
    .entry-overlay
    .entry-links
    a:nth-child(1) {
    transition-delay: 0.1s;
}

.portfolio
    .portfolio-entry
    .entry-image
    .entry-overlay
    .entry-links
    a:nth-child(2) {
    transition-delay: 0.2s;
}

.portfolio .portfolio-entry:hover .entry-image img {
    transform: scale(1.05);
}

.portfolio .portfolio-entry:hover .entry-image .entry-overlay {
    opacity: 1;
}
@media (max-width: 768px) {
    .portfolio .portfolio-entry .entry-image .entry-overlay {
        padding: 20px;
    }

    .portfolio .portfolio-entry .entry-image .entry-overlay .entry-title {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .portfolio .portfolio-entry .entry-image .entry-overlay .entry-links a {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    #about .container {
        margin-top: 20rem;
    }
}

.portfolio .portfolio-item .entry-image {
    aspect-ratio: 4/3;
}

@media (min-width: 1200px) {
    .portfolio .portfolio-item .entry-title {
        font-size: 20px;
    }
}

@media (min-width: 768px) {
    .portfolio .row {
        margin-left: -10px;
        margin-right: -10px;
    }

    .portfolio .row .portfolio-item {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (min-width: 992px) {
    .portfolio .row {
        margin-left: -12px;
        margin-right: -12px;
    }

    .portfolio .row .portfolio-item {
        padding-left: 12px;
        padding-right: 12px;
    }
}

@media (min-width: 1200px) {
    .portfolio .row {
        margin-left: -15px;
        margin-right: -15px;
    }

    .portfolio .row .portfolio-item {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (min-width: 1200px) {
    .portfolio .entry-overlay {
        padding: 25px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .portfolio .entry-overlay {
        padding: 20px;
    }
}

@media (max-width: 991px) {
    .portfolio .entry-overlay {
        padding: 20px;
    }
}
/*info*/
.step-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 60px;
    flex-wrap: wrap;
    text-align: center;
}
.step {
    max-width: 250px;
    flex: 1;
}
.circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #0e6f6bc4;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
        box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.step:hover .circle {
    transform: translateY(-10px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.step-text h5 {
    margin-top: 15px;
    color: #4e4e4e;
}

.step-text p {
    margin-top: 10px;
}

@media (max-width: 608px) {
    .step-container {
        display: block;
        gap: 40px;
    }

    .step {
        max-width: 100%;
    }
}
/*footer*/
footer {
    background-color: #116967;
}
.footer-menu i {
    color: #ffffff;
}
.footer-menu #line {
    background-color: #343a40;
}
.menu-item i {
    color: #fffff;
    font-size: 1.2rem;
}
.col-md-3,
.col-md-2 {
    color: #d4d4d4;
}
.col-md-3,
.col-md-2 h5 {
    color: #ffffff;
}
.col-lg-3 {
    color: #cacaca;
}
.col-lg-3 h5 {
    color: #ffffff;
}
.list-unstyled {
    margin-top: 5px;
}
.menu-item {
    margin-bottom: 8px;
    color: #ffffff;
}
.menu-item .nav-link {
   color:#ffffff;
}

#btn-sub {
    background-color: #343a40;
    color: #ffffff;
}
.widget-title-wrapper {
    display: inline-block;
    position: relative;
    padding-bottom: 5px;
}
.underline {
    width: 100%;
    height: 5px;
    background-color: #343a40;
    position: absolute;
    bottom: 0;
    right: 0;
    border-radius: 3px;
    overflow: hidden;
}

.underline span {
    width: 15px;
    height: 100%;
    background-color: #a3cfcf;
    border-radius: 3px;
    position: absolute;
    top: 0;
    right: -20px;
    animation: moving 2s linear infinite;
}

.social-links li {
    transition: all var(--transition-medium);
    border: none;
}
.social-links li:hover {
    transform: translateY(0) scale(0.95);
}
.social-links #line:hover,
#line:focus,
#line:active {
    background-color: #323a45; /* نفس اللون */
    color: #fff; /* نفس اللون */
    outline: none;
    box-shadow: none;
    border: none;
    text-decoration: none;
}
.contact-buttons a {
    background-color: #343a40;
    color: #ffffff;
    transition: all var(--transition-medium);
}
.contact-buttons a:hover {
    background-color: #272e37;
    color: #ffffff;
    transform: translateY(0) scale(0.95);
}
.contact-buttons .btn:hover,
.contact-buttons .btn:focus,
.contact-buttons .btn:active {
    background-color: #272e37; /* نفس اللون */
    color: #fff; /* نفس لون النص */
    outline: none;
    border: none;
    box-shadow: none; /* إزالة أي ظل تلقائي */
}
.focus-frame {
    position: relative;
    width: 200px;
    height: 120px;
    border: 2px solid #ccc;
    border-radius: 0.5rem;
    overflow: hidden;
    perspective: 800px;
    cursor: pointer;
}

.focus-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    transform-origin: center center;
}

/* حركة دخول دون تصغير */
.focus-frame:hover .focus-image {
    transform: translateZ(-20px) scale(1.09); /* يعطي إحساس بالدخول دون تقليص */
}

/* الزوايا */
.corner-a {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid white;
}

.top-left {
    top: 5px;
    left: 5px;
    border-right: none;
    border-bottom: none;
}

.top-right {
    top: 5px;
    right: 5px;
    border-left: none;
    border-bottom: none;
}

.bottom-left {
    bottom: 5px;
    left: 5px;
    border-right: none;
    border-top: none;
}

.bottom-right {
    bottom: 5px;
    right: 5px;
    border-left: none;
    border-top: none;
}

@keyframes moving {
    0% {
        right: -20px;
    }
    100% {
        right: 100%;
    }
}
#footer-bottom {
    background-color: #323a45;
    color: #ffffff;
}
#footer-bottom p {
    margin-top: 0;
    margin-bottom: 0;
}
#scrollTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: #116967;
    color: #fff;
    font-size: 24px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    border: none;
}

/******************about page***********************/
/********************************************/
.about-section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    text-align: right;
}

.about-section::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 40%;
    height: 200%;
    background: #0e6f6c15;
    transform: rotate(-15deg);
    border-radius: 50%;
}

.about-section::after {
    content: "";
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 30%;
    height: 150%;
    background: #0e6f6c15;
    transform: rotate(15deg);
    border-radius: 50%;
}

.about-section .about-container {
    position: relative;
    z-index: 1;
}

.about-section .about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 500px;
}
.about-section .about-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.about-section .about-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
}
.about-section .about-image-shape {
    position: relative;
    width: 100%;
    height: 450px;
    background: linear-gradient(135deg, #116967 0%, #0e6f6bc4 100%);
    border-radius: 60% 40% 60% 40% / 40% 60% 40% 60%;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.5s ease;
}
.about-section .about-image-shape:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.2);
}
.about-section .about-image-shape::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 100%
    );
    z-index: 1;
}
.about-section .about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.9) contrast(1.1);
}

.about-section .image-decoration {
    position: absolute;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}
.about-section .decoration-1 {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0e6f6bc4, #138f85);
    top: -20px;
    right: -20px;
    opacity: 0.8;
    z-index: 2;
}
.about-section .decoration-2 {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0e6f6bc4, #138f85);
    bottom: -15px;
    left: -15px;
    opacity: 0.7;
    animation-delay: -2s;
    z-index: 2;
}
.about-section .decoration-3 {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0e6f6bc4, #138f85);
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
    opacity: 0.6;
    animation-delay: -4s;
    z-index: 2;
}
@keyframes float {
    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* النص بجانب الصورة */
.about-section .about-text {
    padding: 2rem;
}

.about-section .about-badge {
    display: inline-block;
    background: linear-gradient(135deg, #0e6f6bc4, #116967);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.about-section .about-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    position: relative;
}

.about-section .about-description {
    font-size: 1.1rem;
    color: #5a6c7d;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-section .about-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.about-section .about-features li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #495057;
}

.about-section .about-features li i {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1rem;
    font-size: 0.8rem;
}

.about-section .about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.about-section .stat-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.about-section .stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.about-section .stat-number {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.about-section .stat-label {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 0.5rem;
}

.about-section .about-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.about-section .about-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: white;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-section .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .about-section .about-image-wrapper {
        max-width: 350px;
    }

    .about-section .about-image-shape {
        height: 400px;
    }

    .about-section .about-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .about-section .about-section {
        padding: 3rem 0;
    }

    .about-section .about-content {
        gap: 2rem;
    }

    .about-section .about-image-wrapper {
        max-width: 280px;
    }

    .about-section .about-image-shape {
        height: 320px;
    }

    .about-section .about-title {
        font-size: 1.8rem;
    }

    .about-section .about-description {
        font-size: 1rem;
    }

    .about-section .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .about-section .about-text {
        padding: 1rem;
    }
}

/**/
.center-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin-top: 5rem;
}

.center-container .main-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    padding: 2.5rem 5rem;
    max-width: 1100px;
    width: 100%;
    height: auto;
    min-height: 320px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.center-container .main-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #0e6f6bc4, #116967, #138f85, #323a45);
    border-radius: 30px 30px 0 0;
}

.center-container .main-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.center-container .main-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    position: relative;
    text-align: center;
}

.center-container .main-title::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 4px;
    background: linear-gradient(90deg, #0e6f6bc4, #116967);
    border-radius: 2px;
}

.center-container .subtitle {
    font-size: 1.3rem;
    color: #5a6c7d;
    margin-bottom: 1rem;
    line-height: 1.5;
    text-align: center;
}

.center-container .description {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.center-container .icon-circle {
    width: 85px;
    height: 85px;
    background: linear-gradient(135deg, #0e6f6bc4, #116967);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(102, 126, 234, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0);
    }
}

.center-container .features-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.8rem;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.center-container .features-list li {
    padding: 0.5rem 0;
    font-size: 0.95rem;
    color: #495057;
    position: relative;
    padding-right: 2rem;
    text-align: right;
}

.center-container .features-list li::before {
    content: "\25C0";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 0;
    color: #116967;
    font-size: 1.2rem;
}

.center-container .btn-primary-custom {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    color: white;
    padding: 10px 28px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 0.5rem;
}

.center-container .btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    color: white;
}
.center-container .decoration-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}
.center-container .circle-1 {
    width: 150px;
    height: 150px;
    background: #0e6f6c91;
    top: -75px;
    right: -75px;
}
.center-container .circle-2 {
    width: 100px;
    height: 100px;
    background: #0e6f6ca7;
    bottom: -50px;
    left: -50px;
}
.center-container .circle-3 {
    width: 80px;
    height: 80px;
    background: #0e6f6ca5;
    top: 50%;
    left: -40px;
    transform: translateY(-50%);
}
/* Responsive Design */
@media (max-width: 992px) {
    .center-container .main-box {
        max-width: 95%;
        padding: 2rem 4rem;
        min-height: 280px;
    }

    .center-container .main-title {
        font-size: 2.2rem;
    }

    .center-container .features-list {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .center-container .main-box {
        padding: 1.8rem 3rem;
        min-height: 260px;
        max-width: 98%;
    }

    .center-container .main-title {
        font-size: 1.8rem;
    }

    .center-container .subtitle {
        font-size: 1.1rem;
    }

    .center-container .description {
        font-size: 1rem;
    }

    .center-container .icon-circle {
        width: 70px;
        height: 70px;
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }

    .center-container .features-list {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .center-container .main-box {
        padding: 1.5rem 2rem;
        min-height: 240px;
        max-width: 99%;
    }

    .center-container .main-title {
        font-size: 1.5rem;
    }

    .center-container .subtitle {
        font-size: 1rem;
    }

    .center-container .description {
        font-size: 0.95rem;
    }
}

/*.main-section*/
.main-section {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
}

.main-section .section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
}

.main-section .section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 380px;
    height: 4px;
    background: linear-gradient(90deg, #116967, #0e6f6bc4);
    border-radius: 2px;
}

.main-section .feature-list {
    list-style: none;
    padding: 0;
}

.main-section .feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 3rem;
    padding: 2rem;
    border-radius: 15px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.main-section .feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.main-section .number-container {
    position: relative;
    margin-left: 2rem;
    flex-shrink: 0;
}

.main-section .feature-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #116967, #0e6f6bc4);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.main-section .curved-shape {
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 40px;
    background: linear-gradient(135deg, #116967, #0e6f6bc4);
    border-radius: 0 0 40px 40px;
    opacity: 0.7;
    z-index: 1;
}

.main-section .feature-content {
    flex: 1;
}

.main-section .feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.main-section .feature-description {
    color: #6c757d;
    font-size: 1.1rem;
    line-height: 1.8;
}

.main-section .feature-icon {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: #667eea;
    opacity: 0.3;
    font-size: 2rem;
}

@media (max-width: 768px) {
    .main-section {
        padding: 2rem 1rem;
        margin: 1rem 0;
    }

    .main-section .section-title {
        font-size: 2rem;
    }

    .main-section .feature-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .main-section .number-container {
        margin-left: 0;
        margin-bottom: 1rem;
    }

    .main-section .feature-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .main-section .curved-shape {
        width: 70px;
        height: 35px;
    }
}
/*vision*/
.vision-section {
    min-height: 60vh;
    padding: 3rem 0;
    overflow-x: hidden;
    margin-top: 8rem;
}
.vision-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.vision-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 4rem 3rem;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.5s ease;
}

.vision-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    transition: all 0.8s ease;
    opacity: 0;
}

.vision-card:hover::before {
    animation: shine 1.5s ease-in-out;
}

.vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

@keyframes shine {
    0% {
        left: -50%;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        left: 150%;
        opacity: 0;
    }
}

.vision-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #0e6f6bc4, #116967);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    position: relative;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

.vision-icon i {
    font-size: 2.5rem;
    color: white;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.vision-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 2rem;
    position: relative;
}

.vision-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 170px;
    height: 4px;
    background: linear-gradient(45deg, #0e6f6bc4, #116967);
    border-radius: 2px;
}

.vision-text {
    font-size: 1.3rem;
    line-height: 2;
    color: #555;
    font-weight: 400;
    position: relative;
    z-index: 2;
}

.vision-text .highlight {
    background: linear-gradient(135deg, #0e6f6bc4, #116967);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.decorative-dots {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: linear-gradient(45deg, #0e6f6bc4, #116967);
    border-radius: 50%;
    opacity: 0.3;
    animation: twinkle 2s ease-in-out infinite;
}

.dot:nth-child(1) {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}
.dot:nth-child(2) {
    top: 30%;
    right: 10%;
    animation-delay: 0.5s;
}
.dot:nth-child(3) {
    bottom: 25%;
    left: 20%;
    animation-delay: 1s;
}
.dot:nth-child(4) {
    bottom: 35%;
    right: 15%;
    animation-delay: 1.5s;
}

@keyframes twinkle {
    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.2);
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .vision-card {
        padding: 3rem 2rem;
        margin: 0 1rem;
    }

    .vision-title {
        font-size: 1.8rem;
    }

    .vision-text {
        font-size: 1.1rem;
    }

    .vision-icon {
        width: 80px;
        height: 80px;
    }

    .vision-icon i {
        font-size: 2rem;
    }
}
/*************************************/
/****************information********************/
/************************************/
.information {
    min-height: 100vh;
    padding: 2rem 0;
}
.information .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.information .main-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 3rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-top: 5px solid #116967;
}

.information .main-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.information .main-header .subtitle {
    font-size: 1.3rem;
    color: #7f8c8d;
    font-weight: 400;
}

.information .section {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-right: 6px solid #116967;
}

.information .section-title {
    font-size: 2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.information .section-title i {
    color: #3498db;
    font-size: 2rem;
}

.information .info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.information .info-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    border: 2px solid #dee2e6;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.information .info-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0e6f6bc4, #116967);
}

.information .info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.information .info-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0e6f6bc4, #116967);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);
}

.information .info-icon i {
    font-size: 2.2rem;
    color: white;
}

.information .info-value {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.information .info-label {
    font-size: 1.1rem;
    color: #7f8c8d;
    font-weight: 500;
}

.information .details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.information .detail-box {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 2rem;
    border-right: 4px solid #0e6f6bc4;
    transition: all 0.3s ease;
}

.information .detail-box:hover {
    background: #e9ecef;
    transform: translateX(-5px);
}

.information .detail-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.information .detail-title i {
    color: #3498db;
    font-size: 1.2rem;
}

.information .detail-description {
    font-size: 1rem;
    color: #5a6c7d;
    line-height: 1.7;
    margin: 0;
}

.information .standards-timeline {
    background: linear-gradient(135deg, #0e6f6bc4, #138f85);
    color: white;
    border-radius: 15px;
    padding: 3rem;
    margin: 2rem 0;
}
.information .timeline-header {
    text-align: center;
    margin-bottom: 3rem;
}

.information .timeline-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #323a45;
}

.information .timeline-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

.information .timeline-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.information .timeline-step {
    text-align: center;
    position: relative;
}

.information .step-number {
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #138f85;
}

.information .step-text {
    font-size: 1rem;
    line-height: 1.6;
}
.information .step-text strong {
    color: #343a40;
}
@media (max-width: 992px) {
    .information .container {
        padding: 0 1rem;
    }

    .information .main-header h1 {
        font-size: 2.5rem;
    }

    .information .section {
        padding: 2rem;
    }

    .information .timeline-step:not(:last-child)::after {
        content: "⬇";
        left: 50%;
        top: calc(100% + 0.5rem);
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .information .main-header h1 {
        font-size: 2rem;
    }

    .information .section-title {
        font-size: 1.8rem;
    }

    .information .info-grid {
        grid-template-columns: 1fr;
    }

    .information .details-grid {
        grid-template-columns: 1fr;
    }
}

/******************task page***********************/
/********************************************/
.services-section {
    background-color: #f8f9fa;
    min-height: 100vh;
    padding: 80px 0;
    position: relative;
    text-align: right;
}

/* Service Card Styles */
.service-card {
    background: #ffffff;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    height: var(--card-height);
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    border-top-color: #116967;
    box-shadow: var(--shadow-light);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* Typography Styles for Arabic */
.service-title {
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--dark-text);
    margin-bottom: 1rem;
    line-height: 1.3;
    text-align: right;
}

.service-description {
    color: var(--light-text);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    flex-grow: 1;
    text-align: right;
    font-weight: 400;
}

/* Decorative Icon Styles - RTL Adjusted */
.service-card .icon-wrapper {
    position: absolute;
    bottom: -45px;
    right: -15px;
    width: var(--icon-wrapper-size);
    height: var(--icon-wrapper-size);
    z-index: 2;
    opacity: 0.9;
}

.services-section .icon-circle-bg {
    width: 80%;
    height: 80%;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-section .service-icon {
    font-size: 1.8rem;
    color: #116967;
}

/* Enhanced Arabic Typography */
.service-title {
    font-weight: 700;
    letter-spacing: 0.5px;
}

.service-description {
    font-weight: 400;
    letter-spacing: 0.3px;
    text-align: justify;
}

/* Responsive Design for Arabic */
@media (max-width: 1199.98px) {
    .service-card {
        height: 300px;
        padding: 2.2rem;
    }

    .service-title {
        font-size: 1.5rem;
    }

    .service-description {
        font-size: 1.05rem;
    }
}

@media (max-width: 991.98px) {
    .service-card {
        height: 280px;
        padding: 2rem;
    }

    .service-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 767.98px) {
    .service-card {
        margin-bottom: 2rem;
        height: auto;
        min-height: 300px;
        padding: 2.5rem;
    }

    .icon-wrapper {
        width: 90px;
        height: 90px;
        bottom: -10px;
        right: -10px;
    }

    .service-title {
        font-size: 1.5rem;
    }

    .service-description {
        font-size: 1.1rem;
        line-height: 1.7;
    }
}

@media (max-width: 575.98px) {
    .services-section {
        padding: 60px 0;
    }

    .service-card {
        padding: 2rem;
        margin-bottom: 1.5rem;
        min-height: 280px;
    }

    .service-title {
        font-size: 1.4rem;
        margin-bottom: 1.2rem;
    }

    .service-description {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    .icon-wrapper {
        width: 80px;
        height: 80px;
        right: -8px;
        bottom: -8px;
    }
}

.text-start {
    text-align: right !important;
}

.text-end {
    text-align: left !important;
}

/* Animation Enhancements for Arabic */
.service-card {
    animation: fadeInUpRTL 0.6s ease-out;
}

@keyframes fadeInUpRTL {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Accessibility Improvements for Arabic */
.service-card:focus-within {
    outline: 2px solid var(--primary-red);
    outline-offset: 2px;
}

/* Arabic number support */
.service-title,
.service-description {
    direction: rtl;
    unicode-bidi: embed;
}

/* Print Styles for Arabic */
@media print {
    .services-section {
        background: white;
    }

    .service-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .icon-wrapper {
        display: none;
    }

    .service-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .service-card {
        border: 2px solid var(--dark-text);
    }

    .service-icon {
        color: #000000;
    }

    .service-description {
        color: #000000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .service-card {
        transition: none;
    }

    .service-card {
        animation: none;
    }
}

/****************************************/
/**************divisions page*************************/
.services-container {
    background: white;
    border-radius: 20px;
    min-height: auto;
    padding: 50px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    margin-top: 10%;
    position: relative;
    z-index: 10;
}
.service-card-enhanced {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid transparent;
    border-radius: 15px;
    margin-bottom: 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
}
.service-card-enhanced:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #0e6f6bc4;
}
.service-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: none;
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
}
.st {
    font-size: 1.4rem;
    color: #272e37;
}
.service-header:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
}

.service-header.collapsed {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.service-header:not(.collapsed) {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #343a40 100%);
    color: white;
}

.service-number-badge {
    background: #fff;
    color: #272e37;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
    flex-shrink: 0;
}

.service-header:not(.collapsed) .service-number-badge {
    background: white;
    color: #272e37;
    border: 1px solid #116967;
}

.service-icon-large {
    font-size: 2rem;
    color: #116967;
    transition: all 0.3s ease;
}

.service-header:not(.collapsed) .service-icon-large {
    color: #116967;
}

.service-title {
    font-size: 1.2rem;
    font-weight: 700;
    flex-grow: 1;
    text-align: right;
    color: #272e37;
}

.chevron-icon {
    font-size: 1.2rem;
    color: #116967;
    transition: transform 0.3s ease;
}

.service-header:not(.collapsed) .chevron-icon {
    transform: rotate(180deg);
    color: #116967;
}

/* Service content */
.service-content {
    background: var(--dark-bg);
    color: white;
    padding: 40px;
    border-radius: 15px;
    margin-top: -10px;
}

.service-tags-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

.service-tag-modern {
    background: linear-gradient(135deg, #116967 0%, #0e6f6bc4 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}
.service-tag-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px #1169688c;
}
.service-image-enhanced {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}
/* Responsive design */
@media (max-width: 768px) {
    .services-container {
        padding: 30px 20px;
        margin: 125px 15px 30px;
    }
    .service-content {
        padding: 30px 20px;
    }
    .service-tags-grid {
        grid-template-columns: 1fr;
    }
    .stat-number {
        font-size: 2.5rem;
    }
}
@media (max-width: 576px) {
    .service-header {
        padding: 20px 15px;
        gap: 10px;
    }

    .service-title {
        font-size: 1rem;
    }
}
.background-bubbles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.background-bubbles span {
    position: absolute;
    display: block;
    width: 60px;
    height: 60px;
    background: #11696852;
    border-radius: 50%;
    animation: move 20s linear infinite;
}

.background-bubbles span:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
}
.background-bubbles span:nth-child(2) {
    left: 80%;
    top: 30%;
    animation-delay: 5s;
}
.background-bubbles span:nth-child(3) {
    left: 50%;
    top: 70%;
    animation-delay: 10s;
}
.background-bubbles span:nth-child(4) {
    left: 30%;
    top: 40%;
    animation-delay: 15s;
}
.background-bubbles span:nth-child(5) {
    left: 70%;
    top: 80%;
    animation-delay: 20s;
}
@keyframes move {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-100px) scale(1.2);
        opacity: 0.3;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.5;
    }
}
/*************************************/
/***************books page**********************/
.books-page {
    min-height: 100vh;
    margin: 0;
    padding: 20px 0;
    overflow-x: hidden;
    margin-top: 30px;
}
.books-page .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}
.gallery-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}
.gallery-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #116967;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px 0;
}
.book-card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: var(--transition);
    box-shadow: var(--shadow-light);
    height: 400px;
}
.book-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(99, 102, 241, 0.1),
        rgba(139, 92, 246, 0.1)
    );
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}
.book-card:hover::before {
    opacity: 1;
}
.book-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-heavy);
    border-color: rgba(255, 255, 255, 0.4);
}
.book-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    border-radius: var(--border-radius);
}
.book-card:hover .book-image {
    transform: scale(1.1);
}
.hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #116968b0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
}
.book-card:hover .hover-overlay {
    opacity: 1;
}
.hover-icon {
    font-size: 3rem;
    color: white;
    transform: scale(0.5);
    transition: var(--transition);
}
.book-card:hover .hover-icon {
    transform: scale(1);
}
.modern-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: var(--transition);
}
.modern-modal.active {
    display: flex;
    opacity: 1;
}
.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: scale(0.8);
    transition: var(--transition);
}
.modern-modal.active .modal-content {
    transform: scale(1);
}
.modal-image {
    width: 100%;
    height: 80vh;
    object-fit: contain;
    display: block;
}
.modal-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    align-items: center;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.control-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.control-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}
.image-counter {
    color: white;
    font-size: 1rem;
    font-weight: 500;
    padding: 0 15px;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}
.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: var(--transition);
    z-index: 10;
}
.close-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: rotate(90deg);
}
.loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery-title {
        font-size: 2.5rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }

    .book-card {
        height: 300px;
    }

    .modal-image {
        height: 70vh;
    }

    .modal-controls {
        bottom: 15px;
        padding: 12px 20px;
    }

    .control-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .gallery-title {
        font-size: 2rem;
    }

    .modal-content {
        max-width: 95vw;
        max-height: 95vh;
    }
}
/***********pharmacy*****************/
/****************************/
.library-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin: 20px auto;
    max-width: 1200px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.library-container .header {
    text-align: center;
    margin-bottom: 40px;
}

.library-container .header h2 {
    color: #2c3e50;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 10px;
    position: relative;
}

.library-container .header h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 380px;
    height: 4px;
    background: linear-gradient(45deg, #116967, #0e6f6bc4);
    border-radius: 2px;
}

.controls-section {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.modern-table {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: white;
}

.modern-table table {
    margin: 0;
    border: none;
}

.modern-table th {
    background: linear-gradient(135deg, #116967 0%, #0e6f6bc4 100%);
    color: white;
    font-weight: 600;
    padding: 15px;
    border: none;
    font-size: 1.1rem;
    text-align: center;
}

.modern-table td {
    padding: 15px;
    border: none;
    border-bottom: 1px solid #f0f0f0;
    text-align: center;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.modern-table tbody tr {
    transition: all 0.3s ease;
}

.modern-table tbody tr:hover {
    background: rgba(102, 126, 234, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.modern-table tbody tr:last-child td {
    border-bottom: none;
}
.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
}
.nav-button {
    background: linear-gradient(45deg, #116967, #0e6f6bc4);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 120px;
    justify-content: center;
}

.nav-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px #0e6f6bc4;
}

.nav-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

.page-info {
    background: white;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    color: #2c3e50;
    border: 2px solid #0e6f6bc4;
}

.filter-info {
    text-align: center;
    margin-bottom: 20px;
    color: #666;
    font-weight: 500;
}
.search-filter-section {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.search-input-group {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
}

.search-input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.search-input:focus {
    outline: none;
    border-color: #0e6f6bc4;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.search-btn {
    background: linear-gradient(45deg, #116967, #0e6f6bc4);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}
.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px #0e6f6bc4;
}
.results-info {
    text-align: center;
    margin-top: 15px;
    padding: 10px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 8px;
    color: #2c3e50;
    font-weight: 500;
}
.no-results {
    text-align: center;
    padding: 40px;
    color: #6c757d;
}

.no-results i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.no-results h4 {
    margin-bottom: 10px;
    color: #495057;
}

@media (max-width: 768px) {
    .search-input-group {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 768px) {
    .library-container {
        margin: 10px;
        padding: 20px;
    }

    .header h2 {
        font-size: 2rem;
    }

    .action-buttons {
        flex-direction: column;
        gap: 5px;
    }

    .pagination-controls {
        flex-direction: column;
        gap: 15px;
    }
}
/******************websitemap*********************/
/**************************************/
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.header-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 40px 30px;
    margin-bottom: 40px;
    color: white;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.header-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.header-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
}

.search-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.search-input-group {
    position: relative;
}

.search-input {
    border: 2px solid #e1e8ed;
    border-radius: 12px;
    padding: 15px 20px 15px 50px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.search-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    outline: none;
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #667eea;
    font-size: 1.2rem;
}

.sitemap-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.sitemap-column {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.sitemap-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.column-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #f0f2f5;
}

.column-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    margin-left: 15px;
}

.column-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.sitemap-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sitemap-item {
    margin-bottom: 12px;
    position: relative;
    opacity: 1;
    transition: all 0.3s ease;
}

.sitemap-item:hover {
    opacity: 0.8;
    transform: translateX(-5px);
}

.sitemap-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #4a5568;
    padding: 12px 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: linear-gradient(
        135deg,
        rgba(102, 126, 234, 0.05),
        rgba(118, 75, 162, 0.05)
    );
    border-left: 4px solid transparent;
}

.sitemap-link:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-left-color: #fff;
    transform: translateX(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.sitemap-bullet {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    margin-left: 15px;
    transition: all 0.3s ease;
}

.sitemap-link:hover .sitemap-bullet {
    background: white;
    transform: scale(1.2);
}

.sitemap-text {
    font-size: 1rem;
    font-weight: 500;
}

.active-item .sitemap-link {
    background: linear-gradient(135deg, #4caf50, #45a049);
    color: white;
    border-left-color: #fff;
}

.active-item .sitemap-bullet {
    background: white;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid #e1e8ed;
    background: white;
    border-radius: 25px;
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.language-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.lang-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.lang-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.stats-section {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.stat-item {
    display: inline-block;
    margin: 0 20px;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1rem;
    color: #6b7280;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sitemap-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .header-title {
        font-size: 2.2rem;
    }

    .column-title {
        font-size: 1.5rem;
    }

    .sitemap-column {
        padding: 20px;
    }

    .stat-item {
        display: block;
        margin: 15px 0;
    }

    .language-toggle {
        bottom: 20px;
        right: 20px;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sitemap-column {
    animation: fadeInUp 0.8s ease forwards;
}

.sitemap-column:nth-child(2) {
    animation-delay: 0.2s;
}

/* Hidden items for search */
.hidden {
    display: none !important;
}

.fade-out {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease;
}
/***************news page*******************/
/******************************************/
.news-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: 0.3s;
    height: 100%;
}
.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.news-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}
.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.category-badge {
    position: absolute;
    top: 10px;
    right: 10px;
}
.category-badge .badge {
    background: #e0f2fe;
    color: #116967;
    border-radius: 15px;
    padding: 5px 12px;
    font-size: 0.8rem;
}
.news-content {
    padding: 1.5rem;
}
.news-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 1rem;
    color: #1f2937;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-title a {
    color: inherit;
    text-decoration: none;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: #6b7280;
}

.page-content {
    display: none;
}
.page-content.active {
    display: block;
}

/**************contest page****************/
/*****************************/
.competitions {
    min-height: 100vh;
}
.competitions .container,
.container-lg,
.container-md,
.container-sm {
    max-width: 960px;
}
.header-competitions {
    background: linear-gradient(135deg, #116967 0%, #0e6f6bc4 100%);
    color: white;
    padding: 3rem 0;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    margin-top: 3rem;
}
.header-competitions::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="white" opacity="0.05"/><circle cx="80" cy="40" r="1" fill="white" opacity="0.05"/><circle cx="40" cy="70" r="1" fill="white" opacity="0.05"/><circle cx="60" cy="90" r="1" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}
.header-content {
    position: relative;
    z-index: 2;
}

.main-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
}
.competitions-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
}

.competition-box {
    background: white;
    border-radius: 25px;
    padding: 0;
    box-shadow: 0 10px 30px rgba(45, 106, 63, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(45, 106, 63, 0.08);
    position: relative;
    overflow: hidden;
}

.competition-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #116967, #0e6f6bc4, #138f85);
    border-radius: 25px 25px 0 0;
}

.competition-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(45, 106, 63, 0.15);
}

.box-content {
    display: flex;
    min-height: 250px;
}

.box-image-section {
    width: 300px;
    position: relative;
    flex-shrink: 0;
}

.box-image-frame {
    width: 100%;
    height: 100%;
    border-radius: 0 0 25px 0;
    overflow: hidden;
    position: relative;
    background: #f5f1eb;
}

.box-image-frame img {
    width: 100%;
    height: 100%;
    transition: transform 0.4s ease;
}

.competition-box:hover .box-image-frame img {
    transform: scale(1.05);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #116967, #0e6f6bc4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #116967;
    font-size: 4rem;
}

.box-text-section {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.box-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #116967;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.box-description {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.stats-section {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin: 3rem 0;
    box-shadow: 0 8px 25px var(--shadow-light);
    text-align: center;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-green);
    display: block;
}

.stat-label {
    color: #666;
    font-weight: 500;
}

/* تصميم للهاتف المحمول */
@media (max-width: 768px) {
    .main-title {
        font-size: 2rem;
    }

    .filter-buttons {
        flex-direction: column;
        align-items: center;
    }

    .filter-btn {
        width: 100%;
        max-width: 250px;
    }

    .box-content {
        flex-direction: column;
        min-height: auto;
    }

    .box-image-section {
        width: 100%;
        height: 200px;
    }

    .box-image-frame {
        border-radius: 0 0 0 0;
    }

    .box-text-section {
        padding: 1.5rem;
    }

    .box-title {
        font-size: 1.5rem;
    }

    .box-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .box-image-section {
        height: 150px;
    }

    .box-text-section {
        padding: 1rem;
    }

    .meta-info {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
/**************contact us page******************/
/*******************************/
.forms-section {
    padding: 96px 0;
    background-color: #138f8584;
}

.contact-form-card,
.newsletter-card {
    background-color: #ffffff;
    padding: 64px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(44, 62, 80, 0.12);
    border: 1px solid #116967;
}

.form-title {
    font-size: 2rem;
    font-weight: 700;
    color: #272e37;
    margin-bottom: 24px;
}

.form-description {
    color: var(--neutral-600);
    margin-bottom: 48px;
}

.form-label {
    font-weight: 600;
    color: #272e37;
    margin-bottom: 16px;
}

.form-control,
.form-select {
    height: 56px;
    border: 1px solid #116967;
    border-radius: 8px;
    padding: 16px 24px;
    font-size: 1rem;
    transition: 200ms ease-out;
    background-color: var(--white);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-500);
    box-shadow: 0 0 0 2px rgba(74, 118, 122, 0.1);
}

textarea.form-control {
    height: auto;
    resize: vertical;
}

.btn-submit {
    height: 56px;
    padding: 0 48px;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    transition: 300ms ease-in-out;
    cursor: pointer;
}

.btn-submit {
    background-color: #0e6f6bc4;
    color: #fff;
}

.btn-submit:hover {
    background-color: #138f85;
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 8px 24px rgba(44, 62, 80, 0.12);
}
.contact-info-section {
    padding: 96px 0;
    background-color: var(--white);
}
.contact-info-card {
    background-color: var(--neutral-100);
    border: 1px solid #116967;
    border-radius: 16px;
    padding: 48px;
    text-align: center;
    transition: 300ms ease-in-out;
    position: relative;
    overflow: hidden;
}
.contact-info-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0e6f6bc4, #5a8a8d);
}
.contact-info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(44, 62, 80, 0.12);
    border-color: var(--primary-500);
}

.contact-icon-second {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #116967, #5a8a8d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    transition: 300ms ease-in-out;
}

.contact-icon-second i {
    font-size: 2rem;
    color: var(--white);
}

.contact-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--neutral-800);
    margin-bottom: 24px;
}

.contact-text {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-500);
    margin-bottom: 16px;
}

.contact-description {
    color: var(--neutral-600);
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* Map Section */
.map-section {
    position: relative;
}

.map-container {
    position: relative;
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border-radius: 0;
}

.map-overlay {
    position: absolute;
    top: 32px;
    right: 32px;
    z-index: 10;
}

.map-info-card {
    background-color: var(--white);
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 16px 32px rgba(44, 62, 80, 0.16);
    min-width: 250px;
}

.map-info-card h4 {
    color: var(--neutral-800);
    margin-bottom: 24px;
}

.map-info-card p {
    margin-bottom: 16px;
    color: var(--neutral-600);
}

.map-info-card i {
    color: var(--primary-500);
    margin-left: 16px;
}

.btn-map {
    background-color: var(--primary-500);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
}

.btn-map:hover {
    background-color: #5a8a8d;
    color: var(--white);
}

/************Direction page****************/
/****************************/
.section-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    overflow: hidden;
    border: none;
    margin-top: 6rem;
}

.section-header {
    background: linear-gradient(45deg, #138f85, #116967);
    color: white;
    padding: 1.5rem 2rem;
    margin: 0;
    border-radius: 0;
}

.section-header h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
}

.section-header .section-icon {
    font-size: 2rem;
    margin-left: 1rem;
}

.rules-list {
    padding: 2rem;
}

.rule-item {
    position: relative;
    padding: 1.5rem 0 1.5rem 3rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.rule-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.rule-item:hover {
    background: linear-gradient(90deg, #f8f9fa, transparent);
    padding-right: 2rem;
    border-radius: 10px;
    transform: translateX(-5px);
}

.rule-number {
    position: absolute;
    right: 0;
    top: 1.5rem;
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(45deg, #138f85, #116967);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.rule-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    font-weight: 400;
    margin: 0;
    margin-right: 3.5rem;
}

.highlight-box {
    background: linear-gradient(135deg, #116967, #0e6f6bc4);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.highlight-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    margin: 2rem;
}

.icon-item {
    text-align: center;
    padding: 1rem;
    transition: all 0.3s ease;
}

.icon-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
}

.icon-symbol {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 0.5rem;
}
@media (max-width: 768px) {
    .main-title {
        font-size: 2rem;
    }

    .rules-list {
        padding: 1.5rem;
    }

    .rule-item {
        padding: 1rem 0 1rem 2.5rem;
    }

    .rule-number {
        width: 2rem;
        height: 2rem;
        font-size: 0.8rem;
    }

    .highlight-box {
        margin: 1rem;
        padding: 1.5rem;
    }

    .icon-grid {
        margin: 1rem;
        padding: 1.5rem;
        grid-template-columns: repeat(2, 1fr);
    }
}
