/**
 * Civilnetics Infrastructure Pvt. Ltd. (CIPL)
 * Responsive Stylesheet
 */

@media (max-width: 1199.98px) {
  .hero-slide-title {
    font-size: 2.8rem;
  }
  .hero-slider-section .carousel-item {
    height: 75vh;
    min-height: 560px;
  }
  .main-title {
    font-size: 2rem;
  }
}

@media (max-width: 991.98px) {
  .hero-slide-title {
    font-size: 2.3rem;
  }
  .hero-slide-desc {
    font-size: 1.05rem;
  }
  .hero-slider-section .carousel-item {
    height: 70vh;
    min-height: 520px;
  }
  .hero-slider-overlay {
    background: linear-gradient(
      180deg,
      rgba(8, 27, 51, 0.92) 0%,
      rgba(11, 38, 70, 0.82) 65%,
      rgba(8, 27, 51, 0.75) 100%
    );
  }
  .hero-slider-section .carousel-control-prev,
  .hero-slider-section .carousel-control-next {
    display: none;
  }
  .page-header {
    padding: 50px 0 40px;
  }
  .page-header h1 {
    font-size: 2.1rem;
  }
  .section-padding {
    padding: 60px 0;
  }
  .stat-item {
    margin-bottom: 20px;
  }
}

@media (max-width: 767.98px) {
  .top-bar {
    text-align: center;
  }
  .top-bar .text-end {
    text-align: center !important;
    margin-top: 5px;
  }
  .hero-slide-title {
    font-size: 1.85rem;
    line-height: 1.2;
  }
  .hero-slide-desc {
    font-size: 0.95rem;
    margin-bottom: 22px;
  }
  .hero-slider-section .carousel-item {
    height: auto;
    min-height: 520px;
    padding: 60px 0;
  }
  .stat-number {
    font-size: 1.8rem;
  }
  .download-card {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  .download-file-icon {
    margin: 0 auto;
  }
  .project-meta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand img {
    height: 38px;
  }
  .hero-title {
    font-size: 1.65rem;
  }
  .hero-subtitle {
    font-size: 0.95rem;
  }
  .section-padding {
    padding: 45px 0;
  }
  .page-header h1 {
    font-size: 1.75rem;
  }
  .btn-cipl-primary, .btn-cipl-outline, .btn-cipl-white {
    width: 100%;
    justify-content: center;
    margin-bottom: 8px;
  }
}
