/* AI Development — scoped to .ai-development-page
   From Downloads/ai-development.html (chrome stripped)
*/

    .ai-development-page #portfolio-hero h1 {
        font-size: 44px !important;
        font-weight: 700 !important;
        color: #fff !important;
        line-height: 1.2 !important;
    }
 .ai-development-page img.dubai-agent {
    transform: unset !important;
    margin-bottom: -11px;
  }



  .ai-development-page {
    background-color: #000000;
  }

  .ai-development-page #portfolio-hero h1 {
    font-size: 44px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    line-height: 1.2 !important;
  }

  /* ==================== EXACT LOGIC WORKS HEADING GRADIENT (.gradient) ==================== */
  .ai-development-page h1,
  .ai-development-page h2,
  .ai-development-page h2.text-white,
  .ai-development-page h2.same-all {
    color: #ffffff !important;
    text-shadow: none;
  }

  .ai-development-page h1 .gradient,
  .ai-development-page h2 .gradient {
    background: linear-gradient(90deg, #ffffff 0%, #f1b3db 45%, #9f5cff 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
  }

  /* Soft luminous stop on #59249A purple CTA banners so the violet end stays crisp */
  .ai-development-page .discuss-sec h2 .gradient,
  .ai-development-page #transform-app h2 .gradient {
    background: linear-gradient(90deg, #ffffff 0%, #f1b3db 48%, #d2a8ff 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
  }

  /* ==================== COPY TYPOGRAPHY & INLINE LINK HYGIENE ==================== */
  /* In-copy links stay pure inline text: no padding, margin or display switch,
     so no gap can appear between a link and the punctuation that follows it. */
  .ai-development-page main p a:not(.btn):not([class*="live-chat"]),
  .ai-development-page .lw-native-sub a,
  .ai-development-page .content-description a {
    display: inline !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    letter-spacing: inherit;
    word-spacing: normal;
    color: #d4a5ff;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
  }

  .ai-development-page main p a:not(.btn):not([class*="live-chat"]):hover,
  .ai-development-page .lw-native-sub a:hover,
  .ai-development-page .content-description a:hover {
    color: #f1b3db;
  }

  .ai-development-page .ai-para {
    font-weight: 500;
    font-size: 18px;
    color: #ffffff;
  }

  .ai-development-page .container .live-chat-btns a {
    background-image: linear-gradient(to right, #9749ea, #e97894);
    color: #fff;
    padding: 7px 40px;
    font-size: 24px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 6px;
    display: inline-block;
  }

  .ai-development-page img.dubai-agent {
    transform: unset !important;
    margin-bottom: -11px;
  }

  /* ==================== WHO WE ARE (EXACT EXISTING DESIGN) ==================== */
  .ai-development-page .who-we-are-section {
    background: url('../images/ai-development/proc-bg.webp') center/cover no-repeat;
    min-height: 100vh;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
  }

  .ai-development-page .who-we-are-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(14 13 13);
    z-index: -1;
  }

  .ai-development-page .who-we-are-section .container {
    display: block;
  }

  .ai-development-page .section-description {
    font-size: 1.1rem;
    color: #ffffff;
    max-width: 820px;
    margin: 0 auto 2.2rem auto;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    font-weight: 400;
  }

  .ai-development-page .ai-brain-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 3.5rem 0;
    min-height: 500px;
  }

  .ai-development-page .ai-brain-image {
    padding: 276px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    background: url('../images/ai-development/are.webp') center/cover no-repeat;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 40px rgba(138, 43, 226, 0.4);
    transition: all 0.3s ease;
  }

  .ai-development-page .ai-brain-image:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(138, 43, 226, 0.6);
  }

  .ai-development-page .stat-box {
    position: absolute;
    border: 2px dashed rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    padding: 10px 16px;
    backdrop-filter: blur(15px);
    z-index: 3;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    min-width: 210px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #2f2f2f;
    transition: all 0.3s ease;
  }

  .ai-development-page .stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.6);
  }

  .ai-development-page .stat-box.top-left {
    top: 50px;
    left: 20px;
  }

  .ai-development-page .stat-box.top-right {
    top: 100px;
    right: 10px;
  }

  .ai-development-page .stat-box.bottom-left {
    bottom: 80px;
    left: 20px;
  }

  .ai-development-page .stat-number {
    font-size: 1.65rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
  }

  .ai-development-page .stat-text {
    font-size: 0.85rem;
    color: #e0e0e0;
    margin: 0;
    line-height: 1.35;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    font-weight: 500;
  }

  .ai-development-page .connecting-line {
    position: absolute;
    border: 1px dashed rgba(255, 255, 255, 0.6);
    z-index: 1;
  }

  .ai-development-page .line-1 {
    width: 80px;
    top: 80px;
    left: 70px;
    transform: rotate(-25deg);
  }

  .ai-development-page .line-2 {
    width: 90px;
    top: 140px;
    right: 70px;
    transform: rotate(20deg);
  }

  .ai-development-page .line-3 {
    width: 85px;
    bottom: 120px;
    left: 75px;
    transform: rotate(30deg);
  }

  .ai-development-page .stats-desktop {
    display: block;
  }

  .ai-development-page .stats-mobile {
    display: none;
  }

  /* ==================== CAPABILITIES SWIPER SLIDER (EXACT EXISTING DESIGN) ==================== */
  .ai-development-page .app-slider .swiper-button-prev {
    background: url('../images/ai-development/arrow-1.webp') no-repeat;
    width: 73px;
    height: 54px;
    top: unset;
    bottom: -1%;
    z-index: 20;
    left: unset;
    right: 8%;
  }

  .ai-development-page .app-slider .swiper-button-next {
    background: url('../images/ai-development/arrow-2.webp') no-repeat;
    width: 73px;
    height: 54px;
    top: unset;
    bottom: -1%;
    z-index: 20;
  }

  .ai-development-page .app-slider .swiper-button-prev::after,
  .ai-development-page .app-slider .swiper-button-next::after {
    display: none;
  }

  .ai-development-page .swiper-slide {
    background-color: #1F1F1F !important;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 455px;
    height: auto;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    padding: 0 !important;
  }

  .ai-development-page .swiper-slide > img {
    width: 100%;
    height: 175px;
    object-fit: cover;
  }

  .ai-development-page .app-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
  }

  .ai-development-page .app-content h3 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff;
    margin: 0 0 10px 0;
  }

  .ai-development-page .app-content p {
    font-size: 15.5px !important;
    line-height: 1.58 !important;
    font-weight: 400;
    margin-bottom: 16px;
    color: #e6e6e6;
  }

  .ai-development-page .get-in-touch {
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
  }

  .ai-development-page .get-in-touch .arrow {
    width: 15px;
    height: auto !important;
    transition: transform 0.3s ease;
  }

  .ai-development-page .get-in-touch:hover .arrow {
    transform: translateX(4px);
  }

  /* ==================== MATCHING #1F1F1F SECTIONS (DUBAI SECTORS & WHY CHOOSE US) ==================== */
  .ai-development-page .lw-native-sec {
    padding: 80px 0;
    background-color: #08080c;
  }

  .ai-development-page .lw-native-sec.is-black {
    background-color: #000000;
  }

  .ai-development-page .lw-native-sub {
    color: #dcdcdc;
    font-size: 17px;
    line-height: 1.65;
    max-width: 820px;
    margin: 12px auto 46px auto;
    text-align: center;
  }

  .ai-development-page .lw-native-card {
    background-color: #1F1F1F;
    border-radius: 12px;
    border-top: 3px solid #582499;
    padding: 30px 26px;
    height: 100%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    transition: transform 0.3s ease, border-color 0.3s ease;
  }

  .ai-development-page .lw-native-card:hover {
    transform: translateY(-4px);
    border-top-color: #9749ea;
  }

  .ai-development-page .lw-native-card h3 {
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.32;
    margin: 0 0 14px 0;
  }

  .ai-development-page .lw-native-card p {
    color: #dedede;
    font-size: 15.5px;
    line-height: 1.7;
    margin: 0 0 12px 0;
  }

  .ai-development-page .lw-native-card p:last-child {
    margin-bottom: 0;
  }

  .ai-development-page .lw-native-card a {
    color: #d4a5ff;
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .ai-development-page .lw-native-card a:hover {
    color: #e97894;
  }

  /* ==================== OUR PROCESS (EXACT EXISTING INTERACTIVE TABS DESIGN) ==================== */
  .ai-development-page .process-section {
    background-image: url('../images/adword-marketing/bg-pattern.webp');
    padding: 80px 0;
    position: relative;
    overflow: hidden;
  }

  .ai-development-page .process-section .container {
    display: block;
  }

  .ai-development-page .section-subtitle-6 {
    color: #ffffff;
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 34px;
  }

  .ai-development-page .process-image {
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
  }

  .ai-development-page .process-image img {
    width: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
  }

  .ai-development-page .process-content {
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .ai-development-page .content-title {
    color: #ffffff;
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 16px;
  }

  .ai-development-page .content-description {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 15px;
  }

  .ai-development-page .process-tabs {
    padding-left: 20px;
  }

  .ai-development-page .tab-item {
    border-radius: 10px;
    margin-bottom: 12px;
    padding: 16px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }

  .ai-development-page .tab-item:hover {
    border-color: #582499;
    transform: translateX(5px);
  }

  .ai-development-page .tab-item.active {
    background: #582499;
    transform: translateX(10px);
  }

  .ai-development-page .tab-number {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin-right: 14px;
    min-width: 38px;
  }

  .ai-development-page .tab-title {
    color: #ffffff;
    font-size: 1.08rem;
    font-weight: 600;
    display: block;
  }

  .ai-development-page .fade-transition {
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .ai-development-page .fade-transition.show {
    opacity: 1;
  }

  /* ==================== FAQ SECTION CONTAINER FIX ==================== */
  .ai-development-page .faq-home .container,
  .ai-development-page .our-case-section .container {
    display: block;
  }

  /* ==================== RESPONSIVE BREAKPOINTS (EXISTING LAYOUT) ==================== */
  @media (max-width: 992px) {
    .ai-development-page .stat-box.top-left {
      left: -80px;
    }

    .ai-development-page .stat-box.top-right {
      right: -80px;
    }

    .ai-development-page .stat-box.bottom-left {
      left: -80px;
    }

    .ai-development-page .ai-brain-image {
      width: 300px;
      height: 300px;
    }

    .ai-development-page .process-content {
      padding: 20px 0;
      margin-bottom: 30px;
    }

    .ai-development-page .process-tabs {
      padding-left: 0;
    }
  }

  @media (max-width: 768px) {
    .ai-development-page #portfolio-hero h1 {
      font-size: 30px !important;
    }

    .ai-development-page .who-we-are-section {
      padding: 60px 0;
    }

    .ai-development-page .section-description {
      font-size: 1rem;
      padding: 0 20px;
      margin-bottom: 2rem;
    }

    .ai-development-page .stats-desktop {
      display: none;
    }

    .ai-development-page .stats-mobile {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 1rem;
      margin-top: 2rem;
    }

    .ai-development-page .stat-box {
      position: static;
      margin: 0.5rem auto;
      min-width: 240px;
      max-width: 280px;
      justify-content: center;
      text-align: center;
      flex-direction: column;
      gap: 4px;
    }

    .ai-development-page .connecting-line {
      display: none;
    }

    .ai-development-page .ai-brain-container {
      min-height: auto;
      margin: 2rem 0;
    }

    .ai-development-page .ai-brain-image {
      width: 250px;
      height: 250px;
    }

    .ai-development-page .process-image img {
      height: 300px;
    }
  }

  @media (max-width: 600px) {
    .ai-development-page .ai-brain-image {
      padding: 150px;
    }

    .ai-development-page .section-subtitle-6 {
      font-size: 18px;
    }

    .ai-development-page .process-section {
      padding: 40px 0;
    }
  }


/* Absolute site header clearance */
.ai-development-page #portfolio-hero.service-hero-sec {
  padding-top: 168px;
}
@media (max-width: 991.98px) {
  .ai-development-page #portfolio-hero.service-hero-sec {
    padding-top: 120px;
  }
}
.ai-development-page .container {
  display: block;
}

