/* Auto-extracted from explore-iits.php on 2026-05-04 */

.page-hero {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        padding: 80px 20px;
        text-align: center;
        margin-bottom: 50px;
    }
    
    .page-hero h1 {
        font-size: 3.5em;
        margin-bottom: 20px;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    }
    
    .page-hero p {
        font-size: 1.3em;
        opacity: 0.95;
        max-width: 800px;
        margin: 0 auto 30px;
    }
    
    .hero-stats {
        display: flex;
        justify-content: center;
        gap: 40px;
        flex-wrap: wrap;
        margin-top: 30px;
    }
    
    .hero-stat {
        background: rgba(255,255,255,0.2);
        padding: 15px 30px;
        border-radius: 10px;
        backdrop-filter: blur(10px);
    }
    
    .hero-stat-number {
        font-size: 2.5em;
        font-weight: bold;
        display: block;
    }
    
    .hero-stat-label {
        font-size: 0.9em;
        opacity: 0.9;
    }
    
    .container {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 20px 60px;
    }
    
    .section-intro {
        text-align: center;
        max-width: 900px;
        margin: 0 auto 50px;
        color: #2c3e50;
        line-height: 1.8;
        font-size: 1.1em;
    }
    
    .iit-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
        gap: 30px;
        margin-top: 40px;
    }
    
    .iit-card {
        background: white;
        border-radius: 15px;
        padding: 30px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        transition: all 0.3s ease;
        text-decoration: none;
        color: inherit;
        display: block;
        border: 2px solid transparent;
        position: relative;
        overflow: hidden;
    }
    
    .iit-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 5px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    }
    
    .iit-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
        border-color: #667eea;
    }
    
    .iit-rank {
        position: absolute;
        top: 20px;
        right: 20px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        font-size: 1.2em;
        box-shadow: 0 4px 10px rgba(102, 126, 234, 0.4);
    }
    
    .iit-header {
        margin-bottom: 20px;
    }
    
    .iit-icon {
        font-size: 3em;
        margin-bottom: 15px;
        display: block;
    }
    
    .iit-name {
        font-size: 1.6em;
        font-weight: 700;
        color: #2c3e50;
        margin-bottom: 10px;
    }
    
    .iit-location {
        color: #666;
        font-size: 1em;
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 5px;
    }
    
    .iit-established {
        color: #888;
        font-size: 0.9em;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .iit-highlight {
        background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
        padding: 12px 15px;
        border-radius: 8px;
        margin-top: 15px;
        font-size: 0.95em;
        color: #667eea;
        font-weight: 600;
        border-left: 4px solid #667eea;
    }
    
    .view-details-btn {
        margin-top: 20px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        padding: 12px 25px;
        border-radius: 25px;
        text-align: center;
        font-weight: 600;
        display: inline-block;
        transition: all 0.3s ease;
    }
    
    .view-details-btn:hover {
        transform: scale(1.05);
        box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    }
    
    .filter-section {
        background: white;
        padding: 25px;
        border-radius: 15px;
        margin-bottom: 40px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    }
    
    .filter-title {
        font-size: 1.2em;
        font-weight: 600;
        margin-bottom: 15px;
        color: #2c3e50;
    }
    
    .filter-buttons {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .filter-btn {
        padding: 10px 20px;
        background: #f0f0f0;
        border: 2px solid #e0e0e0;
        border-radius: 25px;
        cursor: pointer;
        transition: all 0.3s ease;
        font-weight: 500;
    }
    
    .filter-btn:hover,
    .filter-btn.active {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        border-color: #667eea;
    }
    
    @media (max-width: 768px) {
        .page-hero h1 {
            font-size: 2.2em;
        }
        
        .iit-grid {
            grid-template-columns: 1fr;
        }
        
        .hero-stats {
            flex-direction: column;
            gap: 20px;
        }
    }
