/* --- MOBILE RESPONSIVE FIXES --- */
@media (max-width: 576px) {
    .problem-btn{
        font-size: 12px !important;
    }
        .header-logos {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 3px;
            flex-wrap: wrap;
            margin-bottom: 30px;
        }

        .header-logos img {
            /* MIN-height: 50px; */
            border-radius: 0%;
            height: 60px;
            margin-top: 10px;
            /* border: 1px solid #FFA500; */
            /* background-color: white; */
            min-width: 40px;
        }
        .iitlogo {
            height: 60px !important;
            min-width: 40px !important;
        }
        .logos{
            height: 60px !important;
            min-width: 40px !important;
        }


    .section-title {
        font-size: 1.7rem; /* smaller h2 for mobile */
    }

    .important p{
        font-size: 1rem;
    }

    .accordion-button {
        padding: 1rem; /* reduce padding */
        font-size: 1rem; /* scale down font */
        flex-wrap: wrap; /* allow wrapping */
    }

    .category-icon {
        display: none;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        margin-right: 0.75rem;
    }

    .accordion-body {
        padding: 0.75rem 1rem;
    }

    .problem-item {
        flex-direction: column; /* stack title + button */
        align-items: flex-start;
        padding: 1rem;
    }

    .problem-item-title h5 {
        font-size: 1rem; /* scale down */
        margin-bottom: 0.75rem;
        
    }

    .view-details-btn {
        width: 100%; /* full width button */
        min-width: unset;
        padding: 0.75rem;
        font-size: 0.95rem;
    }

    .modal-body .details-container {
        padding: 1rem;
    }

    .modal-body .detail-section h4 {
        font-size: 1.1rem;
    }

    .modal-body .detail-section p {
        font-size: 0.95rem;
    }
}

/* Default: keep badge text in one line */
.badge {
    white-space: nowrap;
}

/* On mobile (≤576px), allow wrapping */
@media (max-width: 576px) {
    .badge {
        white-space: normal;   /* allow wrap */
        display: inline-block;
        line-height: 1.3;
        text-align: center;
        word-break: break-word;
    }
    .card-body {
    padding: 1rem;
}
.card-body ul{
    padding: 0rem;
}
.card-body h3{
    font-size: 1.25rem;
}
.partners-content {
    padding: 1rem;
}
.section-header h5{
    font-size: 1.5rem;
    font-weight: 600;
}
.section-header h5{
    font-size: 1rem;
    font-weight: 100;
    line-height:30px;
    letter-spacing: 3px;
}

}

.section-header h5{
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 5px;
}
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--primary-color, #263071);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.25rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
}

.back-to-top:hover {
  background: var(--accent-color, #e5a13b);
  transform: scale(1.1);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.problem-btn:hover {
    background-color: #e5a13b !important;
    color: white !important;
    text-decoration: none !important;
  transition: all 0.3s ease;
  transform: scale(1.1);
    
}







