:root {
  --ink: #082e3a;
  --ink-2: #0d3b48;
  --green: #24c77b;
  --green-dark: #18a964;
  --soft: #f2f8f6;
  --muted: #667781;
  --line: #dce8e4;
  --white: #fff;
  --shadow: 0 18px 50px rgba(7, 46, 58, .12);
  --radius: 16px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  direction: rtl;
}

body {
  margin: 0;
  direction: rtl;
  color: var(--ink);
  background: var(--white);
  font-family: Tahoma, Arial, sans-serif !important;
  font-size: 16px;
  line-height: 1.8;
  overflow-x: hidden;
}

body.mobile-nav-open { overflow: hidden; }

h1, h2, h3, h4, h5, h6, p { margin-top: 0; }
h1, h2, h3, h4, h5, h6 { line-height: 1.35; color: var(--ink); }
a { color: inherit; text-decoration: none; transition: color .2s ease, background-color .2s ease, transform .2s ease; }
a:hover { color: var(--green-dark); }
img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; }
button { cursor: pointer; }
.list-unstyled, .menu { list-style: none; padding: 0; margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.text-center { text-align: center; }
.clearfix::after { display: table; clear: both; content: ""; }

.container,
.topbar-inner,
.main-menu-inner,
.footer .container,
.page-banner .container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

#pre-loader { display: none !important; }

/* Header */
.header { position: relative; z-index: 100; }
.topbar { background: var(--ink); color: #dce8eb; font-size: 13px; }
.topbar-inner { min-height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topbar-left, .topbar-socials, .topbar-info ul { display: flex; align-items: center; gap: 18px; }
.topbar-socials { direction: ltr; }
.topbar-socials a { width: 28px; height: 28px; display: grid; place-items: center; color: #fff; border-radius: 50%; }
.topbar-socials a:hover { background: rgba(255,255,255,.12); color: var(--green); }
.topbar-info li { display: flex; align-items: center; gap: 8px; }
.topbar-info a, .topbar-right a { color: #fff; }
.topbar-right ul { list-style: none; margin: 0; padding: 0; }

.main-menu { background: #fff; border-bottom: 1px solid rgba(8,46,58,.08); box-shadow: 0 5px 25px rgba(8,46,58,.05); }
.main-menu.is-fixed { position: fixed; inset: 0 0 auto; z-index: 150; animation: headerDrop .25s ease; }
@keyframes headerDrop { from { transform: translateY(-100%); } to { transform: translateY(0); } }
.main-menu-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.main-menu-left, .main-menu-right { display: flex; align-items: center; gap: 28px; }
.main-menu-logo img { width: 140px !important; max-height: 72px; object-fit: contain; }
.main-menu-list { display: flex; align-items: center; gap: 6px; }
.main-menu-list > li { position: relative; }
.main-menu-list > li > a { display: flex; align-items: center; min-height: 92px; padding: 0 12px; color: var(--ink); font-size: 14px; font-weight: 700; white-space: nowrap; }
.main-menu-list > li.active > a, .main-menu-list > li:hover > a { color: var(--green-dark); }
.main-menu-list > li > ul { position: absolute; top: calc(100% - 8px); right: 0; min-width: 230px; padding: 10px; background: #fff; border-radius: 10px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s ease; }
.main-menu-list > li:hover > ul, .main-menu-list > li:focus-within > ul { opacity: 1; visibility: visible; transform: translateY(0); }
.main-menu-list > li > ul a { display: block; padding: 9px 12px; border-radius: 7px; }
.main-menu-list > li > ul a:hover { background: var(--soft); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 8px; font-weight: 800; border: 0; }
.btn-primary { color: #fff !important; background: var(--green); box-shadow: 0 9px 24px rgba(36,199,123,.27); }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); }

.mobile-menu-button { width: 44px; height: 42px; padding: 9px; border: 1px solid var(--line); border-radius: 9px; display: none; flex-direction: column; justify-content: center; gap: 5px; }
.mobile-menu-button span, .mobile-nav-close span { display: block; height: 2px; background: var(--ink); border-radius: 4px; }

/* Mobile navigation and search */
.mobile-nav-wrapper { position: fixed; inset: 0; z-index: 300; visibility: hidden; pointer-events: none; }
.mobile-nav-wrapper.is-open { visibility: visible; pointer-events: auto; }
.mobile-nav-overlay { position: absolute; inset: 0; background: rgba(3,24,31,.68); opacity: 0; transition: opacity .25s ease; }
.mobile-nav-wrapper.is-open .mobile-nav-overlay { opacity: 1; }
.mobile-nav-content { position: absolute; inset: 0 0 0 auto; width: min(88vw, 390px); padding: 26px; overflow-y: auto; color: #fff; background: var(--ink); transform: translateX(102%); transition: transform .28s ease; }
.mobile-nav-wrapper.is-open .mobile-nav-content { transform: translateX(0); }
.mobile-nav-close { position: absolute; top: 22px; left: 22px; width: 34px; height: 34px; }
.mobile-nav-close span { position: absolute; top: 16px; left: 5px; width: 25px; background: #fff; transform: rotate(45deg); }
.mobile-nav-close span + span { transform: rotate(-45deg); }
.mobile-nav-content .logo-box { margin: 30px 0 24px; }
.mobile-nav-content .logo-box img { width: 145px; filter: brightness(0) invert(1); }
.mobile-nav-container .main-menu-list { display: block; }
.mobile-nav-container .main-menu-list > li { border-bottom: 1px solid rgba(255,255,255,.11); }
.mobile-nav-container .main-menu-list > li > a { min-height: auto; padding: 13px 2px; color: #fff; }
.mobile-nav-container .main-menu-list ul { display: none; position: static; min-width: 0; padding: 0 14px 10px; background: transparent; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
.mobile-nav-container .main-menu-list li.submenu-open > ul { display: block; }
.mobile-nav-contact { margin-top: 28px; }
.mobile-nav-contact li { display: flex; gap: 10px; margin: 12px 0; color: #d7e6e9; }
.mobile-nav-contact a { color: #fff; }
.mobile-nav-social { display: flex; gap: 10px; margin-top: 24px; direction: ltr; }
.mobile-nav-social a { width: 38px; height: 38px; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.09); border-radius: 50%; }

.search-popup { position: fixed; inset: 0; z-index: 350; display: grid; place-items: center; visibility: hidden; pointer-events: none; }
.search-popup.is-open { visibility: visible; pointer-events: auto; }
.search-popup-overlay { position: absolute; inset: 0; background: rgba(3,24,31,.82); opacity: 0; transition: .2s ease; }
.search-popup.is-open .search-popup-overlay { opacity: 1; }
.search-popup-content { position: relative; z-index: 1; width: min(720px, calc(100% - 40px)); transform: translateY(15px); opacity: 0; transition: .2s ease; }
.search-popup.is-open .search-popup-content { transform: translateY(0); opacity: 1; }
.search-popup form { display: flex; overflow: hidden; border-radius: 12px; background: #fff; box-shadow: var(--shadow); }
.search-popup input { flex: 1; min-width: 0; height: 62px; padding: 0 20px; border: 0; outline: 0; }
.search-popup button { width: 70px; border: 0; color: #fff; background: var(--green); }

/* Elementor fallback layout */
.elementor-section { position: relative; }
.elementor-container { width: 100%; display: flex; flex-wrap: wrap; margin-inline: auto; }
.elementor-section-boxed > .elementor-container { width: min(1180px, calc(100% - 40px)); }
.elementor-column { position: relative; display: flex; min-height: 1px; }
.elementor-widget-wrap, .elementor-widget, .elementor-widget-container { width: 100%; }
.elementor-col-100 { width: 100%; }
.elementor-col-50 { width: 50%; }
.elementor-col-25 { width: 25%; }
.elementor-col-16 { width: 16.666%; }
.elementor-col-8 { width: 16.666%; }
.elementor-widget-wrap { align-content: flex-start; }

/* Hero */
.main-slider, .main-slider-swiper { position: relative; min-height: 650px; overflow: hidden; }
.main-slider .item { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity .65s ease; }
.main-slider .item.is-active { opacity: 1; visibility: visible; z-index: 2; }
.item-slider-bg { position: absolute; inset: 0; background-position: center; background-size: cover; transform: scale(1.02); }
.main-slider .item::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(4,33,43,.30), rgba(4,33,43,.84)); }
.main-slider .container { position: relative; z-index: 2; width: min(1180px, calc(100% - 40px)); }
.slider-content { width: min(650px, 100%); color: #fff; }
.slider-tagline { display: inline-block; margin-bottom: 14px; padding: 7px 14px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; color: #fff; font-size: 15px; }
.slider-content .section-title { margin-bottom: 28px; color: #fff; font-size: clamp(42px, 6vw, 78px); font-weight: 900; letter-spacing: -.03em; }
.static-slider-nav { position: absolute; z-index: 5; right: max(20px, calc((100vw - 1180px) / 2)); bottom: 36px; display: flex; gap: 10px; }
.static-slider-nav button { width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; color: #fff; background: rgba(4,33,43,.35); }
.static-slider-nav button:hover { background: var(--green); }

/* Quick links */
.elementor-element-9913a05 { z-index: 6; margin-top: -62px; padding-bottom: 70px; }
.elementor-element-dd34b7a > .elementor-container { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 12px; padding: 18px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.elementor-element-dd34b7a > .elementor-container > .elementor-column { width: auto !important; }
.department-card { height: 100%; min-height: 150px; padding: 25px 14px; text-align: center; border-radius: 12px; background: #fff; transition: .22s ease; }
.department-card:hover { transform: translateY(-5px); background: var(--soft); }
.department-card-icon { width: 62px; height: 62px; display: grid; place-items: center; margin: 0 auto 12px; border-radius: 50%; color: #fff; background: var(--green); font-size: 25px; }
.department-card-icon a { color: #fff; }
.department-card-content h5 { margin: 0; font-size: 16px; }

.elementor-element-7e30adf { margin-top: 28px; }
.te-newsletter-box { padding: 26px; border: 1px solid var(--line); border-radius: 13px; background: var(--soft); }
.mc4wp-form-fields { display: flex; max-width: 650px; margin-inline: auto; overflow: hidden; border-radius: 10px; background: #fff; box-shadow: 0 9px 30px rgba(8,46,58,.08); }
.mc4wp-form-fields input { flex: 1; min-width: 0; height: 56px; padding: 0 18px; border: 0; outline: 0; }
.te-form-btn button { height: 56px; padding: 0 30px; border: 0; color: #fff; background: var(--green); font-weight: 800; }
.mc4wp-response { margin-top: 10px; text-align: center; color: var(--green-dark); font-weight: 700; }

/* Titles and content */
.section-title-box { margin-bottom: 32px; }
.section-tagline { margin-bottom: 8px; color: var(--green-dark); font-size: 15px; font-weight: 800; }
.section-title-box .section-title { margin-bottom: 18px; font-size: clamp(32px, 4vw, 52px); font-weight: 900; }
.sec-title__text, .te-text { color: var(--muted); }
.sec-title__text p { margin-bottom: 0; }

/* About */
.elementor-element-3c98675 { padding: 100px 0; }
.elementor-element-7a31942 > .elementor-container { gap: 64px; align-items: center; }
.elementor-element-7a31942 > .elementor-container > .elementor-column { width: calc(50% - 32px); }
.about-image { position: relative; }
.about-image::before { position: absolute; content: ""; inset: 24px -20px -20px 24px; z-index: -1; border-radius: var(--radius); background: var(--green); }
.about-image img { width: 100%; height: 560px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-card { margin-top: 18px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.about-title { margin-bottom: 7px; font-size: 20px; }
.about-title .te-icon-box { margin-left: 8px; color: var(--green); }
.about-card p { margin-bottom: 0; }
.about-author-box { display: none !important; }

/* Institutions */
.elementor-element-bccc124 { padding: 100px 0; background: var(--soft); }
.elementor-element-c7715fb > .elementor-container { gap: 60px; align-items: center; }
.elementor-element-c7715fb > .elementor-container > .elementor-column { width: calc(50% - 30px); }
.service-arrow-image { display: none; }
.service-card { position: relative; padding: 32px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.service-card-video { position: absolute; top: -25px; left: 30px; }
.service-card-video a { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--green); font-size: 22px; }
.service-card li + li { border-top: 1px solid var(--line); }
.service-card li a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 0; font-weight: 700; }
.service-card li i { color: var(--green); transform: rotate(180deg); }

/* Counters */
.elementor-element-795c896 { padding: 70px 0; color: #fff; background: var(--ink); }
.elementor-element-0d0ca46 > .elementor-container { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.elementor-element-0d0ca46 > .elementor-container > .elementor-column { width: auto !important; }
.funfact-counter-item { height: 100%; padding: 24px; border: 1px solid rgba(255,255,255,.13); border-radius: 13px; background: rgba(255,255,255,.045); }
.funfact-counter-box { display: flex; align-items: center; gap: 16px; }
.funfact-counter-icon { width: 54px; height: 54px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 50%; color: #fff; background: var(--green); font-size: 24px; }
.funfact-counter-number { display: flex; align-items: baseline; gap: 6px; }
.counter-number, .funfact-counter-number-postfix { margin: 0; color: #fff; font-size: 35px; font-weight: 900; }
.funfact-text { margin: 12px 0 0; color: #d9e7ea; }

/* Landmarks */
.elementor-element-a1d7d3e { padding: 100px 0; }
.portfolio-carousel { width: min(1240px, calc(100% - 40px)); margin-inline: auto; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; }
.portfolio-carousel > .item { min-width: 0; }
.portfolio-card { position: relative; overflow: hidden; min-height: 360px; border-radius: 14px; background: var(--ink); box-shadow: 0 12px 34px rgba(8,46,58,.13); }
.portfolio-card .img-fluid, .portfolio-card img { width: 100%; height: 360px; object-fit: cover; }
.portfolio-card .img-fluid::after { position: absolute; inset: 0; content: ""; background: linear-gradient(0deg, rgba(3,26,34,.87), transparent 62%); }
.portfolio-card-meta { position: absolute; z-index: 2; inset: auto 22px 20px; color: #fff; }
.portfolio-card-text { color: var(--green); font-size: 13px; font-weight: 800; }
.portfolio-card-title a { color: #fff; font-size: 19px; font-weight: 900; }
.portfolio-card:hover img { transform: scale(1.05); }
.portfolio-card img { transition: transform .35s ease; }

/* News */
.elementor-element-4b20da9 { padding: 95px 0; background: var(--soft); }
.blog-section .container { width: min(1180px, calc(100% - 40px)); }
.blog-section .row { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.blog-card { height: 100%; overflow: hidden; border-radius: 14px; background: #fff; box-shadow: 0 10px 35px rgba(8,46,58,.09); }
.blog-card-image { position: relative; }
.blog-card-image img { width: 100%; height: 260px !important; object-fit: cover; }
.blog-card-date { position: absolute; right: 18px; bottom: -22px; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 10px; color: #fff; background: var(--green); font-size: 13px; font-weight: 900; line-height: 1.1; text-align: center; }
.blog-card-content { padding: 36px 24px 26px; }
.blog-card-meta { display: flex; gap: 14px; color: var(--muted); font-size: 12px; }
.blog-card-content h4 { margin: 8px 0 12px; font-size: 20px; }
.blog-card-content p { margin-bottom: 0; color: var(--muted); }

/* Final newsletter */
.elementor-element-b043a5c { padding: 55px 0; color: #fff; background: var(--green); }
.elementor-element-b043a5c > .elementor-container { align-items: center; gap: 30px; }
.elementor-element-b043a5c > .elementor-container > .elementor-column:first-child { width: 35%; }
.elementor-element-b043a5c > .elementor-container > .elementor-column:last-child { width: calc(65% - 30px); }
.elementor-element-b043a5c .te-title, .elementor-element-b043a5c .te-subtitle { color: #fff; }
.elementor-element-b043a5c .section-title-box { margin: 0; }
.elementor-element-b043a5c .te-newsletter-box { padding: 0; border: 0; background: transparent; }

/* Footer */
.footer { color: #c7d6da; background: var(--ink) !important; background-image: radial-gradient(circle at 10% 10%, rgba(36,199,123,.12), transparent 35%) !important; }
.footer-inner { padding: 75px 0 55px; }
.footer .row { display: grid; grid-template-columns: 1.25fr repeat(3, 1fr); gap: 42px; }
.footer-widget-logo img { width: 160px; max-height: 85px; object-fit: contain; filter: brightness(0) invert(1); }
.footer-widget-text { margin-top: 20px; }
.footer-widget-title { margin-bottom: 22px; color: #fff; font-size: 20px; }
.footer-widget .menu li + li { margin-top: 8px; }
.footer-widget a { color: #c7d6da; }
.footer-widget a:hover { color: var(--green); }
.footer-widget-socials { display: flex; gap: 10px; margin-top: 22px; direction: ltr; }
.footer-widget-socials a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); }
.footer-widget-contact-list { display: flex; gap: 10px; margin-top: 14px; }
.footer-widget-contact-list > i { margin-top: 7px; color: var(--green); }
.bottom-footer { padding: 18px 20px; text-align: center; border-top: 1px solid rgba(255,255,255,.1); }
.bottom-footer p { margin: 0; }

.scroll-to-top { position: fixed; z-index: 90; left: 22px; bottom: 22px; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; color: #fff !important; background: var(--green); box-shadow: 0 10px 25px rgba(36,199,123,.3); opacity: 0; visibility: hidden; transform: translateY(10px); }
.scroll-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* Book page */
.page-banner { position: relative; padding: 78px 0; color: #fff; background: var(--ink) url('image-new-2.jpg') center 55% / cover no-repeat !important; }
.page-banner::before { position: absolute; inset: 0; content: ""; background: rgba(4,33,43,.72); }
.page-banner .container { position: relative; z-index: 1; }
.page-breadcrumbs ul { display: flex; gap: 9px; color: #d7e5e8; }
.page-breadcrumbs li + li::before { margin-left: 9px; content: "/"; opacity: .7; }
.page-breadcrumbs a { color: #fff; }
.page-banner-title h3 { margin: 12px 0 0; color: #fff; font-size: clamp(34px, 5vw, 58px); }
.elementor-2346 { width: min(1180px, calc(100% - 40px)); margin: 65px auto; }
.elementor-2346 > img { width: 100%; height: auto; border-radius: 14px; box-shadow: var(--shadow); }

@media (max-width: 1100px) {
  .navigation { display: none; }
  .mobile-menu-button { display: flex; }
  .main-menu-right-button { display: none; }
  .elementor-element-dd34b7a > .elementor-container { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .portfolio-carousel { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer .row { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 820px) {
  .topbar-right { display: none; }
  .topbar-inner { justify-content: center; }
  .topbar-info { display: none; }
  .main-menu-inner { min-height: 76px; }
  .main-menu-logo img { max-height: 58px; }
  .main-slider, .main-slider-swiper { min-height: 540px; }
  .elementor-element-9913a05 { margin-top: 0; padding-top: 32px; }
  .elementor-element-dd34b7a > .elementor-container { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .elementor-element-7a31942 > .elementor-container,
  .elementor-element-c7715fb > .elementor-container { gap: 42px; }
  .elementor-element-7a31942 > .elementor-container > .elementor-column,
  .elementor-element-c7715fb > .elementor-container > .elementor-column { width: 100%; }
  .about-image img { height: 430px; }
  .elementor-element-0d0ca46 > .elementor-container { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .blog-section .row { grid-template-columns: 1fr; }
  .elementor-element-b043a5c > .elementor-container > .elementor-column:first-child,
  .elementor-element-b043a5c > .elementor-container > .elementor-column:last-child { width: 100%; }
}

@media (max-width: 560px) {
  .container, .topbar-inner, .main-menu-inner, .footer .container, .page-banner .container,
  .elementor-section-boxed > .elementor-container, .main-slider .container, .portfolio-carousel,
  .blog-section .container, .elementor-2346 { width: min(100% - 28px, 1180px); }
  .topbar { display: none; }
  .slider-content .section-title { font-size: 39px; }
  .slider-tagline { font-size: 12px; }
  .elementor-element-dd34b7a > .elementor-container { grid-template-columns: 1fr; }
  .department-card { min-height: 125px; }
  .elementor-element-3c98675, .elementor-element-bccc124, .elementor-element-a1d7d3e, .elementor-element-4b20da9 { padding: 65px 0; }
  .about-image img { height: 350px; }
  .elementor-element-0d0ca46 > .elementor-container, .portfolio-carousel, .footer .row { grid-template-columns: 1fr; }
  .portfolio-card, .portfolio-card .img-fluid, .portfolio-card img { height: 330px; min-height: 330px; }
  .mc4wp-form-fields { display: block; overflow: visible; background: transparent; box-shadow: none; }
  .mc4wp-form-fields input, .te-form-btn button { width: 100%; border-radius: 9px; }
  .te-form-btn { margin-top: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
