/**
 * Mangaldeep Saving & Credit Co-operative Ltd.
 * Responsive Styles (responsive.css)
 */

/* Extra Large Screens (Desktop >= 1440px) */
@media (min-width: 1440px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    max-width: 1320px;
  }
}

/* Large Screens (Laptops & Desktops 992px - 1199px) */
@media (max-width: 1199px) {
  .hero-title {
    font-size: 2.75rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .main-navbar .nav-link {
    padding: 16px 12px !important;
    font-size: 0.98rem;
  }
}

/* Medium Screens (Tablets 768px - 991px) */
@media (max-width: 991.98px) {
  .header-top-bar {
    text-align: center;
  }
  
  .header-top-bar .top-bar-item {
    justify-content: center;
    margin-bottom: 4px;
  }
  
  .header-quick-info {
    display: none;
  }
  
  .hero-slider-section .carousel-item {
    height: auto;
    min-height: 520px;
    padding: 60px 0;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-desc {
    font-size: 1rem;
  }
  
  .hero-glass-card {
    margin-top: 30px;
  }
  
  .section-title {
    font-size: 1.85rem;
  }
  
  .chairperson-card {
    padding: 24px;
  }
  
  .welcome-badge-box {
    position: relative;
    bottom: 0;
    right: 0;
    margin-top: 20px;
  }
  
  .stat-number {
    font-size: 2.2rem;
  }
}

/* Small Screens (Mobiles 576px - 767px) */
@media (max-width: 767.98px) {
  .header-top-bar .row > div {
    margin-bottom: 4px;
  }
  
  .brand-nepali-name {
    font-size: 1.2rem;
  }
  
  .brand-english-name {
    font-size: 0.95rem;
  }
  
  .brand-emblem-svg {
    width: 52px;
    height: 52px;
  }
  
  .hero-title {
    font-size: 1.85rem;
  }
  
  .hero-desc {
    font-size: 0.95rem;
  }
  
  .section-title {
    font-size: 1.65rem;
  }
  
  .btn-primary-custom,
  .btn-secondary-custom,
  .btn-light-custom {
    padding: 10px 22px;
    font-size: 0.9rem;
    width: 100%;
    margin-bottom: 8px;
  }
  
  .hero-content .d-flex {
    flex-direction: column;
  }
  
  .cta-banner {
    padding: 36px 20px;
    text-align: center;
  }
  
  .cta-banner .d-flex {
    flex-direction: column;
  }
  
  .stat-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
  }
  
  .page-hero-title {
    font-size: 2rem;
  }
  
  .calc-result-value {
    font-size: 1.8rem;
  }
}

/* Extra Small Screens (< 576px) */
@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.6rem;
  }
  
  .carousel-control-prev,
  .carousel-control-next {
    display: none;
  }
  
  .testimonial-card {
    padding: 24px 18px;
  }
  
  .office-info-card {
    padding: 24px 18px;
  }
  
  #back-to-top {
    bottom: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
  }
}
