/* Core Layout */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Arial, sans-serif; }
body { background-color: #f8f9fa; color: #212529; }

/* Navbar Styling */
.navbar { 
    background: #ffffff; 
    padding: 15px 8%; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky; top: 0;
}
.logo { font-size: 24px; font-weight: 800; color: #7d2ae8; letter-spacing: -1px; }
.search-bar input { padding: 8px 15px; width: 300px; border: 1px solid #ddd; border-radius: 20px; outline: none; }

.nav-links { list-style: none; display: flex; align-items: center; }
.nav-links li { margin-left: 25px; }
.nav-links a { text-decoration: none; color: #444; font-weight: 500; }
.login-btn { background: #7d2ae8; color: white; border: none; padding: 8px 20px; border-radius: 5px; cursor: pointer; }

/* Banner */
.main-banner { 
    text-align: center; 
    padding: 80px 20px; 
    background: linear-gradient(135deg, #7d2ae8 0%, #00d4ff 100%); 
    color: white; 
}
.main-banner h1 { font-size: 3rem; margin-bottom: 10px; }

/* The Parent Grid */
.parent-grid { 
    max-width: 1200px; 
    margin: -50px auto 50px; 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 20px; 
    padding: 0 20px;
}

.hub-card { 
    background: white; 
    padding: 40px 30px; 
    border-radius: 15px; 
    text-align: center; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}
.hub-card:hover { transform: translateY(-10px); }
.hub-card .icon { font-size: 50px; margin-bottom: 15px; }
.hub-card h2 { margin-bottom: 10px; color: #333; }
.hub-card p { color: #666; margin-bottom: 20px; font-size: 0.95rem; }

.hub-link { 
    text-decoration: none; 
    color: #7d2ae8; 
    font-weight: bold; 
    border: 2px solid #7d2ae8; 
    padding: 10px 20px; 
    border-radius: 5px;
}
.hub-link:hover { background: #7d2ae8; color: white; }

.main-footer { text-align: center; padding: 40px; color: #888; }

.search-bar { position: relative; }

#mainSearch:focus {
    border: 2px solid #7d2ae8;
    width: 350px; /* Expands slightly on focus */
    transition: 0.3s;
}

.suggestions-box {
    position: absolute;
    top: 45px;
    width: 100%;
    background: white;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 100;
}

.yt {
    list-style-type: none;
    text-decoration: none;
    color: #12112;
}

.yy {
    
    
}