.inner-page-hero-custom {
    padding-top: 100px !important;
}

.review-img {
    border-radius: 10px 10px 0 0 !important;
}

/* Make brand logos bigger in the carousel */
.brand-slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin: 0 auto;
  max-width: 1600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.brand-slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(.77,0,.18,1);
  will-change: transform;
  width: 100%;
  gap: 15px;
  margin-left: -25px !important; /* Adjusted for gap */
}

.brand-logo {
  flex: 0 0 calc((100% - 30px) / 3);
  min-width: 0;
  padding: 0;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}

.brand-logo img {
  width: 97%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.brand-slider-btn {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  font-size: 1.8rem;
  color: #333;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  padding: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.brand-slider-btn.prev {
  left: 10px;
}
.brand-slider-btn.next {
  right: 10px;
}

.brand-slider-btn:hover {
  color: #e74c3c;
  opacity: 1;
}

/* Hide arrows on mobile */
@media (max-width: 767.98px) {
  .brand-slider-btn {
    display: none !important;
  }
}

/* Owl Dots Styling */
.brand-slider-dots {
  display: flex !important;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  gap: 12px;
  min-height: 20px;
  width: 100%;
  position: relative;
  z-index: 10;
  padding: 10px 0;
}

.brand-slider-dot {
  width: 14px !important;
  height: 14px !important;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.2) !important;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  display: block !important;
  flex-shrink: 0;
}

.brand-slider-dot:hover {
  background-color: rgba(0, 0, 0, 0.4) !important;
  transform: scale(1.1);
}

.brand-slider-dot.active {
  background-color: #ff1e1a !important;
  border-color: #ff1e1a !important;
  transform: scale(1.2);
  box-shadow: 0 2px 8px rgba(255, 30, 26, 0.3);
}

/* Mobile specific dot styling */
@media (max-width: 767.98px) {
  .brand-slider-dots {
    margin-top: 30px;
    gap: 10px;
  }
  
  .brand-slider-dot {
    width: 16px !important;
    height: 16px !important;
  }
  
  .brand-slider-dot.active {
    transform: scale(1.25);
  }
}

/* Mobile and tablet responsive - show fewer images on smaller screens */
@media (max-width: 767.98px) {
  .brand-slider-track {
    gap: 10px;
  }
  
  .brand-logo {
    flex: 0 0 100%;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .brand-slider-track {
    gap: 12px;
  }
  
  .brand-logo { 
    flex: 0 0 calc((100% - 12px) / 2);
  }
}

@media (min-width: 992px) {
  .brand-slider-track {
    gap: 15px;
  }
  
  .brand-logo { 
    flex: 0 0 calc((100% - 30px) / 3);
  }
}

/* Tool Logo Square Styling - Telegram Icons - Scoped to Telegram Section Only */
.integrations-2-wrapper .in_tool_logo {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 180px !important;
  height: 180px !important;
  padding: 0 !important;
  margin: 0 auto !important;
}

.integrations-2-wrapper .in_tool_logo img {
  width: 100% !important;
  height: 100% !important;
  max-width: 180px !important;
  max-height: 180px !important;
  object-fit: cover !important;
  border-radius: 12px !important;
  display: block !important;
}

/* Responsive adjustments - Telegram section only */
@media (max-width: 575.98px) {
  .integrations-2-wrapper .in_tool_logo {
    max-width: 160px !important;
    height: 160px !important;
  }
  
  .integrations-2-wrapper .in_tool_logo img {
    max-width: 160px !important;
    max-height: 160px !important;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .integrations-2-wrapper .in_tool_logo {
    max-width: 170px !important;
    height: 170px !important;
  }
  
  .integrations-2-wrapper .in_tool_logo img {
    max-width: 170px !important;
    max-height: 170px !important;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .integrations-2-wrapper .in_tool_logo {
    max-width: 150px !important;
    height: 150px !important;
  }
  
  .integrations-2-wrapper .in_tool_logo img {
    max-width: 150px !important;
    max-height: 150px !important;
  }
}

@media (min-width: 992px) {
  .integrations-2-wrapper .in_tool_logo {
    max-width: 180px !important;
    height: 180px !important;
  }
  
  .integrations-2-wrapper .in_tool_logo img {
    max-width: 180px !important;
    max-height: 180px !important;
  }
}

/* Additional spacing and sizing optimizations for Telegram cards */
.integrations-2-wrapper .row {
  margin: 0 -12px !important;
}

.integrations-2-wrapper .col {
  padding: 0 12px !important;
  /* margin-bottom: 30px !important; */
}

.integrations-2-wrapper .in_tool {
  width: 100% !important;
  max-width: none !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.integrations-2-wrapper .in_tool h6 {
  margin-top: 15px !important;
  text-align: center !important;
  line-height: 1.3 !important;
  min-height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
