/* ===========================================
   Responsive CSS for RohitWebCo.com
   Consolidated Media Queries
   =========================================== */

/* ---------------------------------------------
   Mobile First - Under 768px
   --------------------------------------------- */
@media (max-width: 767px) {
  /* Text Responsive */
  .text-responsive-xl { font-size: 1.25rem; }
  .text-responsive-lg { font-size: 1.125rem; }
  
  /* Services Preview - Stack vertically */
  .section__services-preview .row {
    gap: 0;
  }

  .intro-band__pills {
    gap: 0.5rem;
  }

  .intro-band__pills li {
    font-size: 0.82rem;
    padding: 0.45rem 0.85rem;
  }
}

/* ---------------------------------------------
   Desktop - 768px and above
   --------------------------------------------- */
@media (min-width: 768px) {
  /* Text Responsive */
  .text-responsive-xl { font-size: 2rem; }
  .text-responsive-lg { font-size: 1.75rem; }
  
  /* Services Preview - handled by Bootstrap row-cols */
}

/* ---------------------------------------------
   Skills Section Responsive
   --------------------------------------------- */
@media (max-width: 768px) {
  .skills-stack__core {
    margin: 1.25rem auto 1.5rem;
    gap: 0.45rem;
  }

  .skills-stack__core-pill {
    font-size: 0.75rem;
    padding: 0.35rem 0.8rem;
  }

  .skills-stack__card {
    padding: 1.15rem 1.1rem 1.2rem;
  }

  .skills-stack__chip {
    font-size: 0.78rem;
    padding: 0.38rem 0.7rem;
  }

  .testimonials-showcase {
    margin-top: 1.25rem;
  }

  .testimonials-showcase .swiper-slide .testimonial-card {
    padding: 1.35rem 1.25rem 1.2rem;
  }

  .testimonial-card__text p {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .testimonials-showcase__controls {
    gap: 0.75rem;
    margin-top: 1.15rem;
  }

  .clients-logo-track {
    gap: 0.85rem;
  }

  .clients-logo-item {
    padding: 0.25rem 0.35rem;
  }

  .clients-logo-item figure {
    width: 92px;
    height: 58px;
  }

  .clients-logo-item img {
    max-width: 92px;
    max-height: 58px;
  }

  .about-skills__layout {
    margin-top: 1.35rem;
    gap: 1.15rem;
  }

  .about-skills__card {
    padding: 1.25rem 1.15rem 1.1rem;
  }

  .about-skills__ring {
    width: 148px;
    height: 148px;
  }

  .about-skills__ring-inner {
    width: 104px;
    height: 104px;
  }

  .about-facts__layout {
    margin-top: 1.35rem;
    gap: 1.5rem;
  }

  .about-facts__figure {
    max-width: 300px;
  }

  .about-apps__grid {
    margin-top: 1.35rem;
    gap: 0.85rem;
  }

  .about-apps__card {
    padding: 1.1rem 1rem;
  }

  .about-proficiency__detail {
    padding: 0.85rem 0.95rem;
  }

  .about-proficiency__detail-value {
    font-size: 1.15rem;
  }

  .about-proficiency__chart-wrap {
    margin-top: 1.15rem;
    padding: 1rem 0.85rem 0.85rem;
  }

  .about-proficiency__chart {
    grid-template-columns: 32px 1fr;
    gap: 0.4rem;
  }

  .about-proficiency__y-axis {
    font-size: 0.65rem;
    height: 200px;
    padding-bottom: 1.6rem;
  }

  .about-proficiency__grid {
    inset: 0 0 1.6rem;
  }

  .about-proficiency__bars {
    height: 200px;
    gap: 0.45rem;
  }

  .about-proficiency__bar-value {
    top: -1rem;
    font-size: 0.65rem;
  }

  .about-proficiency__bar-label {
    font-size: 0.65rem;
    min-height: 1.6rem;
    padding-top: 0.25rem;
  }

  .solutions-teaser__inner {
    gap: 0.85rem;
  }

  .solutions-teaser__cta {
    margin-left: 0;
  }

  .skills-grid-modern {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  
  .skill-item-modern {
    padding: 1rem 0.5rem;
  }
  
  .skill-icon-wrapper {
    width: 48px;
    height: 48px;
  }
  
  .skill-icon-wrapper i {
    font-size: 1.5rem;
  }

  .service-hero__title {
    font-size: 1.75rem;
  }

  .service-hero__wave {
    margin-top: 1.75rem;
  }

  .service-hero__highlights {
    justify-content: center;
  }

  .service-hero__figure {
    max-width: 340px;
  }

  .service-hero__badges {
    max-width: 340px;
  }

  .solution-hub-card__desc {
    -webkit-line-clamp: 4;
  }

  .solution-detail-hero__panel {
    max-width: 340px;
  }

  .solution-detail-audience__grid {
    grid-template-columns: 1fr;
  }

  .service-process__grid {
    margin-top: 1.35rem;
  }

  .service-highlights__grid {
    margin-top: 1.35rem;
  }
  
  .skills-category-modern {
    padding: 1.5rem 1rem;
  }
  
  .category-icon-wrapper {
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
  }
}

/* ---------------------------------------------
   CTA Section Responsive
   --------------------------------------------- */
@media (max-width: 768px) {
  .section__cta {
    padding: 3rem 0 !important;
  }
}

/* ---------------------------------------------
   Service Hero Section Responsive
   --------------------------------------------- */
@media (max-width: 767px) {
  .section__service-hero {
    padding-top: 3rem !important;
    padding-bottom: 2.5rem !important;
  }

  .section__service-hero .primary__header {
    font-size: 1.75rem;
    line-height: 1.3;
  }

  .section__service-hero .secondary__header {
    font-size: 1rem;
    width: 100% !important;
  }

  .section__service-hero .text-responsive-lg {
    width: 100% !important;
    font-size: 1rem;
  }

  .portfolio-filter {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.25rem;
    margin-left: -0.25rem;
    margin-right: -0.25rem;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }

  .portfolio-filter::-webkit-scrollbar {
    display: none;
  }

  .portfolio-filter__btn {
    flex-shrink: 0;
  }
}

/* ---------------------------------------------
   Contact Page Responsive
   --------------------------------------------- */
@media (max-width: 768px) {
  .section__contact-hero,
  .section__contact,
  .section__faq {
    padding: 2rem 0 !important;
  }
  
  .contact-form-card {
    padding: 1.5rem;
  }
  
}