:root {
    --primary: #5aaad8;     /* כחול היגיינה */
    --accent: #38c2b5;      /* טורקיז רענן */
    --soft-green: #9bc7b8;
    --dark: #333333;
    --light: #ffffff;
    --bg-gray: #f5f7f8;
    --radius-lg: 18px;
    --radius-md: 12px;
    --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.08);
    --transition-fast: 0.25s ease;
  }
  
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    margin: 0;
    font-family: "Assistant", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: #ffffff;
    color: var(--dark);
    direction: rtl;
  }
  
  /* حاوية أساسية */
  .container {
    width: min(1120px, 100% - 32px);
    margin-inline: auto;
  }
  
  /* شريط علوي */
  .top-bar {
    background: var(--dark);
    color: var(--light);
    font-size: 0.9rem;
  }
  
  .top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.35rem 1rem;
  }
  
  .top-bar-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
  }
  
  .top-link {
    text-decoration: none;
    color: var(--light);
    opacity: 0.9;
    border-radius: 999px;
    padding: 0.25rem 0.75rem;
    border: 1px solid transparent;
    font-size: 0.85rem;
    transition: var(--transition-fast);
  }
  
  .top-link:hover {
    border-color: rgba(255, 255, 255, 0.5);
    opacity: 1;
  }
  
  .top-link.highlight {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: #ffffff;
    font-weight: 500;
  }
  
/* الهيدر الأساسي */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    transition:
        top 0.45s cubic-bezier(0.25, 0.1, 0.25, 1),
        margin 0.45s cubic-bezier(0.25, 0.1, 0.25, 1),
        padding 0.45s cubic-bezier(0.25, 0.1, 0.25, 1),
        border-radius 0.45s cubic-bezier(0.25, 0.1, 0.25, 1),
        width 0.45s cubic-bezier(0.25, 0.1, 0.25, 1),
        box-shadow 0.45s cubic-bezier(0.25, 0.1, 0.25, 1);
  }
  

  /* قبل السكرول */
.site-header.not-scrolled {
    margin-top: 0;
    margin-inline: 0;
    width: 100%;
    border-radius: 0;
    box-shadow: none;
  }

/* بعد السكرول — النسخة الفخمة */
.site-header.scrolled {
    top: 18px;                 /* الآن فعليًا بيهبط من أعلى الشاشة */
    margin-inline: auto;
    width: calc(100% - 40px);
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
    background: rgba(255,255,255,0.86);
    backdrop-filter: blur(14px);
  }
  
  
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 0.7rem;
  }
  
  /* لوجو */
  .logo {
    display: flex;
    align-items: center;
  }
  
  .logo img {
    height: 60px;        /* الحجم المثالي للهيدر */
    width: auto;         /* يحافظ على النسبة */
    object-fit: contain; /* يمنع أي تمدد أو قص */
    display: block;
  }

  header.scrolled .logo img {
    height: 60px;        /* يصغر بنعومة */
    transition: height 0.25s ease;
  }
  
  .logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: radial-gradient(circle at 20% 20%, var(--accent), var(--primary));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: var(--shadow-soft);
  }
  
  .logo-text {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  
  .logo-name {
    font-weight: 600;
    letter-spacing: 0.03em;
  }
  
  .logo-sub {
    font-size: 0.75rem;
    color: #777;
  }
  
  /* نافيجايشن */
  .main-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  
  .nav-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-size: 0.95rem;
    padding-block: 0.25rem;
    position: relative;
    transition: var(--transition-fast);
  }
  
  .nav-links a::after {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    bottom: -4px;
    height: 2px;
    width: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    transition: var(--transition-fast);
  }
  
  .nav-links a:hover::after,
  .nav-links a.active::after {
    width: 100%;
  }
  
  /* زر موبايل */
  .nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 34px;
    height: 34px;
    background: transparent;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    cursor: pointer;
    padding: 0;
  }
  
  .nav-toggle span {
    display: block;
    height: 2px;
    background: var(--dark);
    border-radius: 999px;
    width: 60%;
    margin-inline: auto;
  }
  
  /* الهيرو */
  .hero {
    position: relative;
    min-height: 52vh;
    overflow: hidden;
  }
  
  .hero-slider {
    position: relative;
    height: 100%;
  }
  
  .hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.02);
    height: 72vh;
    transition: opacity 0.8s ease, transform 1s ease;
    background-size: cover;
    background-position: center top !important;
    display: flex;
    align-items: stretch;
  }
  
  .hero-slide.active {
    opacity: 1;
    transform: scale(1);
    position: relative;
  }
  
  .hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(152, 240, 222, 0.25), transparent),
                linear-gradient(120deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.45));
  }
  
  .hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    padding: 2.5rem 0 3rem;
    max-width: min(640px, 100% - 32px);
    margin-inline: auto;
  }
  
  .hero-kicker {
    font-size: 0.95rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.9;
    margin-bottom: 0.75rem;
  }
  
  .hero-title {
    font-size: 65px;
    margin: 0 0 0.75rem;
    line-height: 1.25;
  }
  
  .hero-subtitle {
    margin: 0 0 1.5rem;
    max-width: 36rem;
    color: rgba(255, 255, 255, 0.9);
  }
  
  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  
  /* أزرار */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.65rem 1.4rem;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-fast);
    font-weight: 500;
  }
  
  .btn.primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
  }
  
  .btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  }
  
  .btn.ghost {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.7);
  }
  
  .btn.ghost:hover {
    background: rgba(255, 255, 255, 0.12);
  }
  
  .btn.full-width {
    width: 100%;
  }
  
  /* نقاط السلايدر */
  .hero-dots {
    position: absolute;
    inset-inline-start: 50%;
    bottom: 1.75rem;
    transform: translateX(-50%);
    display: flex;
    gap: 0.4rem;
    z-index: 3;
  }
  
  .hero-dots button {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition-fast);
  }
  
  .hero-dots button.active {
    width: 22px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
  }
  
  /* الأقسام العامة */
  .section {
    padding: 4rem 0;
  }
  #about , #why-us , #services , #areas , #process , #contact ,#testimonials{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .section-title {
    font-size: 60px;
    margin-bottom: 0.75rem;
    width: 90%;
    text-align: center;
    border-radius: 12px;
    background: radial-gradient(circle at 20% 20%, var(--accent), var(--primary));
    color: #fff;
    justify-content: center;
    font-weight: 700;
    padding: 5px;
    box-shadow: var(--shadow-soft);
  }
  
  .section-intro {
    max-width: 640px;
    margin: 0 0 2rem;
    color: #555;
    font-size: 30px;
  }
  .text-about-us{
    font-size: 26px;
  }
  
  .gray-section {
    background-color: var(--bg-gray);
  }
  
  /* about */
  .about-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.2fr);
    gap: 2.5rem;
    align-items: flex-start;
  }
  
  .about-grid p {
    line-height: 1.7;
    margin: 0 0 0.9rem;
  }
  
  .founder-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    border-inline-start: 4px solid var(--primary);
  }
  .founder-card img {
    width: 100%;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
  }
  
  
  /* بطاقات عامة */
  .cards-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
  }
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  
  .reveal.in-view {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* الحاوية */
.flip-card {
    perspective: 1200px;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
  }
  
  /* الجسم الداخلي */
  .flip-inner {
    position: relative;
    width: 100%;
    height: 240px;
    transform-style: preserve-3d;
    transition: transform 0.7s cubic-bezier(.25,.8,.25,1);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
  }
  
  /* الجهتين */
  .flip-front, 
  .flip-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    border-radius: inherit;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
  
  /* الوجه الأمامي */
  .flip-front {
    background: #ffffff;
  }
  
  .flip-front h3 {
    margin-top: 0.75rem;
    font-size: 1.15rem;
  }
  
  .icon-circle {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    /* background: linear-gradient(135deg, var(--primary), var(--accent)); */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    margin-bottom: 8px;
  }
  .icon-circle img {
    width: 80px;
    height: 80px;
  }


  
  /* الوجه الخلفي */
  .flip-back {
    background: var(--primary);
    color: #ffffff;
    transform: rotateY(180deg);
    font-size: 0.95rem;
    line-height: 1.55;
  }
  
  /* عند التحويم: قلب 180 درجة */
  .flip-card:hover .flip-inner {
    transform: rotateY(180deg);
  }
  
  /* للموبايل: قلب عند الضغط */
  .flip-card.active .flip-inner {
    transform: rotateY(180deg);
  }
  
  
  .card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
  }
  
  .card h3 {
    margin-top: 0;
    margin-bottom: 0.7rem;
  }
  
  /* الخدمات */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
  
  .service-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
  }
  
  .service-number {
    position: absolute;
    inset-inline-start: 1.2rem;
    top: 1rem;
    font-weight: 700;
    color: var(--primary);
    opacity: 0.3;
    font-size: 1.5rem;
  }
/* TIMELINE – תחומי הפעילות */
.services-timeline {
    position: relative;
    margin-top: 2.5rem;
    padding-right: 2.8rem; /* لأن الموقع RTL والخط على اليمين */
  }
  
  /* الخط العمودي الأساسي */
  .services-timeline::before {
    content: "";
    position: absolute;
    top: 0;
    right: 1.1rem;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, rgba(56,194,181,0.15), rgba(90,170,216,0.5));
    border-radius: 999px;
    overflow: hidden;
  }
  
  /* خط متحرك فوق الخط الأساسي */
  .services-timeline::after {
    content: "";
    position: absolute;
    top: 0;
    right: 1.1rem;
    width: 2px;
    height: 0;
    background: linear-gradient(to bottom, #38c2b5, #5aaad8);
    border-radius: 999px;
  }
  
  /* لما السكشن يدخل على الشاشة – نشغل أنيميشن نمو الخط */
  .services-timeline.in-view::after {
    animation: timeline-grow 1.1s ease-out forwards;
  }
  
  @keyframes timeline-grow {
    from {
      height: 0;
    }
    to {
      height: 100%;
    }
  }
  
  /* عنصر الخدمة */
  .service-step {
    position: relative;
    display: flex;
    flex-direction: row; /* عشان الدائرة على اليمين بالنص RTL */
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 2rem;
  }
  
  /* الدائرة (الرقم) */
  .step-marker {
    position: relative;
    z-index: 2;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid rgba(56,194,181,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
  }
  
  .step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #38c2b5, #5aaad8);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
  }
  
  /* محتوى الخدمة */
  .step-content {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.2rem 1.2rem 1.1rem;
    box-shadow: 0 10px 26px rgba(15,23,36,0.06);
    border: 1px solid rgba(0,0,0,0.03);
    width: 100%;
  }
  
  .step-content h3 {
    margin: 0 0 0.4rem;
    font-size: 28px;
  }
  
  .step-content p {
    margin: 0;
    font-size: 20px;
    line-height: 1.65;
    color: #555;
  }
  
  /* لمسة hover بسيطة */
  .service-step:hover .step-content {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(15,23,36,0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
  
  /* نضيف تأخيرات خفيفة لظهور العناصر */
  .services-timeline .service-step.reveal {
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  
  .services-timeline .service-step:nth-child(1) {
    transition-delay: 0.05s;
  }
  .services-timeline .service-step:nth-child(2) {
    transition-delay: 0.12s;
  }
  .services-timeline .service-step:nth-child(3) {
    transition-delay: 0.19s;
  }
  .services-timeline .service-step:nth-child(4) {
    transition-delay: 0.26s;
  }
  .services-timeline .service-step:nth-child(5) {
    transition-delay: 0.33s;
  }
  .services-timeline .service-step:nth-child(6) {
    transition-delay: 0.4s;
  }
  
  
  /* reveal animation */
  .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s ease, transform .7s ease;
  }
  
  .reveal.in-view {
    opacity: 1;
    transform: translateY(0);
  }
  
  
  /* areas */
  .areas-list {
    list-style: none;
    padding: 0;
    margin: 0;
    columns: 2;
    column-gap: 3rem;
  }
  
  .areas-list li {
    margin-bottom: 0.5rem;
    font-size: 22px;
  }
  
  /* process */
  .steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
  
/* الحالة قبل الظهور */
.step-card {
    background: #fff;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
    transform-style: preserve-3d;
    opacity: 0;
    transition: 0.7s ease;
  }
  
  /* فليب لليمين للعناصر الفردية */
  .step-card:nth-child(odd) {
    transform: perspective(900px) rotateY(-70deg) translateY(30px);
  }
  
  /* فليب لليسار للعناصر الزوجية */
  .step-card:nth-child(even) {
    transform: perspective(900px) rotateY(70deg) translateY(30px);
  }
  
  /* الحالة بعد الظهور */
  .step-card.in-view {
    opacity: 1;
    transform: perspective(900px) rotateY(0deg) translateY(0);
  }
  

  .step-card h3 {
font-size: 28px;
  }
  .step-card p {
    font-size: 22px;
      }
  
  .step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #ffffff;
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
  }
  
  /* contact */
  .contact-section {
    background: linear-gradient(135deg, rgba(90, 170, 216, 0.06), rgba(56, 194, 181, 0.08));
  }
  
  .contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.3fr);
    gap: 2.5rem;
    align-items: flex-start;
  }
  
  .contact-list {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0;
  }
  
  .contact-list li {
    margin-bottom: 0.4rem;
  }
  
  .contact-list a {
    color: var(--primary);
    text-decoration: none;
  }
  
  .contact-form {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
  }
  
  .form-row {
    margin-bottom: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
  }
  
  .form-row label {
    font-size: 0.9rem;
    color: #444;
  }
  
  .form-row input,
  .form-row textarea {
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    padding: 0.6rem 0.75rem;
    font-family: inherit;
    font-size: 0.95rem;
  }
  
  .form-row input:focus,
  .form-row textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 1px rgba(90, 170, 216, 0.35);
  }
  
  .form-note {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #777;
  }
  
  /* footer */
  .site-footer {
    background: #0f1724;
    color: rgba(255, 255, 255, 0.85);
    padding: 1.5rem 0 1.8rem;
  }
  
  .footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.85rem;
  }
  
  .footer-note {
    color: rgba(255, 255, 255, 0.6);
  }


.footer-dev {
    font-size: 0.95rem;
    color: #ffffff;
    opacity: 0.75;
  }
  
  .footer-dev a {
    color: #38C2B5; /* فيروزي */
    text-decoration: none;
    font-weight: 700;
  }
  
  .footer-dev a:hover {
    opacity: 0.9;
  }
  
  /* أنيميشن الظهور على السكورول */
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  
  .reveal.in-view {
    opacity: 1;
    transform: translateY(0);
  }

  /* الخلفية */
#popupOverlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 9999;
  }
  
  /* البوكس */
  #popupBox {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: #fff;
    padding: 30px;
    border-radius: 14px;
    text-align: center;
    width: 90%;
    max-width: 380px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    opacity: 0;
    transition: 0.3s ease;
    font-family: "Assistant", sans-serif;
  }
  
  #popupBox.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  
  #popupBox h3 {
    margin-bottom: 10px;
    color: #0a2540;
  }
  
  #popupBox p {
    margin-bottom: 20px;
    color: #333;
    line-height: 1.6;
  }
  
  #popupBox button {
    background: linear-gradient(135deg, #38C2B5, #5AAAD8);
    color: #fff;
    border: none;
    padding: 12px 22px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
  }
  
  /* خلفية اللودينغ */
#formLoader {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
  }
  
  /* صورة اللوجو */
  #formLoader img {
    width: 110px;
    filter: drop-shadow(0px 0px 6px rgba(0,0,0,0.15));
    animation: spin 1.4s linear infinite;
    opacity: 0;
    transform: scale(0.8);
    animation: spin 1.4s linear infinite, fadeIn 0.4s ease forwards;
  }
  
  /* دوران */
  @keyframes spin {
    from { transform: rotate(0deg) scale(0.8); }
    to   { transform: rotate(360deg) scale(0.8); }
  }
  
  /* ظهور ناعم */
  @keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
  }
  


  
  /* ريسبونسيف */
  @media (max-width: 900px) {
    .about-grid,
    .contact-grid {
      grid-template-columns: minmax(0, 1fr);
    }
  
    .cards-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  
    .services-grid,
    .steps-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  
    .hero-content {
      padding-top: 4rem;
      padding-bottom: 4rem;
    }
  }
  
  @media (max-width: 720px) {
    .top-bar-inner {
      flex-direction: column;
      align-items: flex-start;
    }
  
    .nav-toggle {
      display: flex;
    }
    .hero-slide {

        height: 52vh;}
        
  
/* المنيو قبل الفتح */
.nav-links {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: rgba(255,255,255,0.98);
    flex-direction: column;
    gap: 0;
    padding: 0.75rem 1rem 1.2rem;
    transform-origin: top;
    transform: translateY(-10px) scale(0.95);
    opacity: 0;
    pointer-events: none;
    border-radius: 16px;
    margin: 10px auto 0;
    width: calc(100% - 28px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.10);
    transition:
      opacity 0.35s cubic-bezier(0.25, 0.1, 0.25, 1),
      transform 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
  }
  .section-intro {
    max-width: 640px;
    margin: 0 0 2rem;
    color: #555;
    font-size: 18px;
  }
  .text-about-us{
    font-size: 18px;
  }
  

  .logo img {
    height: 60px;
  }
  
  header.scrolled .logo img {
    height: 60px;
  }

  /* المنيو لما تفتح */
  .nav-links.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .hero-title {
    font-size: 35px;
    margin: 0 0 0.75rem;
    line-height: 1.25;
  }
  
  
    .nav-links.open {
      opacity: 1;
      transform: scaleY(1);
      pointer-events: auto;
    }
  
    .nav-links li {
      padding-block: 0.25rem;
    }
  
    .cards-grid,
    .services-grid,
    .steps-grid {
      grid-template-columns: minmax(0, 1fr);
    }
    .services-timeline {
        padding-right: 2rem;
      }
    
      .services-timeline::before,
      .services-timeline::after {
        right: 0.9rem;
      }
    
      .step-content {
        font-size: 0.9rem;
      }

      .step-content h3 {
        margin: 0 0 0.4rem;
        font-size: 20px;
      }
      
      .step-content p {
        margin: 0;
        font-size: 16px;
        line-height: 1.65;
        color: #555;
      }

      .step-card h3 {
        font-size: 20px;
          }
          .step-card p {
            font-size: 16px;
              }
  
    .hero-content {
      text-align: right;
    }
  
    .hero-actions {
      justify-content: flex-start;
    }
  
    .footer-inner {
      flex-direction: column;
      align-items: flex-start;
    }
    .section-title {
        font-size: 35px;
        margin-bottom: 0.75rem;
        width: 90%;
        text-align: center;
        border-radius: 12px;
        background: radial-gradient(circle at 20% 20%, var(--accent), var(--primary));
        color: #fff;
        justify-content: center;
        font-weight: 700;
        padding: 5px;
        box-shadow: var(--shadow-soft);
      }
      .areas-list li {
        margin-bottom: 0.5rem;
        font-size: 16px;
      }
  }
  