* {
    box-sizing: border-box;
    transition: all 0.3s ease;
}
body {
    margin: 0px;
    padding: 0px;
    background: #f8f1ec;
    font-family: "Beiruti", sans-serif;
}
header {
    width: 100%;
    min-height: 166px;
    background: #f8f1ec url('images/alt-1.jpg') repeat-x top center;
    text-align: center;
    padding-top: 120px;
}
header img {
    max-width: 300px;
    width: 100%;
    height: auto;
    margin-bottom: 50px;
    animation: pulseBox 3.2s ease-in-out infinite;
}
header h1 {
    font-size: 56px;
    color: #f194a8;
    margin: 15px 0 15px 0;
}
header h2 {
    font-size: 32px;
    color: #333;
    margin: 10px 0;
}
header p {
    font-size: 24px;
    font-weight: 500;
    color: #333;
    margin: auto;
    max-width: 600px;
    margin-bottom: 30px;
}
.cta-button {
    text-decoration: none;
    display: inline-block;
    background: #f194a8;
    color: #fff;
    padding: 12px 24px;
    border-radius: 5px;
    font-size: 20px;
    font-weight: 600;
    box-shadow: -5px 5px 0px -1px rgba(255,255,255,1);
    -webkit-box-shadow: -5px 5px 0px -1px rgba(255,255,255,1);
    -moz-box-shadow: -5px 5px 0px -1px rgba(255,255,255,1);
}
.cta-button:hover {
    background: #65c1c4;
}
.cta-button-2 {
    text-decoration: none;
    display: inline-block;
    background: #65c1c4;
    color: #fff;
    margin-top: 30px;
    padding: 12px 24px;
    border-radius: 5px;
    font-size: 20px;
    font-weight: 600;
    box-shadow: -5px 5px 0px -1px rgba(255,255,255,1);
    -webkit-box-shadow: -5px 5px 0px -1px rgba(255,255,255,1);
    -moz-box-shadow: -5px 5px 0px -1px rgba(255,255,255,1);
}
.cta-button-2:hover {
    background: #f194a8;
}
.wrapper {
    text-align: center;
    margin: 90px 0 0 0;
}
.jic-box{
  width:100%;
  /* background: #f8f1ec url('images/jic-bg-3.png') repeat-x center center;
  background-size: 1400px auto;
  animation: jic-pan 60s linear infinite; */
  padding: 40px 20px;
  margin-bottom: 90px;
}

.sections {
  display:flex;
  flex-direction:column;         /* stacked by default (mobile) */
  justify-content:center;
  align-items:center;
  gap:32px;
  max-width:1100px;
  margin:auto;
  direction: rtl;                /* make layout/text RTL-friendly */
  text-align: right;
}

/* Two columns on wider screens */


.sections {
    flex-direction: row;
    align-items: flex-start;
}

.sections .section-left {
    flex: 0 0 25%;
    max-width: 25%;
}

.sections .section-right {
    flex: 0 0 75%;
    max-width: 75%;
}

/* Image */
.jic-box img{
  max-width:550px;
  width:100%;
  height:auto;
  display:block;
  margin:0 auto;                 /* center on mobile */
}

/* Paragraphs */
.jic-box p{
  font-size:22px;
  line-height:1.9;
  color:#333;
  margin:0;
}

/* Minimal “card” style for the text block */
.section-right{
  position:relative;
  background:transparent;
  border:5px solid #65c1c4;
  border-radius:20px 0px 20px 0px;
  padding:24px 28px;
  box-shadow:0 10px 20px rgba(0,0,0,0.04);
  /* ensure the card doesn’t hug the image on small screens */
}

/* Accent stripe on the card (RTL-aware using logical properties) */
.section-right::before{
  content:"";
  position:absolute;
  inset-block:0;                 /* top & bottom = 0 */
  inset-inline-start:0;          /* left in LTR, right in RTL; here RTL puts it on the right edge */
  width:6px;
  background:var(--accent);
  border-start-start-radius:16px;
  border-end-start-radius:16px;
}

/* Background animation keyframes + reduced motion */
@keyframes jic-pan{
  from { background-position: 0 50%; }
  to   { background-position: 1400px 50%; }
}

@media (prefers-reduced-motion: reduce){
  .jic-box{ animation:none; }
}

.jic-services {
    width: 100%;
    max-width: 1100px;
    min-height: 266px;
    height: auto;
    text-align: right;
    margin: auto;
    background: #f8f1ec url('images/alt-2.jpg') repeat-x bottom center;
    border-radius: 20px;
    padding: 20px;
    position: relative;
}
.jic-services h3 {
    font-size: 36px;
    color: #65c1c4;
    margin: 30px 0 15px 0;
}
.jic-services p {
    font-size: 20px;
    margin: 20px 0 15px 0;
    padding-left: 130px;
}
.jic-services .robot {
    max-width: 243px;
    width: 100%;
    position: absolute;
    height: auto;
    float: left;
    bottom: -20px;
    left: -30px;
    margin: 0 20px 0 0;
}
.jic-services ul {
    list-style-type: none;
    padding: 0px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content:flex-start;
    gap: 20px;
}
.jic-services ul li {
    font-size: 18px;
    margin: 10px 0;
    display: block;
    font-size: 22px;
    background: #65c1c4;
    display: inline-block; 
    padding: 30px 20px;
    border-radius: 10px;
    color: #fff;
    text-align: center;
    font-weight: 600;
    cursor: pointer;
}
.jic-services ul li:hover {
    background: #f194a8;
    transform: translateY(-5px) !important;
}
.jic-services ul.jic-style-2 {
    list-style-type: none;
    padding: 0px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content:flex-start;
    gap: 20px;
}
.jic-services ul.jic-style-2 li {
    font-size: 18px;
    margin: 10px 0;
    display: block;
    font-size: 22px;
    background: unset;
    display: inline-block; 
    padding: unset;
    border-radius: 10px;
    color: #fff;
    text-align: center;
    font-weight: 600;
    cursor: pointer;
}
.jic-services ul.jic-style-2 li .front {
    padding: 12px 20px;
}
.jic-services ul.jic-style-2 li:hover {
    transform: unset !important;
}
.cta-box {
    text-align: center;
    margin: 90px auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background: #f8f1ec url('images/jic-bg-2.png') repeat-x center center;
    background-size: 1400px auto;
    animation: jic-pan 60s linear infinite;
    min-height: 494px;

}
.cta-box img {
    width: 100%;
    max-width: 500px;
    height: auto;
}
.cta-box video {
    width: 100%;
    max-width: 350px;
    aspect-ratio: 1 / 1;
    height: auto;
}
.social-box h3 {
    font-size: 28px;
    color: #65c1c4;
    margin-bottom: 20px;
}
.social-box a {
    margin: 0 5px;
    display: inline-block; 
}
.social-box a:hover {
    transform: translateY(-5px) !important;
}
.social-box a img {
    width: 40px;
    height: 40px;
}
.social-box svg {
    font-size: 44px;
    color: #65c1c4;
    fill: #65c1c4;
}
footer {
    width: 100%;
    min-height: 233px;
    background: #f8f1ec url('images/alt-3.jpg') repeat-x bottom center;
    text-align: center;
    padding-top: 220px;
    padding-bottom: 60px;
    font-weight: 600;
    color: #fff;
    font-size: 16px;
    direction: rtl;
}
.parallax-element-1 {
    position: absolute;
    right: 20px;
    top: 350px;
    z-index: 999;
    width: 122px !important;
    height: 130px !important;
    max-width: unset !important;
    animation: floatY 8s ease-in-out infinite;
    will-change: transform;
}
.parallax-element-2 {
    position: absolute;
    left: 0px;
    top: 1200px;
    z-index: 999;
    width: 243px !important;
    height: auto !important;
    max-width: unset !important;
    animation: floatY 8s ease-in-out infinite;
    will-change: transform;
}

.parallax-element-3 {
    position: absolute;
    left: 220px;
    top: 250px;
    z-index: 999;
    width: 32px !important;
    height: 30px !important;
    max-width: unset !important;
    transform-origin: 50% 50%;
    animation: spin360 12s linear infinite;
    will-change: transform;
}
.parallax-element-4 {
    position: absolute;
    right: 310px;
    top: 650px;
    z-index: 999;
    width: 32px !important;
    height: 30px !important;
    max-width: unset !important;
    animation: fadePulse 4.5s ease-in-out infinite;
    will-change: opacity;
}
@keyframes spin360 {
  to { transform: rotate(360deg); }
}

@keyframes fadePulse {
  0%, 100% { opacity: .35; }
  50%      { opacity: 1; }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
/* give them slightly different rhythms so they don’t sync */
.parallax-element-1 { animation-duration: 6s; }
.parallax-element-2 { animation-duration: 7s; animation-delay: -.5s; }

/* Accessibility: respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  .parallax-element-1,
  .parallax-element-2,
  .parallax-element-3,
  .parallax-element-4 { animation: none !important; }
}
.margin-top-50 {
    margin-top: 50px;
}
.margin-bottom-0 {
    margin-bottom: 0px;
}
.noticez {
    display: inline-block;
    background-color: #65c1c4;
    border-radius: 7px;
    border: dotted 2px #f8f1ec;
    color: #fff;
    clear: both;
    font-size: 18px;
    font-weight: bold;
    padding: 10px;
    margin-bottom: 20px;
}
.noticez-2 {
    display: block;
    width: fit-content;
    background-color: #333;
    border-radius: 7px;
    border: dotted 2px #f8f1ec;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    padding: 10px;
    margin: auto;
    margin-bottom: 20px;
    position: relative;
    animation: pulseBox 2.2s ease-in-out infinite;
}
@keyframes pulseBox {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.03); }
    100% { transform: scale(1); }
}

/* Both spans stay in normal flow */
.noticez-2 span {
    display: block;
    transition: opacity 0.4s ease;
}

/* Default: Arabic visible */
.noticez-2 .arabic-text {
    opacity: 1;
}

.noticez-2 .english-text {
    opacity: 0;
    height: 0;
    overflow: hidden;
}

/* Hover: English visible */
.noticez-2:hover .arabic-text {
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.noticez-2:hover .english-text {
    opacity: 1;
    height: auto;
    overflow: visible;
}

.english-text {
    direction: ltr;
}
/* kabse 3d style */
.pushable {
  position: relative;
  display: block;
  width: fit-content;
  margin: auto;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  clear:both;
  text-decoration: none;
  font-weight: 600;
}
.shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  background: hsl(0deg 0% 0% / 0.25);
  transform: translateY(2px);
}
.pushable.green-color .front {
  background: #65c1c4;
}
.pushable.green-color .edge {
  background: #157a7e;
}
.edge {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  background: #982941;
}
.front {
  display: block;
  position: relative;
  padding: 12px 42px;
  border-radius: 12px;
  font-size: 1.25rem;
  color: white;
  background: #f194a8;
  transform: translateY(-4px);
}

.pushable:hover .front {
  transform: translateY(-6px);
}
.pushable:hover .shadow {
  transform: translateY(4px);
}
.pushable:active .front {
  transform: translateY(-2px);
}
.pushable:active .shadow {
  transform: translateY(1px);
}

.pushable:focus:not(:focus-visible) {
  outline: none;
}