/* General Styling */
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f9f9fc;
  color: #333;
}

h1, h2, h3, h5 {
  font-weight: 700;
}

.gradient-text {
  background: linear-gradient(90deg, #6a11cb, #2575fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-contact-wrapper {
  background: url('https://readdy.ai/api/search-image?query=futuristic%20digital%20landscape%20with%20abstract%20AI%20visualization%2C%20gradient%20purple%20and%20blue%20tones%2C%20modern%20tech%20aesthetic%2C%20minimalist%20design%20with%20floating%20geometric%20elements%2C%20perfect%20for%20website%20hero%20background%2C%20clean%20design%20with%20space%20for%20text%20on%20the%20left%20side%2C%20high-quality%20digital%20art&width=1920&height=1080&seq=hero1&orientation=landscape') no-repeat center center;
  background-size: cover;
  height: 750px;
  position: relative;
  z-index: 1;
}

.align-items-stretch {
    align-items: stretch !important;
    MARGIN-TOP: 6%;
}
.hero-contact-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.85); /* Optional overlay */
  z-index: -1;
}

.box-style {
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.hero-title {
  font-size: 2rem;
  font-weight: 700;
}

.hero-desc {
  font-size: 1rem;
  color: #555;
}

.gradient-text {
  background: linear-gradient(to right, #6a11cb, #2575fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 1.5rem;
  }
  .hero-desc {
    font-size: 0.95rem;
  }
  .hero-contact-wrapper {
    background: url(https://readdy.ai/api/search-image?query=futuristic%20digital%20landscape%20with%20abstract%20AI%20visualization%2C%20gradient%20purple%20and%20blue%20tones%2C%20modern%20tech%20aesthetic%2C%20minimalist%20design%20with%20floating%20geometric%20elements%2C%20perfect%20for%20website%20hero%20background%2C%20clean%20design%20with%20space%20for%20text%20on%20the%20left%20side%2C%20high-quality%20digital%20art&width=1920&height=1080&seq=hero1&orientation=landscape) no-repeat center center;
    background-size: cover;
    height: 927px;
    position: relative;
    z-index: 1;
    margin-top: 6%;
}


}

.info-box {
  background: #f0f4ff;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0,0,0,0.05);
}

.contact-box {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0,0,0,0.05);
}

/* Stats Section */
.stats-section {
  background: #eef2f7;
}

.stat-number {
  font-size: 2rem;
}

.stat-label {
  font-size: 0.95rem;
  color: #666;
}

/* AI Capabilities */
.capability-card {
  background-color: #ffffff;
  border-radius: 16px;
  transition: transform 0.3s ease;
}

.capability-card:hover {
  transform: translateY(-5px);
}

.icon-wrapper i {
  font-size: 2rem;
  color: #6a11cb;
}

/* Portfolio Filter */
.portfolio-filter-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.filter-btn {
  border: 1px solid #6a11cb;
  background-color: transparent;
  color: #6a11cb;
  padding: 8px 16px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background-color: #6a11cb;
  color: #fff;
}

/* Portfolio Items */
.portfolio-item img {
  border-radius: 12px;
  width: 100%;
  height: auto;
}

.about-section {
    background-color: #f8f9fa;
  }
  .ba-slider {
    position: relative;
    width: 100%;
    max-width: 900px;
    overflow: hidden;
  }

  .ba-slider img {
    display: block;
    width: 100%;
    height: auto;
  }

  .ba-slider .resize {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    height: 100%;
  }

  .ba-slider .resize img {
    display: block;
    width: 100%;
    height: auto;
  }

  .ba-slider .handle {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #fff;
    border: 2px solid #007bff;
    cursor: ew-resize;
    z-index: 10;
  }
  
  .section-title {
    /* color: #003087; */
    font-weight: 700;
    margin-bottom: 1rem;
  }
  .image-compare {
    position: relative;
    width: 100%;
    max-width: 1000px;
    aspect-ratio: 2 / 1;
    margin: auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
  }
  
  .image-compare img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  .image-compare .before,
  .image-compare .after {
    position: absolute;
    top: 0;
    bottom: 0;
    height: 100%;
    overflow: hidden;
  }
  
  .image-compare .before {
    left: 0;
    width: 100%;
    z-index: 1;
  }
  
  .image-compare .after {
    left: 0;
    width: 50%;
    z-index: 2;
    clip-path: inset(0 50% 0 0);
  }
  
  .slider {
    position: absolute;
    bottom: 10px;
    left: 50%;
    width: 80%;
    transform: translateX(-50%);
    z-index: 5;
  }
  .image-compare {
    max-width: 1000px;
    height: auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    margin: auto;
  }
  
  .image-compare img {
    display: block;
    height: auto;
    object-fit: cover;
  }
  
  .after-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
  }
  
  .after-image {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
  }
  
  .before-image {
    position: relative;
    z-index: 1;
  }
  
  .slider-range {
    position: absolute;
    bottom: 15px;
    left: 50%;
    width: 80%;
    transform: translateX(-50%);
    z-index: 3;
  }
  
  .slider-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    background-color: white;
    padding: 5px 10px;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
    font-size: 18px;
    pointer-events: none;
  }
  .image-compare {
    max-width: 1000px;
    height: auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    margin: auto;
    position: relative;
  }
  
  .image-compare img {
    display: block;
    height: auto;
    object-fit: cover;
  }
  
  .before-image {
    position: relative;
    z-index: 1;
  }
  
  .after-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
  }
  
  .after-image {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
  }
  
  .slider-range {
    position: absolute;
    bottom: 15px;
    left: 50%;
    width: 80%;
    transform: translateX(-50%);
    z-index: 3;
  }
  
  .slider-button {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    width: 60px;
    height: 60px;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
  }
  .text-primary-1 {
    font-size: 170%;
    margin-top: -5%;
    COLOR: blue;
  }
  
  /* Mobile view adjustment */
  @media (max-width: 768px) {
    .text-primary-1 {
      font-size: 130%;     /* Adjusted for mobile readability */
      margin-top: 0;       /* Reset or adjust for better spacing on mobile */
    }
  }
  
  .slider-button img {
    width: 30px;
    height: auto;
  }
    
  .slider-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    background-color: #fff;
    border-radius: 50%;
    padding: 8px 10px;
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
    font-size: 20px;
    font-weight: bold;
    pointer-events: none;
  }
  
  .info-box {
    background-color: white;
    border: 1px solid #dee2e6;
    transition: transform 0.3s ease;
    height: 100%;
  }
  
  .info-box:hover {
    transform: translateY(-5px);
  }
  
  @media (max-width: 768px) {
    .section-title {
      font-size: 1.25rem;
    }
  }
  .section-title {
    font-weight: 700;
    /* color: #003087; */
  }
  .ba-slider {
    position: relative;
    overflow: hidden;
    max-width: 100%;
    border-radius: 15px;
    cursor: ew-resize;
  }
  
  .ba-slider img {
    display: block;
    width: 100%;
    height: auto;
    user-select: none;
    pointer-events: none;
  }
  
  .ba-slider .resize {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    overflow: hidden;
  }
  
  .ba-slider .resize img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    object-fit: cover;
  }
  
  .ba-slider .handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: #007bff;
    cursor: ew-resize;
    z-index: 10;
  }
  
  @media (max-width: 576px) {
    h5 {
      font-size: 1rem;
    }
  
    p {
      font-size: 0.9rem;
    }
  }

/* Consultation Section */
.consultation-section {
  background-color: #ffffff;
}

.icon-circle {
  width: 40px;
  height: 40px;
  background: #6a11cb;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-box {
  background: #f1f3f7;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 0.95rem;
}

.form-check-label {
  font-size: 0.9rem;
}

textarea.form-control {
  resize: none;
}

/* Responsive Tweaks */
@media (max-width: 767.98px) {
  .info-box, .contact-box, .capability-card {
    padding: 20px !important;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .portfolio-filter-buttons {
    flex-direction: column;
    gap: 8px;
  }
}
@media (min-width: 768px) {
  .portfolio-filter-buttons-wrapper {
    max-height: none;
    overflow: visible;
  }

  .portfolio-filter-buttons {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .filter-btn {
    text-align: center;
  }
}
