.service-banner {
  position: relative;
  width: 100%;
  min-height: 70vh;
  background-image: url("https://images.unsplash.com/photo-1553877522-43269d4ea984");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.service-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 1.5rem;
  color: #ffffff;
}

.service-banner-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.service-banner-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.service-banner-cta {
  display: inline-block;
  padding: 0.9rem 2rem;
  background-color: #ff4305;
  color: #ffffff;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.service-banner-cta:hover {
  background-color: #e63b04;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  .service-banner-content h1 {
    font-size: 2.2rem;
  }

  .service-banner-content p {
    font-size: 1rem;
  }
}

 /* Services Section */
 .tv-services {
  width: 100%;
  background: #ffffff;
  overflow-x: hidden;
  padding: 2rem 0;
  margin-top: 3rem;
}

.tv-services-header {
width: 100%;
 margin-bottom: 3rem;
  text-align: center;
}

.tv-services-header h2 {
  font-size: 2.6rem;
  margin-bottom: 0.8rem;
  color: #ff4305;
}

.tv-services-header p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #555;
}

.tv-services-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  gap: 3.5rem;
}

.tv-service-card {
  background: #ffffff;
  /* border-radius: 18px; */
  padding: 1.7rem;
  text-decoration: none;
  color: #111;
  box-shadow: 0 6px 17px rgba(0,0,0,0.3);
  transition: all 0.5s ease;
  width: 25%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}



.tv-service-card svg {
  width: 40px;
  height: 40px;
  color: #ff4305;
  margin-bottom: 1.2rem;

}

.tv-service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.tv-service-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 1.5rem;
}

.tv-service-card .link {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ff4305;
  display: inline-block;
  transition: transform 0.3s ease;
}

.tv-service-card:hover .link {
  transform: translateX(6px);
  color: white;
}

.tv-service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 17px rgba(0,0,0,0.4);
  background-color: #ff4305;
  p{
    color: white;
  }
  svg{
    color: white;
  }
  h3{
    color: white;
  }
}

/* Responsive */
@media (max-width: 992px) {
  .tv-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .tv-services-grid {
    grid-template-columns: 1fr;
  }

  .tv-services-header h2 {
    font-size: 2.1rem;
  }
}



/* TEchnologies We Used */
:root {
  --bg-dark: rgb(29, 36, 49);
  --accent-orange: rgb(255, 67, 5);
  --text-white: #ffffff;
  --card-bg: rgba(255, 255, 255, 0.05);
}

.tech-section {
  background-color: #FFF7F3;
  padding: 60px 20px;
  font-family: 'Inter', sans-serif;
  color: #111;
  overflow: hidden;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 3.5rem;
  color: #ff4305;
}

/* Category Bar */
.category-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 50px;
}

.cat-btn {
  background: transparent;
  border: 1px solid var(--accent-orange);
  color: #111;
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cat-btn.active, .cat-btn:hover {
  background: var(--accent-orange);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(255, 67, 5, 0.4);
}

/* Slider Logic */
.slider-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}

/* Pause animation on hover - pause when mouse enters */
.slider-container:hover .slider-track {
  animation-play-state: paused;
}

/* Resume animation when mouse leaves */
.slider-container .slider-track {
  animation-play-state: running;
}

/* Fading gradients on sides */
.slider-container::before, .slider-container::after {
  content: "";
  position: absolute;
  top: 0; width: 150px; height: 100%;
  z-index: 2;
}
.slider-container::before { left: 0; background: linear-gradient(to right, #FFF7F3, transparent); }
.slider-container::after { right: 0; background: linear-gradient(to left, #FFF7F3, transparent); }

.slider-track {
  display: flex;
  width: max-content;
  animation: scroll 30s linear infinite;
  animation-play-state: running;
}

.tech-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(17, 17, 17, 0.1);
  color: #111;
  padding: 20px 15px;
  margin: 0 10px;
  border-radius: 12px;
  white-space: normal;
  font-weight: 500;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  min-width: 120px;
  text-align: center;
  line-height: 1.3;
}

.tech-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 1);
}

.tech-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.tech-name {
  display: block;
  word-wrap: break-word;
  max-width: 100%;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.tech-card {
  width: 120px;
  height: 120px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.tech-icon {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.tech-name {
  font-size: 12px;
  text-align: center;
  line-height: 1.2;
}



/* =================================================
   GLOBAL RESPONSIVE SAFETY
================================================= */
* {
  box-sizing: border-box;
}

/* =================================================
   SERVICE BANNER RESPONSIVE
================================================= */
@media (max-width: 1024px) {
  .service-banner {
    min-height: 60vh;
    padding: 40px 20px;
  }

  .service-banner-content {
    max-width: 90%;
  }

  .service-banner-content h1 {
    font-size: 2.6rem;
  }
}

@media (max-width: 600px) {
  .service-banner {
    min-height: 45vh;
  }

  .service-banner-content h1 {
    font-size: 2.1rem;
  }

  .service-banner-content p {
    font-size: 1rem;
  }
}

/* =================================================
   SERVICES GRID RESPONSIVE
================================================= */
@media (max-width: 1200px) {
  .tv-service-card {
    width: 28%;
  }
}

@media (max-width: 992px) {
  .tv-services-grid {
    gap: 2.5rem;
  }

  .tv-service-card {
    width: 42%;
  }

  .tv-services-header h2 {
    font-size: 2.3rem;
  }
}

@media (max-width: 640px) {
  .tv-services {
    padding: 2.5rem 1rem;
  }

  .tv-services-grid {
    flex-direction: column;
    gap: 1.8rem;
  }

  .tv-service-card {
    width: 100%;
    max-width: 420px;
  }

  .tv-services-header h2 {
    font-size: 2rem;
  }

  .tv-services-header p {
    font-size: 0.95rem;
  }
}

/* =================================================
   TECH SECTION RESPONSIVE
================================================= */
@media (max-width: 1024px) {
  .section-title {
    font-size: 2.8rem;
  }

  .category-bar {
    gap: 8px;
    margin-bottom: 35px;
  }

  .cat-btn {
    padding: 8px 16px;
    font-size: 14px;
  }
}

@media (max-width: 600px) {
  .tech-section {
    padding: 50px 12px;
  }

  .section-title {
    font-size: 2.2rem;
    margin-bottom: 30px;
  }

  .category-bar {
    justify-content: center;
  }
}

/* =================================================
   TECH SLIDER MOBILE SAFETY
================================================= */
@media (max-width: 768px) {
  .slider-container::before,
  .slider-container::after {
    width: 80px;
  }

  .slider-track {
    animation-duration: 40s;
  }

  .tech-card {
    width: 100px;
    height: 100px;
  }

  .tech-icon {
    width: 36px;
    height: 36px;
  }

  .tech-name {
    font-size: 11px;
  }
}

/* =================================================
   CTA SECTION RESPONSIVE
================================================= */
@media (max-width: 900px) {
  .portfolio-cta-container {
    flex-direction: column;
    text-align: center !important;
    justify-content: center;
    gap: 30px;
  }

  .portfolio-cta-content {
    max-width: 100%;
  }

  .portfolio-cta-heading {
    font-size: 2.2rem;
  }
}

@media (max-width: 600px) {
  .portfolio-cta-heading {
    font-size: 1.9rem !important;
  }

  .portfolio-cta-subheading {
    font-size: 0.95rem;
  }

  .portfolio-cta-btn {
    padding: 12px 26px;
    font-size: 15px;
  }
}

/* =================================================
   OVERFLOW & TOUCH SAFETY
================================================= */
@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .services {
    overflow-x: hidden;
  }

}
