logo_test
/* Reset WP Bakery interference */
.wpb-university-grid-wrapper * {
box-sizing: border-box !important;
}
.wpb-university-grid-wrapper {
width: 100% !important;
max-width: 1400px !important;
margin: 40px auto !important;
padding: 0 20px !important;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
clear: both !important;
}
.wpb-grid-header {
text-align: center !important;
margin-bottom: 40px !important;
padding: 20px !important;
background: white !important;
border-radius: 12px !important;
box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
}
.wpb-grid-header h2 {
color: #333 !important;
font-size: 32px !important;
margin: 0 0 10px 0 !important;
font-weight: 700 !important;
}
.wpb-grid-header p {
color: #666 !important;
font-size: 16px !important;
margin: 0 !important;
}
/* CRITICAL: Force Grid Layout */
.wpb-university-grid {
display: grid !important;
grid-template-columns: repeat(4, 1fr) !important;
gap: 24px !important;
padding: 0 !important;
margin: 0 !important;
list-style: none !important;
width: 100% !important;
}
/* Grid Item */
.wpb-grid-item {
background: white !important;
border-radius: 12px !important;
padding: 20px !important;
text-align: center !important;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
transition: all 0.3s ease !important;
text-decoration: none !important;
display: flex !important;
flex-direction: column !important;
align-items: center !important;
justify-content: space-between !important;
min-height: 240px !important;
margin: 0 !important;
float: none !important;
width: auto !important;
}
.wpb-grid-item:hover {
transform: translateY(-8px) !important;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
}
/* Logo Box */
.wpb-logo-box {
width: 100% !important;
height: 140px !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
margin-bottom: 16px !important;
background: #f8f9fa !important;
border-radius: 8px !important;
padding: 16px !important;
overflow: hidden !important;
}
.wpb-logo-box img {
max-width: 100% !important;
max-height: 100% !important;
width: auto !important;
height: auto !important;
object-fit: contain !important;
display: block !important;
margin: 0 auto !important;
}
/* Text Styles */
.wpb-university-name {
font-size: 13px !important;
font-weight: 600 !important;
color: #333 !important;
line-height: 1.4 !important;
margin: 0 0 8px 0 !important;
min-height: 36px !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
text-align: center !important;
padding: 0 !important;
}
.wpb-university-type {
font-size: 11px !important;
color: #fff !important;
background: #4CAF50 !important;
padding: 4px 12px !important;
border-radius: 12px !important;
font-weight: 600 !important;
text-transform: uppercase !important;
letter-spacing: 0.5px !important;
display: inline-block !important;
margin: 0 !important;
}
.wpb-university-type.state { background: #2196F3 !important; }
.wpb-university-type.government { background: #FF9800 !important; }
.wpb-university-type.private { background: #9C27B0 !important; }
.wpb-university-type.deemed { background: #E91E63 !important; }
/* Stats Box */
.wpb-stats {
margin-top: 20px !important;
padding: 20px !important;
background: white !important;
border-radius: 12px !important;
box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
text-align: center !important;
}
.wpb-stats h3 {
color: #333 !important;
margin: 0 !important;
font-size: 18px !important;
}
/* Responsive Design */
@media (max-width: 1200px) {
.wpb-university-grid {
grid-template-columns: repeat(3, 1fr) !important;
}
}
@media (max-width: 768px) {
.wpb-university-grid {
grid-template-columns: repeat(2, 1fr) !important;
gap: 16px !important;
}
.wpb-grid-header h2 {
font-size: 24px !important;
}
}
@media (max-width: 480px) {
.wpb-university-grid {
grid-template-columns: 1fr !important;
}
}
(function() {
// University logos mapping - exact matches only
const universityLogos = {
"Central Tribal University of Andhra Pradesh": "https://cdnbbsr.s3waas.gov.in/s388a839f2f6f1427879fc33ee4acf4f66/uploads/2025/12/202512162030245313-scaled.png",
"Central University of Andhra Pradesh": "https://cdnbbsr.s3waas.gov.in/s388a839f2f6f1427879fc33ee4acf4f66/uploads/2025/12/20251216666779246.jpg",
"Central University of Gujarat": "https://cdnbbsr.s3waas.gov.in/s388a839f2f6f1427879fc33ee4acf4f66/uploads/2025/12/20251216108977997.png",
"Central University of Haryana": "https://cdnbbsr.s3waas.gov.in/s388a839f2f6f1427879fc33ee4acf4f66/uploads/2025/12/202512161491824242.png",
"Central University of Himachal Pradesh": "https://cdnbbsr.s3waas.gov.in/s388a839f2f6f1427879fc33ee4acf4f66/uploads/2025/12/20251216580147297.png",
"Central University of Jammu": "https://cdnbbsr.s3waas.gov.in/s388a839f2f6f1427879fc33ee4acf4f66/uploads/2025/12/20251216666779246.jpg",
"Central University of Kerala": "https://cdnbbsr.s3waas.gov.in/s388a839f2f6f1427879fc33ee4acf4f66/uploads/2025/12/20251216580147297.png",
"Central University of Odisha": "https://cdnbbsr.s3waas.gov.in/s388a839f2f6f1427879fc33ee4acf4f66/uploads/2025/12/202512161283435448.jpg",
"Central University of Punjab": "https://cdnbbsr.s3waas.gov.in/s388a839f2f6f1427879fc33ee4acf4f66/uploads/2025/12/202512161501756322.png",
"Central University of Rajasthan": "https://cdnbbsr.s3waas.gov.in/s388a839f2f6f1427879fc33ee4acf4f66/uploads/2025/12/20251216686188358.gif",
"University of Jammu": "https://cdnbbsr.s3waas.gov.in/s388a839f2f6f1427879fc33ee4acf4f66/uploads/2025/12/20251216210240778.jpg",
"Banaras Hindu University": "https://cdnbbsr.s3waas.gov.in/s388a839f2f6f1427879fc33ee4acf4f66/uploads/2025/12/20251216920900639.png",
"North-Eastern Hill University": "https://cdnbbsr.s3waas.gov.in/s388a839f2f6f1427879fc33ee4acf4f66/uploads/2025/12/20251216706025891.jpg",
"Jawaharlal Nehru University": "https://cdnbbsr.s3waas.gov.in/s388a839f2f6f1427879fc33ee4acf4f66/uploads/2025/12/202512161882740486.jpg",
"University of Hyderabad": "https://cdnbbsr.s3waas.gov.in/s388a839f2f6f1427879fc33ee4acf4f66/uploads/2025/12/20251216236022718.png",
"Tezpur University": "https://cdnbbsr.s3waas.gov.in/s388a839f2f6f1427879fc33ee4acf4f66/uploads/2025/12/20251216504579380.png",
"Pondicherry University": "https://cdnbbsr.s3waas.gov.in/s388a839f2f6f1427879fc33ee4acf4f66/uploads/2025/12/202512161967946781.png"
};
// University data
const universities = [
{ name: "Central Tribal University of Andhra Pradesh", href: "https://cdnbbsr.s3waas.gov.in/s388a839f2f6f1427879fc33ee4acf4f66/uploads/2025/12/2025121614195427740.pdf", type: "Central" },
{ name: "Central University of Andhra Pradesh", href: "https://cdnbbsr.s3waas.gov.in/s388a839f2f6f1427879fc33ee4acf4f66/uploads/2025/12/20251216166167147877968.pdf", type: "Central" },
{ name: "Central University of Gujarat", href: "https://cdnbbsr.s3waas.gov.in/s388a839f2f6f1427879fc33ee4acf4f66/uploads/2025/12/202512161661641214886039.pdf", type: "Central" },
{ name: "Central University of Haryana", href: "https://cdnbbsr.s3waas.gov.in/s388a839f2f6f1427879fc33ee4acf4f66/uploads/2025/12/202512161661641253550783.pdf", type: "Central" },
{ name: "Central University of Himachal Pradesh", href: "https://cdnbbsr.s3waas.gov.in/s388a839f2f6f1427879fc33ee4acf4f66/uploads/2025/12/20251216166164342413074.pdf", type: "Central" },
{ name: "Central University of Jammu", href: "https://cdnbbsr.s3waas.gov.in/s388a839f2f6f1427879fc33ee4acf4f66/uploads/2025/12/20251216166167873208718.pdf", type: "Central" },
{ name: "Central University of Kerala", href: "https://cdnbbsr.s3waas.gov.in/s388a839f2f6f1427879fc33ee4acf4f66/uploads/2025/12/20251216166164698440595.pdf", type: "Central" },
{ name: "Central University of Odisha", href: "https://cdnbbsr.s3waas.gov.in/s388a839f2f6f1427879fc33ee4acf4f66/uploads/2025/12/202512161661641667402055.pdf", type: "Central" },
{ name: "Central University of Punjab", href: "https://cdnbbsr.s3waas.gov.in/s388a839f2f6f1427879fc33ee4acf4f66/uploads/2025/12/202512161661641419340185.pdf", type: "Central" },
{ name: "Central University of Rajasthan", href: "https://cdnbbsr.s3waas.gov.in/s388a839f2f6f1427879fc33ee4acf4f66/uploads/2025/12/202512161661641701777235.pdf", type: "Central" },
{ name: "Banaras Hindu University", href: "https://cdnbbsr.s3waas.gov.in/s388a839f2f6f1427879fc33ee4acf4f66/uploads/2025/12/2025121614936110952.pdf", type: "Central" },
{ name: "North-Eastern Hill University", href: "https://cdnbbsr.s3waas.gov.in/s388a839f2f6f1427879fc33ee4acf4f66/uploads/2025/12/20251216444963978.pdf", type: "Central" },
{ name: "Jawaharlal Nehru University", href: "https://cdnbbsr.s3waas.gov.in/s388a839f2f6f1427879fc33ee4acf4f66/uploads/2025/12/2025121616616413828001.pdf", type: "Central" },
{ name: "University of Hyderabad", href: "https://cdnbbsr.s3waas.gov.in/s388a839f2f6f1427879fc33ee4acf4f66/uploads/2025/12/202512161661642113974652.pdf", type: "Central" },
{ name: "Tezpur University", href: "https://cdnbbsr.s3waas.gov.in/s388a839f2f6f1427879fc33ee4acf4f66/uploads/2025/12/202512161661641739439880.pdf", type: "Central" },
{ name: "Pondicherry University", href: "https://cdnbbsr.s3waas.gov.in/s388a839f2f6f1427879fc33ee4acf4f66/uploads/2025/12/20251216166164812018161.pdf", type: "Central" },
{ name: "University of Jammu", href: "https://cdnbbsr.s3waas.gov.in/s388a839f2f6f1427879fc33ee4acf4f66/uploads/2025/12/202512161937513590.pdf", type: "State" }
];
function createGrid() {
const grid = document.getElementById('wpbUniversityGrid');
const stats = document.getElementById('wpbStats');
if (!grid) return;
let displayedCount = 0;
universities.forEach(uni => {
if (universityLogos[uni.name]) {
displayedCount++;
const item = document.createElement('a');
item.className = 'wpb-grid-item';
item.href = uni.href;
item.target = '_blank';
item.rel = 'noopener';
const logoBox = document.createElement('div');
logoBox.className = 'wpb-logo-box';
const img = document.createElement('img');
img.src = universityLogos[uni.name];
img.alt = uni.name;
img.loading = 'lazy';
img.onerror = function() {
logoBox.innerHTML = '
🎓 University Logos Grid
Displaying university logos in organized 4-column grid layout
Loading universities...
Logo unavailable
';
};
logoBox.appendChild(img);
const nameDiv = document.createElement('div');
nameDiv.className = 'wpb-university-name';
nameDiv.textContent = uni.name;
const typeDiv = document.createElement('div');
typeDiv.className = 'wpb-university-type ' + uni.type.toLowerCase();
typeDiv.textContent = uni.type;
item.appendChild(logoBox);
item.appendChild(nameDiv);
item.appendChild(typeDiv);
grid.appendChild(item);
}
});
if (stats) {
stats.innerHTML = '