
.hero-light {
  background: #ffffff;
}

.hero-light .text-area h1 {
color: #041424f2 !important;;
}

.hero-light .text-area {
  color: #222;
transform: translate(-20px, -50px);
}

.light-highlight {
  background-color: var(--primary-orange);
  color: #fff;
}

.hero-light .divider {
  background: #111;
}

.hero-light .divider::before,
.hero-light .divider::after {
  border-color: #111;
}

.hero-light .nav-arrow {
  display: none;
}


#header.light-mode {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

#header.light-mode .nav-links a, 
#header.light-mode .logo {
    color: #333 !important;
}

.btn-primary {
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 5px;
    text-decoration: none;
    transition: 0.3s;
}

.text-area {
  flex: 1;
  z-index: 10;
  max-width: 600px; 
}

.text-area h1 {
font-family: 'Poppins', 'Cairo', sans-serif;
  font-size: 4.5rem; 
  font-weight: 900; 
  color: var(--white);
  line-height: 1.1;
  text-transform: uppercase; 
  margin-bottom: 2rem;
  
  letter-spacing: -1.8px; 
  
  -webkit-text-stroke: -9px var(--white); 
  text-transform: none; 
  display: inline-block;
  transform: scaleX(1.15); 
  transform-origin: left; 
}

.text-area p {
  width: fit-content;
  text-align: center;
  margin-top: 15px;
}

body[dir="rtl"] .text-area p {
  margin-left: auto;
  margin-right: auto; 
  text-align: center;
  margin-top: 5px; 
}


.hero-light .handwritten-highlight {
  background-image: linear-gradient(var(--primary-orange), var(--primary-orange));
  background-size: 0% 100%; 
  background-repeat: no-repeat;
  background-position: left center;
  background-color: transparent !important;
  color: var(--white) !important;
  padding: 4px 10px;
  display: inline;
  line-height: 2.2;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  transition: background-size 2s cubic-bezier(0.25, 1, 0.5, 1);
}

body[dir="rtl"] .hero-light .handwritten-highlight {
  background-position: right center;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  background-clip: padding-box;
  line-height: 2.8;
}

.hero-light .handwritten-highlight.active-draw {
  background-size: 100% 100% !important;
}

.hero-dynamic .handwritten-highlight,
.services-section .handwritten-highlight {
  background-color: var(--primary-orange) !important;
  background-image: none !important;
  background-size: 100% 100% !important;
  color: var(--white) !important;
  padding: 2px 8px;
  display: inline;
  line-height: normal;
  border: none !important;
}


@media (max-width: 768px) {
    .text-area {
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 10px;
    }

    .handwritten-highlight {
        font-size: 0.82rem !important; 
        line-height: 2.5 !important;
        letter-spacing: -0.3px; 
        display: inline !important;
        word-spacing: -1px; 
    }

    .handwritten-highlight br {
        display: block !important;
        content: "";
        margin-top: 10px;
    }

    .tech-tables-grid { grid-template-columns: 1fr; }
}

body[dir="rtl"] .text-area h1 {
  font-family: 'Cairo', sans-serif; 
  font-weight: 900; 
  line-height: 1.3;
  letter-spacing: 0;
  transform: none; 
  transform-origin: right; 
  -webkit-text-stroke: 2px #041424; 
}

.hero-dynamic {
  position: relative;
  overflow: hidden;
  background: var(--dashboard-bg);
}

.hero-slide {
  display: none; 
  width: 100%;
  height: 100vh;
}

.hero-slide.active {
  display: flex;
  align-items: center;
  animation: fadeIn 0.8s ease-in-out;
}


.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 2rem;
  padding: 15px;
  cursor: pointer;
  z-index: 1000 !important; 
  transition: 0.3s;
  border-radius: 50%;
}

.nav-arrow:hover {
  background: var(--primary-orange);
  border-color: var(--primary-orange);
}

.prev-btn { left: 20px; }
.next-btn { right: 20px; }

body[dir="rtl"] .prev-btn { left: auto; right: 20px; transform: translateY(-50%) rotate(180deg); }
body[dir="rtl"] .next-btn { right: auto; left: 20px; transform: translateY(-50%) rotate(180deg); }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}


.text-area {
  flex: 1;
  color: white;
  z-index: 10;
}


.hero-content {
  display: flex;
  width: 100%;
  height: 80vh;
  align-items: center;
  justify-content: space-around;
  padding: 0 5%;
  transform: translateY(-40px); 
}

.right-area {
    position: relative;
    width: 100%;
    max-width: 700px; 
    aspect-ratio: 7 / 6; 
    height: auto !important; 
    overflow: hidden;
    user-select: none;
}

.video-area,
.image-area {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1440px), (max-height: 900px) {
    .right-area {
        max-width: 520px; 
    }
    
    .hero-content {
        transform: translateY(0); 
        margin-top: -90px; 
    }

    .text-area h1 {
        font-size: 3.9rem; 
    }
}

.video-area { z-index: 2; clip-path: inset(0 50% 0 0); }
.image-area { z-index: 1; clip-path: inset(0 0 0 0); }

.divider {
    position: absolute;
    top: 0; bottom: 0;
    left: 50%;
    width: 2px;
    background: #111;
    cursor: ew-resize;
    z-index: 3;
    transform: translateX(-50%);
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%; 
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--white); 
    border-right: 2px solid var(--white);
}

.divider::before {
    left: -14px; 
    transform: translateY(-50%) rotate(-135deg); 
}

.divider::after {
    right: -14px; 
    transform: translateY(-50%) rotate(45deg); 
}

@media (max-width: 768px) {
.hero-content { 
    flex-direction: column; 
    text-align: left; 
    align-items: flex-start; 
    height: auto !important; 
    margin-top: 80px; 
    transform: none !important; 
    padding-top: 20px;
  }
.right-area { 
    width: 100%; 
    height: 300px !important; 
    margin-top: 10px; 
    margin-bottom: 40px; 
  }
  body[dir="rtl"] .hero-light .handwritten-highlight {
    border-top: 3px solid transparent !important;
    border-bottom: 3px solid transparent !important;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    line-height: 2.4 !important; 
  }
}


.container {
    max-width: 1200px;
    margin: 0 auto;
}

#about-digital-v3 {
    padding: 100px 5%;
    overflow: hidden;
scroll-margin-top: 210px;

}


.about-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 50px;
}

.about-content {
    flex: 1;
    min-width: 300px;
    padding: 0 25px; 
    border-width: 0 0 0 5px; 
}

body[dir="rtl"] .about-content {
    border-right: 5px solid #E65100;
    border-left: none;
    padding-right: 25px;
    padding-left: 0;
}

body[dir="ltr"] .about-content {
    border-left: 5px solid #E65100;
    border-right: none;
    padding-left: 25px;
    padding-right: 0;
}


.about-content h2 {
    color: #002366;
    font-size: 2.8rem;
    margin-bottom: 25px;
    font-weight: 700;
}

.about-content span {
    color: #002366;
}

.about-content .main-p {
    color: #000000;
    line-height: 1.9;
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.about-content .sub-p {
    color: #000000;
    line-height: 1.9;
    font-size: 1.15rem;
}

.about-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    height: 350px;
}


.ai-rings {
    position: relative;
    width: 300px;
    height: 300px;
}

.ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid transparent;
    animation: rotate 10s linear infinite;
}

.ring-1 {
    width: 100%; height: 100%;
    border-top-color: #002366;
    animation-duration: 15s;
}

.ring-2 {
    width: 80%; height: 80%;
    top: 10%; left: 10%;
    border-bottom-color: #E65100;
    animation-duration: 10s;
    animation-direction: reverse;
}

.ring-3 {
    width: 60%; height: 60%;
    top: 20%; left: 20%;
    border-right-color: rgba(0, 35, 102, 0.5);
    animation-duration: 5s;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


#vision-goals-network {
  position: relative;
  background-color: #f7f7f7;
  padding: 100px 5%;
  min-height: 500px;
  overflow: hidden;
}

#particles-js {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
}

.content-wrapper {
    position: relative;
    z-index: 2; 
    max-width: 1100px;
    margin: 0 auto;
}

.tech-tables-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.modern-card {
    background: rgba(260, 260, 260, 0.8);
    backdrop-filter: blur(5px); 
    border: 1px solid rgba(0, 35, 102, 0.1);
    border-radius: 15px;
    padding: 40px;
    transition: 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.modern-card:hover {
    transform: translateY(-10px);
    border-color: #E65100;
    background: #fff;
    box-shadow: 0 20px 40px rgba(0, 35, 102, 0.08);
}
.card-head {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}
.icon-circle {
    width: 50px; height: 50px;
    background: #002366;
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
}

.card-head h3 { color: #002366; font-size: 1.6rem; margin: 0; }

.card-body p { color: #555; line-height: 1.8; font-size: 1.1rem; }

.goals-list-modern { list-style: none; padding: 0; }
.goals-list-modern li {
    display: flex; align-items: center; gap: 15px;
    margin-bottom: 15px;
    color: #444; font-weight: 500;
}

.goals-list-modern li span {
    color: #E65100; font-weight: bold; font-size: 0.9rem;
    border: 1px solid #E65100;
    padding: 2px 8px; border-radius: 4px;
}


#digital-solutions {
    padding: 100px 5%;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header h2 {
    color: #002366;
    font-size: 2.5rem;
    font-weight: 700;
}

.section-header span {
    color: #E65100;
}

.section-header p {
    color: #666;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}
.solution-card {
    background: #fff;
    padding: 40px 25px;
    border-radius: 15px;
    border: 1px solid #f0f0f0;
    text-align: center;
    transition: all 0.3s ease-in-out;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}
.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(18, 38, 75, 0.1);
    border-color: rgba(230, 81, 0, 0.3);
}
.highlight-border {
    border-bottom: 4px solid #ffffff;
}
.card-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.card-icon .custom-icon {
    width: 65px;  
    height: 65px;
    object-fit: contain;
    display: block;
    margin: 0 auto; 
}

.solution-card {
    padding: 40px 25px !important; 
}


.solution-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}
.solution-card h3 {
    color: #002366;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.solution-card p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    height: 60px;
}

.tag {
    display: inline-block;
    background: #f4f7f6;
    color: #E65100;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
}

.solution-card:hover .tag {
    background: #E65100;
    color: #fff;
}
#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; 
    z-index: 1; 
}
#vision-goals-network {
    position: relative; 
    min-height: 500px;
    background-color: #f7f7f7;
}

.content-wrapper {
    position: relative;
    z-index: 2; 
}

#vision-goals-network {
    position: relative;
    background-color: #f7f7f7;
    padding: 100px 5%;
    overflow: hidden;
}

#particles-js {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
}

.content-wrapper { position: relative; z-index: 2; }

.tech-tables-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.modern-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 50px 40px;
    border-radius: 20px;
    border: 1px solid rgba(0, 35, 102, 0.08);
    transition: 0.4s ease;
}

.modern-card:hover {
    transform: translateY(-10px);
    border-color: #E65100;
}

.icon-circle {
    width: 70px; height: 70px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #fff;
}

.pulse-blue { background: #002366; box-shadow: 0 0 0 rgba(0, 35, 102, 0.4); animation: pulse-blue 2s infinite; }
.pulse-orange { background: #E65100; box-shadow: 0 0 0 rgba(230, 81, 0, 0.4); animation: pulse-orange 2s infinite; }

.card-head h3 { color: #002366; font-size: 1.8rem; font-weight: 700; margin-bottom: 15px; }

/* =========================================
   ========================================= */
.goals-list-modern { list-style: none; padding: 0; }

.goals-list-modern li {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  padding: 12px 15px;
  background: #fbfbfb;
  border-radius: 12px;
  border-left: 3px solid #E65100; 
  transition: 0.3s;
}

.goals-list-modern li:hover { 
  background: #fff; 
  transform: translateX(5px); 
}

.goals-list-modern i {
  color: #002366;
  font-size: 1.2rem;
  width: 30px;
  text-align: center;
}

.goals-list-modern p { margin: 0; font-size: 1.05rem; color: #444; }


/* =========================================
   ========================================= */
body[dir="rtl"] .goals-list-modern li {
  border-left: none; 
  border-right: 3px solid #E65100; 
}

body[dir="rtl"] .goals-list-modern li:hover {
  transform: translateX(-5px);
}

/* =========================================
   ========================================= */
@media (max-width: 768px) {
  
  .hero-content { 
    flex-direction: column; 
    text-align: left; 
    align-items: flex-start; 
    justify-content: flex-start; 
    height: auto !important; 
    margin-top: 0 !important; 
    padding-top: 35px; 
  }
  
  body[dir="rtl"] #home-hero .hero-content {
    padding-top: 0px !important; 
    text-align: right;
    align-items: flex-start;
  }
  
  body[dir="rtl"] #home-hero .text-area {
    margin-top: -45px !important; 
  }

  .hero-light .text-area {
    transform: translate(0, 0) !important; 
    width: 100%;
    margin-bottom: 20px; 
  }

  .text-area h1 {
    font-size: 2.3rem !important; 
    line-height: 1.1; 
    margin-bottom: 10px;
    max-width: min-content; 
    white-space: normal;
  }

body[dir="rtl"] .text-area h1 {
  max-width: 100%; 
  white-space: nowrap; 
  margin-bottom: 25px; 
}


  .right-area { 
    width: 100%; 
    height: 260px !important; 
    margin-top: 0; 
    margin-bottom: 70px !important; 
  }
}

/* =========================================
   ========================================= */
#creative-team {
  position: relative;
  background-color: #f9f9f9; 
  padding-top: 80px; 
  z-index: 1;
  overflow: hidden;
}

#neural-particles {
  position: absolute;
  bottom: 0; left: 0; 
  width: 100%; 
  height: 60%; 
  z-index: 1; 
}

.team-header h2 { color: #002366; }
.team-header h2 span { color: #E65100; }
.team-header p { color: #555; }

.team-split-container {
  position: relative;
  width: 100%;
  margin-top: 60px;
  background: linear-gradient(to bottom, transparent 70px, #efece8cf 70px);
  padding-bottom: 80px; 
}

.team-nodes-row {
  position: relative;
  z-index: 2; 
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 50px;
}

.team-node {
  width: 220px;
  text-align: center;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.team-node:hover { transform: translateY(-15px); }

.node-avatar {
  width: 140px; 
  height: 140px;
  margin: 0 auto 15px;
  position: relative;
  border-radius: 50%;
  background: #f9f9f9; 
  padding: 6px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05); 
  z-index: 3;
}

.node-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #002366;
  position: relative;
  z-index: 2;
}

.pulse-ring {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  border-radius: 50%;
  border: 2px solid #E65100; 
  opacity: 0; 
  z-index: 1;
}

.team-node:hover .pulse-ring {
  animation: pulseNeural 1.2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

@keyframes pulseNeural {
  0% { transform: scale(0.95); opacity: 1; border-color: #E65100; } 
  100% { transform: scale(1.4); opacity: 0; border-color: #E65100; }
}

.node-details {
  color: #002366;
  padding-top: 10px;
}
.node-details h3 { 
  font-size: 1.05rem; 
  margin-bottom: 5px; 
  font-weight: 700; 
  white-space: nowrap; 
}
.node-details p { 
  font-size: 0.95rem; 
  margin: 0; 
  font-weight: 400; 
  color: #002366; 
}

/* =========================================
   ========================================= */
@media (max-width: 768px) {
  #creative-team { 
    padding-top: 40px; 
    background: linear-gradient(to bottom, #f9f9f9 40%, #efece8 22%) !important;
    min-height: auto;
    display: block; 
  }
  
  .team-header {
    margin-bottom: 20px;
  }

  .team-split-container { 
    margin-top: 20px;
    background: transparent !important; 
    padding-bottom: 40px; 
    position: relative;
    z-index: 2;
  }

  .team-split-container::before { display: none !important; }

  .node-avatar { 
    width: 110px;
    height: 110px; 
    margin: 0 auto 10px; 
    background: #efece8; 
    padding: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  }

  .team-nodes-row { 
    display: flex;
    justify-content: center;
    gap: 20px 10px; 
    padding: 0 5%;
  }
  
  .team-node {
    width: 46%; 
    background: transparent !important; 
  }
  
  .node-details h3 { 
    font-size: 0.85rem; 
    font-weight: 700;
    color: #002366;
    margin-bottom: 2px;
    line-height: 1.2;
  }
  
  .node-details p { 
    font-size: 0.75rem; 
    color: #002366;
    font-weight: 400;
  }

  #neural-particles {
    height: 50%;
    bottom: 0;
  }


  .service-row, 
  body[dir="rtl"] .service-row,
  .service-row.reverse,
  body[dir="rtl"] .service-row.reverse {
    display: flex !important;
    flex-direction: column !important; 
    align-items: center !important;
    text-align: center !important;
    gap: 30px !important;
    margin: 60px 0 !important;
  }

  .service-image {
    order: 1 !important;
    width: 100% !important;
  }

  .service-text {
    order: 2 !important;
    width: 100% !important;
  }
  .service-cards {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
    padding: 0 10px !important; 
    margin-top: 20px !important;
  }

  .service-card-box {
    display: flex !important;
    flex-direction: row !important; 
    align-items: center !important;  
    justify-content: center !important; 
    background: #ffffff !important;
    border-radius: 12px !important;
    padding: 15px 20px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06) !important;
    width: 100% !important; 
    min-height: 70px !important; 
    gap: 15px !important; 
  }

  body[dir="rtl"] .service-card-box {
    flex-direction: row !important;
    justify-content: center !important;
  }

  .service-card-box span {
    font-size: 1rem !important;
    font-weight: 600 !important;
    text-align: center !important;
    color: #222 !important;
    white-space: nowrap !important; 
  }

  .service-card-box img {
    width: 30px !important;
    height: 30px !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
  }
}





.wa-floating-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #E65100; 
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 30px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(230, 81, 0, 0.4);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}

.wa-floating-button:hover { transform: scale(1.1); background-color: #bf4300; }

.wa-chat-container {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 320px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  display: none;
  flex-direction: column;
  z-index: 10000;
  overflow: hidden;
  font-family: 'Cairo', 'Poppins', sans-serif;
}

.wa-close-btn {
    background: transparent !important;
    border: none;
    color: white !important;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.wa-input-wrapper {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    background: white;
    padding: 8px;
    border-radius: 12px;
    border: 1px solid #ddd;
    margin-top: 10px;
}

#waUserInput {
    flex: 1;
    border: none;
    outline: none;
    resize: none;
    height: 40px;
    font-size: 14px;
    font-family: inherit;
}

.wa-send-arrow {
    background: #E65100;
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.wa-send-arrow:hover { background: #bf4300; }

.wa-chat-header { background: #002366; color: white; padding: 15px; display: flex; justify-content: space-between; align-items: center; }

.wa-send-btn {
    width: 100%;
    background: #E65100; 
    color: white;
    border: none;
    padding: 12px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}
.wa-send-btn:hover { background: #bf4300; }

.wa-admin-info {
    display: flex;
    align-items: center; 
    gap: 10px; 
}

.wa-admin-text {
    display: flex;
    flex-direction: column; 
    justify-content: center;
}

.wa-admin-text strong {
    font-size: 13px;
    line-height: 1.2;
    display: block;
}

.wa-admin-text span {
    font-size: 10px;
    display: block;
}

.wa-chat-body {
    padding: 15px 20px;
    background: #f0f2f5;
}

.wa-chat-footer {
    padding: 15px 20px 20px; 
}

.wa-admin-info img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: white;
    padding: 2px;
    object-fit: contain;
}



[dir="rtl"] .wa-input-wrapper { flex-direction: row; }
[dir="ltr"] .wa-input-wrapper { flex-direction: row-reverse; }

[dir="ltr"] .fa-paper-plane {
    transform: scaleX(-1);
}
 

/* =========================================
   ========================================= */
@media (max-width: 768px) {
  body[dir="rtl"] .hero-dynamic .text-area h1 {
    font-weight: 600 !important; 
  }

  body[dir="rtl"] .section-title {
    font-weight: 600 !important; 
  }
}

.wa-hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(30px) scale(0.8) !important;
}

.wa-chat-container {
    z-index: 10000 !important;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.wa-floating-button {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999; 
}

.fab-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 9999;
  transition: all 0.3s ease;
}

.fab-container.wa-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(20px);
}

.fab-items {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}

.fab-container.active .fab-items {
  max-height: 200px;
  opacity: 1;
  pointer-events: all;
}

.fab-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #E65100;
  color: white;
  border: none;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, background-color 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.fab-container.active .fab-toggle {
  transform: rotate(180deg);
  background-color: #002366;
}

.fab-item {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: white;
  border: none;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.2s ease;
}

.fab-item:hover { transform: scale(1.1); }
.fab-item.wa-btn   { background-color: #E65100; }
.fab-item.chat-btn { background-color: #002366; }

.wa-chat-container {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 320px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  display: none;
  flex-direction: column;
  z-index: 10000;
  overflow: hidden;
  font-family: 'Cairo', 'Poppins', sans-serif;
}

#tidio-chat-iframe {
    bottom: 200px !important; 
}

@media screen and (max-width: 768px) {
    #tidio-chat-iframe {
        bottom: 100px !important;
    }
}