
/* ── Dark Mode (default) ── */
[data-theme="dark"] {
  --sc-bg:           #0a0a0f;
  --sc-bg-card:      #111118;
  --sc-bg-section:   #0d0d14;
  --sc-text:         #f0f0f8;
  --sc-muted:        #888899;
  --sc-border:       rgba(167,0,254,0.15);
  --sc-border-soft:  rgba(255,255,255,0.06);
  --sc-card-bg:      #111118;
  --sc-card-hover:   rgba(167,0,254,0.06);
  --sc-card-shadow:  0 10px 40px rgba(0,0,0,0.4);
  --sc-quote-bg:     rgba(167,0,254,0.06);
  --sc-label-bg:     rgba(167,0,254,0.1);
  --sc-benefit-bg:   rgba(255,255,255,0.03);
  --sc-int-bg:       #111118;
  --sc-placeholder:  linear-gradient(135deg,#2a2a2a,#1a1a1a);
  --sc-heading:      #f0f0f8;
  --sc-divider:      rgba(167,0,254,0.15);
}

/* ── Light Mode ── */
[data-theme="light"] {
  --sc-bg:           #f5f5fa;
  --sc-bg-card:      #ffffff;
  --sc-bg-section:   #eeeef5;
  --sc-text:         #1a202c;
  --sc-muted:        #64748b;
  --sc-border:       rgba(167,0,254,0.15);
  --sc-border-soft:  rgba(0,0,0,0.06);
  --sc-card-bg:      #ffffff;
  --sc-card-hover:   rgba(167,0,254,0.04);
  --sc-card-shadow:  0 10px 30px rgba(0,0,0,0.07);
  --sc-quote-bg:     rgba(167,0,254,0.04);
  --sc-label-bg:     rgba(167,0,254,0.08);
  --sc-benefit-bg:   #f8fafc;
  --sc-int-bg:       #ffffff;
  --sc-placeholder:  linear-gradient(135deg,#e8e8f0,#d8d8e8);
  --sc-heading:      #1a202c;
  --sc-divider:      rgba(0,0,0,0.08);
}

:root {
  --accent:       #a700fe;
  --accent-light: #c44dff;
  --accent-dark:  #6a00ff;
  --gradient:     linear-gradient(135deg,#a700fe,#6a00ff);
  --radius:       16px;
  --radius-lg:    24px;
}

body {
  background: var(--sc-bg);
  color: var(--sc-text);
  transition: background 0.3s ease, color 0.3s ease;
}


.case-study-hero {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-overlay {
  /* position: absolute; */
  inset: 0;
  background: linear-gradient(160deg,rgba(10,10,15,.72) 0%,rgba(106,0,255,.22) 50%,rgba(10,10,15,.82) 100%);
  z-index: 1;
}

.floating-element {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: orbFloat 8s ease-in-out infinite;
  z-index: 1;
}
.floating-element-1{width:500px;height:500px;background:radial-gradient(circle,rgba(167,0,254,.4),transparent);top:-150px;right:-150px;}
.floating-element-2{width:300px;height:300px;background:radial-gradient(circle,rgba(106,0,255,.3),transparent);bottom:100px;left:-100px;animation-delay:3s;}
.floating-element-3{width:200px;height:200px;background:radial-gradient(circle,rgba(196,77,255,.25),transparent);top:40%;left:30%;animation-delay:5s;}

@keyframes orbFloat {
  0%,100%{transform:translateY(0) scale(1);}
  50%{transform:translateY(-30px) scale(1.05);}
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 160px 0 100px;
  text-align: center;
  animation: heroIn 1.5s ease-out;
}

@keyframes heroIn {
  from{opacity:0;transform:translateY(30px);}
  to{opacity:1;transform:translateY(0);}
}
.hero-title {
  font-size: clamp(2.4rem,5vw,4.5rem);
  font-weight: 800;
 
  color: #ffffff !important;
  line-height: 1.15;
  margin-bottom: 30px;
  text-shadow: 0 4px 30px rgba(167,0,254,.4);
  letter-spacing: -0.02em;
  display: inline-block;
  padding: 0 20px;
  position: relative;
}


[data-theme="dark"] .hero-title {
  color: #ffffff !important;
}


[data-theme="light"] .hero-title {
  color: #fafafa !important; 
}
.hero-title::after {
  content:'';position:absolute;bottom:-12px;left:50%;transform:translateX(-50%);
  width:120px;height:3px;background:white;border-radius:2px;
}

.hero-subtitle {
  font-size: clamp(1.2rem,2.5vw,2.2rem);
  color: rgba(255,255,255,.85);
  margin: 36px auto 20px;
  max-width: 700px;
  font-weight: 300;
}

.hero-description {
  font-size: clamp(1rem,1.5vw,1.3rem);
  color: rgba(255,255,255,.75);
  max-width: 680px;
  margin: 32px auto 0;
  line-height: 1.8;
}


@media (min-width: 992px) {
  .hero-title {
    font-size: clamp(2.4rem, 5vw, 4.5rem);
  }
}

@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2.2rem !important;
  }
}


@media (max-width: 767.98px) {
  .hero-title {
    font-size: 2rem !important;
  }
}


@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.8rem !important;  
    line-height: 1.3;
  }
}


@media (max-width: 480px) {
  .hero-title {
    font-size: 1.6rem !important;  
  }
}

@media (max-width: 375px) {
  .hero-title {
    font-size: 1.4rem !important;  
  }
}

@media (max-width: 320px) {
  .hero-title {
    font-size: 1.3rem !important;  
  }
}


[dir="rtl"] .hero-title {
  @media (max-width: 575.98px) {
    font-size: 1.7rem !important;
  }
  @media (max-width: 480px) {
    font-size: 1.5rem !important;
  }
  @media (max-width: 375px) {
    font-size: 1.35rem !important;
  }
}

/* ── Customers Section in Hero ── */
.customers-section {
    margin: 32px auto 20px;
    max-width: 720px;
    text-align: center;
}

.customers-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 16px;
    display: block;
}

.customers-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.customer-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    padding: 10px 18px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.customer-item:hover {
    background: rgba(255, 255, 255, 0.993);
    border-color: rgba(167, 0, 254, 0.45);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(167, 0, 254, 0.2);
}

.customer-logo-img {
    height: 36px;
    width: auto;
    max-width: 110px;
    object-fit: contain;
    filter: none;
    display: block;
}


.customer-item::after {
    display: none !important;
}

@media (max-width: 768px) {
    .customers-section {
        max-width: 100%;
        padding: 0 16px;
    }

    .customer-item {
        padding: 8px 14px;
        border-radius: 12px;
    }

    .customer-logo-img {
        height: 28px;
        max-width: 85px;
    }
}


.customer-name {
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
  padding: 4px 0;
  transition: all 0.3s ease;
  white-space: nowrap; 
}

.customer-name:hover {
  transform: translateY(-3px);
}


[dir="rtl"] .customer-item:not(:last-child)::after {
 
}


@media (max-width: 768px) {
  .customers-section {
    padding: 16px 20px;
  }
  
  .customer-item:not(:last-child)::after {
    margin: 0 12px;
    font-size: 1.5rem;
  }
  
  .customer-name {
    font-size: 1.2rem;
  }
}
.section-header{margin-bottom:60px;text-align:center;}

.section-title {
  font-size: clamp(2rem,3.5vw,3.5rem);
  font-weight: 800;
  color: var(--sc-heading);
  margin-bottom: 16px;
  display: inline-block;
  position: relative;
}
.section-title::after {
  content:'';position:absolute;bottom:-12px;left:50%;transform:translateX(-50%);
  width:100px;height:4px;background:var(--gradient);border-radius:2px;
}
.title-wrapper.text-left .section-title::after{left:0;transform:none;}
.title-wrapper.text-right .section-title::after{left:auto;right:0;transform:none;}

.section-subtitle{font-size:1.05rem;color:var(--sc-muted) !important;line-height:1.7;max-width:600px;margin:20px auto 0;}


.overview-section {
  padding: 90px 0;
  background: var(--sc-bg);
  position: relative;
}
.overview-section::before{content:'';position:absolute;top:0;left:0;right:0;height:1px;background:linear-gradient(90deg,transparent,var(--accent),transparent);}

.overview-item {
  margin-bottom: 90px;
  padding-bottom: 90px;
  border-bottom: 1px solid var(--sc-divider);
}
.overview-item:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0;}

.overview-image-wrapper {
  height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--sc-card-shadow), 0 0 0 1px var(--sc-border);
  transition: transform .4s ease;
}
.overview-image-wrapper:hover{transform:translateY(-6px);}
.overview-image{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s ease;}
.overview-image-wrapper:hover .overview-image{transform:scale(1.04);}

.overview-content{padding:32px;display:flex;flex-direction:column;justify-content:center;}
.overview-subtitle{display:inline-block;font-size:.85rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:var(--accent-light);margin-bottom:16px;}
.overview-title{font-size:clamp(1.8rem,2.5vw,2.5rem);font-weight:700;color:var(--sc-heading);line-height:1.3;margin-bottom:20px;}
.overview-description{font-size:1.1rem;line-height:1.9;color:var(--sc-muted);}


.solutions-showcase-section {
  padding: 90px 0;
  background: var(--sc-bg-section);
  position: relative;
}
.solutions-showcase-section::before{content:'';position:absolute;top:0;left:0;right:0;height:1px;background:linear-gradient(90deg,transparent,rgba(167,0,254,.5),transparent);}

.solution-showcase-item {
  margin-bottom: 90px;
  padding-bottom: 90px;
  border-bottom: 1px solid var(--sc-divider);
}
.solution-showcase-item:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0;}

.solution-image-wrapper {
   height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--sc-card-shadow), 0 0 0 1px var(--sc-border);
  transition: transform .4s ease;
  display: flex;             
  align-items: center;        
  justify-content: center;    

}
.solution-image-wrapper:hover{transform:translateY(-6px);}
.solution-image{width:100%;height:100%;display:block;object-position: center center;transition:transform .5s ease;}
.solution-image-wrapper:hover .solution-image{transform:scale(1.04);}

.solution-content-wrapper{padding:32px;display:flex;flex-direction:column;justify-content:center;}
.solution-title{font-size:clamp(1.8rem,2.5vw,2.5rem);font-weight:700;color:var(--sc-heading);line-height:1.3;margin-bottom:16px;}
.solution-description{font-size:1.1rem;line-height:1.9;color:var(--sc-muted);margin-bottom:24px;}

.solution-labels{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:24px;}
.solution-label {
  background:var(--sc-label-bg);color:var(--accent-light);
  border:1px solid rgba(167,0,254,.25);
  padding:6px 16px;border-radius:50px;
  font-size:.85rem;font-weight:600;
  transition:all .2s ease;
}
.solution-label:hover{background:rgba(167,0,254,.2);border-color:var(--accent);transform:translateY(-2px);}

.solution-benefits {
  background:var(--sc-benefit-bg);
  border:1px solid var(--sc-border);
  border-radius:var(--radius);
  padding:20px;margin-top:8px;
}
.benefits-title{font-size:.9rem;font-weight:700;color:var(--accent-light);margin-bottom:14px;display:flex;align-items:center;gap:8px;text-transform:uppercase;letter-spacing:.08em;}

.benefit-item {
  display:flex;align-items:flex-start;gap:12px;
  padding:10px;border-radius:10px;
  background:var(--sc-benefit-bg);
  border-left:3px solid rgba(167,0,254,.3);
  margin-bottom:8px;
  color:var(--sc-muted);font-size:.95rem;line-height:1.6;
  transition:all .3s ease;
}
.benefit-item:hover{background:var(--sc-card-hover);transform:translateX(5px);}
[dir="rtl"] .benefit-item{border-left:none;border-right:3px solid rgba(167,0,254,.3);}
[dir="rtl"] .benefit-item:hover{transform:translateX(-5px);}
.benefit-check{color:var(--accent);margin-top:3px;flex-shrink:0;}

.img-placeholder-box {
  width:100%;min-height:300px;
  background:var(--sc-placeholder);
  display:flex;align-items:center;justify-content:center;
  border-radius:var(--radius-lg);
  font-size:3.5rem;color:var(--accent);opacity:.35;
}



.customers-portfolio {
    padding: 90px 0;
    background: var(--sc-bg);
    position: relative;
}
.customers-portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.customers-portfolio .d-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 30px !important;
    justify-content: center;
}


.portfolio-card {
    background: var(--sc-card-bg);
    border: 1px solid var(--sc-border);
    border-radius: var(--radius-lg);
    padding: 30px 25px 35px; 
    min-width: 280px;
    max-width: 320px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: var(--sc-card-shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}
.portfolio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.portfolio-card:hover::before {
    transform: scaleX(1);
}
.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(167, 0, 254, 0.15);
    border-color: rgba(167, 0, 254, 0.4);
}
.portfolio-card:nth-child(1) { animation-delay: 0.1s; }
.portfolio-card:nth-child(2) { animation-delay: 0.2s; }
.portfolio-card:nth-child(3) { animation-delay: 0.3s; }
.portfolio-card:nth-child(4) { animation-delay: 0.4s; }
.portfolio-card:nth-child(5) { animation-delay: 0.5s; }
.portfolio-card:nth-child(6) { animation-delay: 0.6s; }



.portfolio-content {
    width: 100%;
    margin-bottom: 20px; 
    order: -1; 
}

.portfolio-content h3 {
    font-size: 1.1rem;    
    font-weight: 500;      
    color: var(--accent-light); 
    margin-bottom: 0;
    padding: 8px 15px;      
    background: var(--sc-label-bg); 
    border-radius: 50px; 
    display: inline-block;  
    letter-spacing: 0.5px;
    border: 1px solid rgba(167, 0, 254, 0.2);
    transition: all 0.3s ease;
}

.portfolio-card:hover .portfolio-content h3 {
    background: rgba(167, 0, 254, 0.2);
    border-color: var(--accent);
    transform: translateY(-2px);
}


.portfolio-content h3::after {
    display: none;
}


.portfolio-image {
    width: 180px;         
    height: 180px;         
    margin-bottom: 15px;   
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;    
    overflow: hidden;
    /* background: rgba(167, 0, 254, 0.03); */
    /* padding: 20px;          */
    transition: all 0.4s ease;
}

.company-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease, filter 0.3s ease;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.15));
}

[data-theme="dark"] .company-logo {
    filter: brightness(0.95) drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
}

.portfolio-card:hover .company-logo {
    transform: scale(1.15);
    filter: brightness(1.1) drop-shadow(0 12px 24px rgba(167, 0, 254, 0.4));
}


.industry-tag {
    background: var(--sc-label-bg);
    color: var(--sc-muted);
    border: 1px solid var(--sc-border);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
    transition: all 0.3s ease;
    margin-top: 5px;
}

.portfolio-card:hover .industry-tag {
    background: rgba(167, 0, 254, 0.15);
    color: var(--accent-light);
    border-color: var(--accent);
}

.placeholder-logo {
    width: 100px;
    height: 100px;
    border-radius: 30px;
    background: rgba(167, 0, 254, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed rgba(167, 0, 254, 0.3);
}

.placeholder-logo i {
    font-size: 3rem;
    color: var(--accent);
    opacity: 0.7;
}
.customer-logo-img {
    height: 52px;
    width: auto;
    max-width: 130px;
    object-fit: contain;
    filter: none;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.customer-logo-img:hover {
    transform: translateY(-4px) scale(1.06);
    filter: drop-shadow(0 8px 16px rgba(167, 0, 254, 0.4));
}

@media (max-width: 767px) {
    .portfolio-image {
        width: 150px;
        height: 150px;
        padding: 15px;
    }
    
    .portfolio-content h3 {
        font-size: 1rem;
        padding: 6px 12px;
    }
}

@media (max-width: 575px) {
    .portfolio-image {
        width: 130px;
        height: 130px;
        padding: 12px;
    }
}
.stats-section{margin-top:60px;padding-top:50px;border-top:1px solid var(--sc-divider);}
.stats-wrapper{display:flex !important;justify-content:center;align-items:center;gap:80px !important;flex-wrap:wrap;}
.stat-item{text-align:center;transition:transform .3s ease;}
.stat-item:hover{transform:translateY(-4px);}
.stat-number{font-size:3.2rem;font-weight:900;color:var(--sc-heading);line-height:1;margin-bottom:8px;letter-spacing:-0.5px;}
.stat-label{font-size:.95rem;color:var(--sc-muted);font-weight:500;}


.integrations-section-exact{padding:90px 0;background:var(--sc-bg-section);position:relative;}
.integrations-section-exact::before{content:'';position:absolute;top:0;left:0;right:0;height:1px;background:linear-gradient(90deg,transparent,rgba(167,0,254,.5),transparent);}

.integrations-container-exact{max-width:1400px;margin:0 auto;padding:0 40px;}
.integration-header-exact{text-align:center;margin-bottom:70px;}

.integration-main-title-exact{font-size:clamp(2rem,3.5vw,3.5rem);font-weight:800;color:var(--sc-heading);margin-bottom:16px;display:inline-block;position:relative;}
.integration-main-title-exact::after{content:'';position:absolute;bottom:-12px;left:50%;transform:translateX(-50%);width:120px;height:4px;background:var(--gradient);border-radius:2px;}
.integration-subtitle-exact{font-size:1.1rem;color:var(--sc-muted);max-width:700px;margin:20px auto 0;line-height:1.8;}

.integration-card-exact {
  background:var(--sc-int-bg);
  border:1px solid var(--sc-border);
  border-radius:var(--radius-lg);
  padding:30px 20px;min-height:110px;
  display:flex;align-items:center;justify-content:center;
  flex:1;min-width:130px;
  box-shadow:0 4px 12px rgba(0,0,0,.06);
  transition:all .3s cubic-bezier(.4,0,.2,1);
  position:relative;overflow:hidden;
  animation:fadeInUp .6s ease forwards;opacity:0;
}
.integration-card-exact::before{content:'';position:absolute;inset:0;background:linear-gradient(135deg,rgba(167,0,254,.04),rgba(106,0,255,.04));opacity:0;transition:opacity .3s ease;}
.integration-card-exact:hover{transform:translateY(-8px);box-shadow:0 16px 40px rgba(167,0,254,.14);border-color:var(--accent);}
.integration-card-exact:hover::before{opacity:1;}
.integration-card-exact:nth-child(1){animation-delay:.05s}.integration-card-exact:nth-child(2){animation-delay:.1s}
.integration-card-exact:nth-child(3){animation-delay:.15s}.integration-card-exact:nth-child(4){animation-delay:.2s}
.integration-card-exact:nth-child(5){animation-delay:.25s}.integration-card-exact:nth-child(6){animation-delay:.3s}

.integration-logo-exact{display:flex;align-items:center;justify-content:center;width:100%;z-index:1;}
.integration-logo-exact img{max-width:100%;max-height:60px;object-fit:contain;transition:transform .3s ease;}
[data-theme="dark"]  .integration-logo-exact img{filter:grayscale(20%);}
[data-theme="light"] .integration-logo-exact img{filter:grayscale(5%);}
.integration-card-exact:hover .integration-logo-exact img{transform:scale(1.08);filter:grayscale(0%) !important;}

.integration-placeholder-exact{width:60px;height:60px;border-radius:14px;background:var(--gradient);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:800;font-size:1.1rem;}

.d-flex.gap-2{display:flex !important;gap:16px !important;flex-wrap:wrap;}
.integrations-grid-last{display:flex;gap:16px;justify-content:center;flex-wrap:wrap;margin-top:16px;}


.summary-section-enhanced{padding:100px 0;background:var(--sc-bg);position:relative;overflow:hidden;}
.summary-section-enhanced::before{content:'';position:absolute;top:0;left:0;right:0;height:1px;background:linear-gradient(90deg,transparent,var(--accent),transparent);}

.summary-content{position:relative;z-index:2;text-align:center;max-width:900px;margin:0 auto;}
.summary-title{font-size:clamp(2rem,3.5vw,3.5rem);font-weight:800;color:var(--sc-heading);margin-bottom:48px;display:inline-block;position:relative;padding:0 20px;}

.summary-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;margin-bottom:48px;}

.stat-card {
  background:var(--sc-card-bg);
  border:1px solid var(--sc-border);
  border-radius:var(--radius-lg);
  padding:44px 24px;
  box-shadow:var(--sc-card-shadow);
  transition:all .4s ease;
  position:relative;overflow:hidden;
}
.stat-card::before{content:'';position:absolute;top:0;left:0;right:0;height:5px;background:var(--gradient);transform:scaleX(0);transition:transform .4s ease;}
.stat-card:nth-child(2)::before{background:linear-gradient(90deg,#43e97b,#38f9d7);}
.stat-card:nth-child(3)::before{background:linear-gradient(90deg,#fa709a,#fee140);}
.stat-card:hover{transform:translateY(-8px);box-shadow:0 20px 50px rgba(167,0,254,.15);}
.stat-card:hover::before{transform:scaleX(1);}
.stat-card .stat-number{font-size:4rem;font-weight:900;color:var(--sc-heading);line-height:1;margin-bottom:12px;}
.stat-card .stat-label{font-size:1.1rem;color:var(--sc-muted);font-weight:500;}

.summary-quote {
  background:var(--sc-quote-bg);
  border:1px solid var(--sc-border);
  border-left:4px solid var(--accent);
  border-radius:var(--radius-lg);
  padding:44px 48px;
  margin-bottom:48px;text-align:left;
  position:relative;
}
.summary-quote::before{content:'"';position:absolute;top:10px;left:24px;font-size:6rem;color:var(--accent);font-family:Georgia,serif;line-height:1;opacity:.3;}
.quote-text{font-size:1.2rem;font-style:italic;color:var(--sc-muted);line-height:1.9;position:relative;z-index:1;}

.summary-cta{display:inline-flex;align-items:center;gap:12px;background:var(--gradient);color:#fff;text-decoration:none;padding:18px 48px;border-radius:50px;font-weight:700;font-size:1.1rem;transition:all .3s ease;box-shadow:0 10px 40px rgba(167,0,254,.35);}
.summary-cta:hover{transform:translateY(-4px);box-shadow:0 16px 50px rgba(167,0,254,.5);color:#fff;}

@keyframes fadeInUp {
  from{opacity:0;transform:translateY(30px);}
  to{opacity:1;transform:translateY(0);}
}
.animate-fadeInUp{animation:fadeInUp .7s ease forwards;opacity:0;}


::-webkit-scrollbar{width:6px;}
::-webkit-scrollbar-track{background:var(--sc-bg);}
::-webkit-scrollbar-thumb{background:rgba(167,0,254,.4);border-radius:3px;}
::-webkit-scrollbar-thumb:hover{background:var(--accent);}


[dir="rtl"] .summary-quote{border-left:none;border-right:4px solid var(--accent);text-align:right;}
[dir="rtl"] .summary-quote::before{left:auto;right:24px;}
[dir="rtl"] .benefit-item{border-left:none;border-right:3px solid rgba(167,0,254,.3);}
[dir="rtl"] .benefit-item:hover{transform:translateX(-5px);}
[dir="rtl"] .customer-logo:not(:last-child)::after{margin-left:0;margin-right:12px;}


@media(max-width:991px){
  .hero-content{padding:130px 0 80px;}
  .overview-image-wrapper,.solution-image-wrapper{height:320px;}
  .summary-stats{grid-template-columns:1fr;}
  .stat-card{padding:30px 20px;}
  .stat-card .stat-number{font-size:3rem;}
  .stats-wrapper{gap:40px !important;}
  .solution-content-wrapper,.overview-content{padding:20px 0;}
}

@media(max-width:767px){
  .case-study-hero{background-attachment:scroll !important;}
  .hero-title{font-size:2.2rem;}
  .hero-title::after{width:80px;}
  .customers-section{padding:20px 24px;margin:24px 15px;}
  .customer-name{font-size:1.2rem;}
  .overview-image-wrapper,.solution-image-wrapper{height:260px;margin-bottom:20px;}
  .img-placeholder-box{min-height:220px;}
  .summary-quote{padding:28px 24px;}
  .quote-text{font-size:1rem;}
  .summary-cta{padding:14px 32px;font-size:1rem;}
  .integrations-container-exact{padding:0 16px;}
  .d-flex.gap-2{gap:10px !important;}
  .integration-card-exact{min-width:100px;padding:20px 12px;}
  .portfolio-card{min-width:unset;width:100%;max-width:100%;}
}

@media(max-width:575px){
  .hero-title{font-size:1.9rem;}
  .stat-number{font-size:2.5rem;}
  .section-title{font-size:1.8rem;}
  .integration-main-title-exact{font-size:1.8rem;}
}
/* ── Hebrew Font Fix ── */
html[lang="he"] a,
html[lang="he"] span,
html[lang="he"] p,
html[lang="he"] h1,
html[lang="he"] h2,
html[lang="he"] h3,
html[lang="he"] h4,
html[lang="he"] h5,
html[lang="he"] h6,
html[lang="he"] li,
html[lang="he"] button,
html[lang="he"] input,
html[lang="he"] textarea,
html[lang="he"] select,
html[lang="he"] option,
html[lang="he"] label,
html[lang="he"] div,
html[lang="he"] .hero-title,
html[lang="he"] .hero-description,
html[lang="he"] .section-title,
html[lang="he"] .section-description,
html[lang="he"] .service-card h4,
html[lang="he"] .service-card p,
html[lang="he"] .nav-link,
html[lang="he"] .btn,
html[lang="he"] .btn-primary-karmel,
html[lang="he"] .btn-outline-karmel,
html[lang="he"] .btn-nav-cta,
html[lang="he"] .footer-title,
html[lang="he"] .footer-links a {
  font-family: 'Heebo', sans-serif !important;
}


html[lang="ar"] a,
html[lang="ar"] span,
html[lang="ar"] p,
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4,
html[lang="ar"] h5,
html[lang="ar"] h6,
html[lang="ar"] li,
html[lang="ar"] button,
html[lang="ar"] input,
html[lang="ar"] textarea,
html[lang="ar"] select,
html[lang="ar"] option,
html[lang="ar"] label,
html[lang="ar"] div,
html[lang="ar"] .hero-title,
html[lang="ar"] .hero-description,
html[lang="ar"] .section-title,
html[lang="ar"] .section-description,
html[lang="ar"] .nav-link,
html[lang="ar"] .btn-primary-karmel,
html[lang="ar"] .btn-outline-karmel,
html[lang="ar"] .btn-nav-cta,
html[lang="ar"] .footer-title,
html[lang="ar"] .footer-links a {
  font-family: 'Tajawal', sans-serif !important;
}

body {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

#smooth-wrapper,
#smooth-content,
.body-wrapper {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.footer {
    background: var(--bg-dark) !important;
    border-top: 1px solid var(--border-color) !important;
    padding: 80px 0 40px !important;
    margin-bottom: 0 !important;
}


[data-theme="dark"] .footer {
    background: #06020f !important;
}

[data-theme="light"] .footer {
    background: #0a0518 !important;
}


.footer,
.footer p,
.footer h6,
.footer a,
.footer li {
    color: #a099b0;
}

.footer h6.footer-title {
    color: #f0ecf7 !important;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.footer .footer-links a {
    color: #6b6280;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer .footer-links a:hover {
    color: #c44dfe !important;
}

.footer .footer-links li {
    margin-bottom: 12px;
}


.footer ul li a[href] {
    transition: all 0.3s ease;
}
/* 
.footer ul li a:hover {
    background: #a700fe !important;
    border-color: #a700fe !important;
    color: #fff !important;
    transform: translateY(-3px);
} */


.footer iframe {
    filter: brightness(0.8) contrast(1.2);
    transition: filter 0.3s ease;
}

.footer iframe:hover {
    filter: brightness(1) contrast(1);
}

.footer > .container > div:last-child {
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid rgba(167, 0, 254, 0.15);
}

.footer > .container > div:last-child p,
.footer > .container > div:last-child a {
    color: #6b6280;
    font-size: 0.85rem;
}

@media (max-width: 991.98px) {

  .lang-dropdown,
  .language-dropdown,
  .dropdown-menu {
    left: auto !important;
    right: 0 !important;      
    transform: none !important;
    min-width: 180px;
    max-width: calc(100vw - 20px); 
    margin-right: 10px;
  }

  
  [dir="rtl"] .lang-dropdown,
  [dir="rtl"] .language-dropdown,
  [dir="rtl"] .dropdown-menu {
    right: auto !important;
    left: 0 !important;
    margin-left: 10px;
  }

}
/* Responsive */
@media (max-width: 768px) {
    .footer {
        padding: 60px 0 30px !important;
    }

    .footer > .container > div:last-child {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .footer {
        padding: 40px 0 20px !important;
    }

    .footer .col-6 {
        margin-bottom: 20px;
    }
}

/* Language button responsive */
@media (max-width: 991.98px) {

    .current-lang {
        display: none !important;
    }
    
    .lang-arrow {
        display: none !important;
    }
    
   .lang-btn{
  width:42px;
  height:42px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 !important;
}

/* Language button — base */
.lang-btn {
    height: 46px;
    background: var(--sc-bg-card, var(--bg-card));
    border: 1px solid var(--sc-border, var(--border-color));
    padding: 12px 18px;
    cursor: pointer;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 600;
    color: var(--sc-text, var(--text-primary));
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    justify-content: center;
}

/* Language button responsive */
@media (max-width: 991.98px) {
    .current-lang { display: none !important; }
    .lang-arrow    { display: none !important; }

    .lang-btn {
        width: 42px !important;
        height: 42px !important;
        border-radius: 50% !important;
        padding: 0 !important;
        gap: 0 !important;
        background: rgba(167, 0, 254, 0.1) !important;
        border: 1px solid rgba(167, 0, 254, 0.25) !important;
        color: var(--accent-light) !important;
    }

    .lang-btn:hover {
        background: rgba(167, 0, 254, 0.2) !important;
        border-color: var(--accent) !important;
        box-shadow: 0 4px 16px rgba(167, 0, 254, 0.3);
        transform: translateY(-2px);
    }
}
}

