* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    -webkit-tap-highlight-color: transparent;

    /* Hide scrollbar for Firefox and IE/Edge */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* Hide scrollbar for Chrome, Safari and Opera */
*::-webkit-scrollbar {
    display: none;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #e0e6ed;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    display: flex;
    min-height: 100vh;
    transition: all 0.3s ease;
}

/* Homepage Container */
.homepage-container {
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 100px;
    flex-direction: column;
}

/* Sidebar Styles */
.sidebar {
    width: 280px;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.3);
}

.sidebar.active {
    transform: translateX(0);
}

.sidebar-header {
    padding: 0 2rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.sidebar-header h2 {
    color: #64b5f6;
    font-size: 1.5rem;
    font-weight: 600;
}

.sidebar-header p {
    color: #a0a0a0;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.nav-menu {
    list-style: none;
    padding: 0 1rem;
}

.nav-item {
    margin-bottom: 0.5rem;
}

.nav-link {
    display: block;
    padding: 1rem 1.5rem;
    color: #e0e6ed;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link:hover {
    background: linear-gradient(45deg, #64b5f6, #42a5f5);
    color: #fff;
    transform: translateX(8px);
    box-shadow: 0 4px 15px rgba(100, 181, 246, 0.3);
}

.nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: #64b5f6;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.nav-link:hover::before {
    transform: scaleY(1);
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 2rem;
    margin-left: 0;
    transition: margin-left 0.3s ease;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding: 1.5rem 2rem;
    background: rgba(26, 26, 46, 0.95);
    border-radius: 0 0 20px 20px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: none;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.open-app-btn {
    width: 40vw;
    text-align: center;
    margin: auto;
    display: block;
    background: linear-gradient(45deg, #81c784, #66bb6a);
    color: white;
    padding: 1rem 1.5rem;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(129, 199, 132, 0.3);
    margin: 1rem;
    position: relative;
    overflow: hidden;
}

.open-app-btn:hover {
    background: linear-gradient(45deg, #66bb6a, #4caf50);
    transform: translateX(8px);
    box-shadow: 0 6px 20px rgba(129, 199, 132, 0.4);
}

.open-app-btn::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: #4caf50;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.open-app-btn:hover::before {
    transform: scaleY(1);
}

.sidebar-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 1rem 0;
}

.menu-toggle {
    background: linear-gradient(45deg, #64b5f6, #42a5f5);
    border: none;
    color: white;
    padding: 12px 16px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(100, 181, 246, 0.3);
}

.menu-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(100, 181, 246, 0.4);
}

.header h1 {
    font-size: 2.5rem;
    background: linear-gradient(45deg, #64b5f6, #81c784);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.search-container {
    position: relative;
    margin-bottom: 2rem;
}

.search-box {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    color: #e0e6ed;
    font-size: 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.search-box:focus {
    outline: none;
    border-color: #64b5f6;
    box-shadow: 0 0 20px rgba(100, 181, 246, 0.3);
}

.search-box::placeholder {
    color: #a0a0a0;
}

/* Resource Cards */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.resource-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.resource-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #64b5f6, #42a5f5);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.12);
}

.resource-card:hover::before {
    transform: scaleX(1);
}

.resource-card h3 {
    color: #64b5f6;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.resource-card p {
    color: #b0b0b0;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.resource-link {
    display: inline-block;
    background: linear-gradient(45deg, #64b5f6, #42a5f5);
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(100, 181, 246, 0.3);
}

.resource-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(100, 181, 246, 0.4);
}

.category-section {
    margin-bottom: 3rem;
    scroll-margin-top: 25vh;
}

/* Socials Grid */
.socials-grid {
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
}

.category-title {
    color: #81c784;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
    position: relative;
    padding-left: 1rem;
}

.category-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(45deg, #81c784, #66bb6a);
    border-radius: 2px;
}

/* Overlay for mobile */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu Button */
.mobile-menu-button {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1001;
    background: linear-gradient(45deg, #64b5f6, #42a5f5);
    border: none;
    color: white;
    padding: 16px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(100, 181, 246, 0.4);
    width: 60px;
    height: 60px;
}

.mobile-menu-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(100, 181, 246, 0.5);
}

.mobile-menu-button:active {
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {

    .open-app-btn {
        padding: .8rem;
        margin: 0;
    }

    .sidebar {
        width: 100%;
        bottom: 0;
        top: auto;
        transform: translateY(100%);
        height: auto;
        max-height: 70vh;
        overflow-y: auto;
        overflow-x: hidden;
        border-radius: 20px 20px 0 0;
        border-right: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .sidebar-header {
        margin: -20px;
        padding-top: 0;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
        padding-left: 10%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        /* margin-bottom: 1rem; */
    }

    /* .sidebar-header h2 {
        color: #64b5f6;
        font-size: 1.3rem;
        font-weight: 600;
    } */

    /* .sidebar-header p {
        color: #a0a0a0;
        font-size: 0.7rem;
        margin-top: 0.5rem;
    } */

    .nav-item {
        margin-bottom: 0.5rem;
    }

    .nav-link {
        display: block;
        padding: .5rem 1.5rem;
        color: #e0e6ed;
        text-decoration: none;
        border-radius: 12px;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }

    .nav-menu {
        list-style: none;
        padding: 0;
        padding-left: 5%;
    }

    .sidebar.active {
        transform: translateY(0);
    }

    .main-content {
        padding: 1rem;
    }

    .header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        /* margin-bottom: .1rem; */
        margin-top: -1rem;
        padding: 1rem 1rem;
    }

    .header h1 {
        font-size: 1.5rem;
        /* display: none; */
    }

    .resources-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .menu-toggle {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }
}

@media (min-width: 769px) {
    .sidebar.active+.main-content {
        margin-left: 280px;
    }
}

/* ============================================
   HERO SECTION STYLES
   ============================================ */

.hero-section {
    text-align: center;
    padding: 4rem 2rem;
    margin-top: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    color: #a0a0a0;
    margin-bottom: 2rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #4caf50;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.hero-title {
    font-size: 3.5rem;
    background: linear-gradient(45deg, #64b5f6, #81c784);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hero-tagline {
    font-size: 1.3rem;
    color: #b0b0b0;
    margin-bottom: 1.5rem;
}

.hero-tagline .highlight {
    background: linear-gradient(45deg, #64b5f6, #42a5f5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.hero-description {
    max-width: 600px;
    margin: 0 auto 2rem;
    color: #a0a0a0;
    line-height: 1.6;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(45deg, #2d3748, #1a202c);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    background: linear-gradient(45deg, #3d4a5c, #2d3748);
}

/* ============================================
   CATEGORY CARDS SECTION
   ============================================ */

.category-cards-section {
    padding: 2rem 0;
}

.category-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.category-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.12);
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.card-content {
    flex: 1;
}

.card-content h3 {
    color: #e0e6ed;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.card-content p {
    color: #a0a0a0;
    font-size: 0.85rem;
}

.card-arrow {
    color: #a0a0a0;
    opacity: 0;
    transition: all 0.3s ease;
}

.category-card:hover .card-arrow {
    opacity: 1;
    transform: translateX(4px);
}

/* ============================================
   FEATURED PROJECTS MARQUEE
   ============================================ */

.featured-section {
    padding: 3rem 0;
    overflow: hidden;
}

.marquee-container {
    overflow: hidden;
    margin-top: 1.5rem;
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    gap: 2rem;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.marquee-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    min-width: 180px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.marquee-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

.marquee-item img {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    object-fit: cover;
}

.marquee-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    background: linear-gradient(45deg, #64b5f6, #81c784);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.marquee-item span {
    color: #e0e6ed;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
}

/* ============================================
   CATEGORY PAGE STYLES
   ============================================ */

.category-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #a0a0a0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.back-btn:hover {
    color: #64b5f6;
}

.category-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.category-info h1 {
    color: #e0e6ed;
    font-size: 1.8rem;
    font-weight: 600;
}

.category-info p {
    color: #a0a0a0;
    font-size: 0.9rem;
}

.add-link-btn {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #e0e6ed;
    padding: 0.75rem 1.25rem;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.add-link-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Project List */
.project-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.project-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    transition: all 0.3s ease;
}

.project-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.project-number {
    color: #64b5f6;
    font-size: 0.9rem;
    font-weight: 600;
    min-width: 30px;
}

.project-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.project-icon img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.project-info {
    flex: 1;
    min-width: 0;
}

.project-info h3 {
    color: #e0e6ed;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.project-info p {
    color: #707070;
    font-size: 0.8rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: wrap;
}

.project-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.visit-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(100, 181, 246, 0.15);
    color: #64b5f6;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.visit-btn:hover {
    background: rgba(100, 181, 246, 0.25);
}

.copy-btn {
    background: transparent;
    border: none;
    color: #707070;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    color: #a0a0a0;
    background: rgba(255, 255, 255, 0.05);
}

/* ============================================
   COURSE DROPDOWN STYLES
   ============================================ */

.course-dropdown {
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.course-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: #e0e6ed;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.course-header:hover {
    background: rgba(255, 255, 255, 0.08);
}

.course-header i {
    transition: transform 0.3s ease;
}

.course-dropdown.active .course-header i {
    transform: rotate(180deg);
}

.course-content {
    display: none;
    padding: 0 1.5rem 1.5rem;
    background: rgba(0, 0, 0, 0.2);
}

.course-dropdown.active .course-content {
    display: block;
}

.repo-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.repo-item:last-child {
    border-bottom: none;
}

.repo-item i {
    color: #a0a0a0;
    font-size: 1.2rem;
}

.repo-info {
    flex: 1;
}

.repo-info a {
    color: #64b5f6;
    text-decoration: none;
    font-weight: 500;
    word-break: break-all;
    overflow-wrap: anywhere;
}

.repo-info a:hover {
    text-decoration: underline;
}

.repo-info p {
    color: #707070;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

/* Tablet breakpoint */
@media (max-width: 992px) {
    .category-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile breakpoint */
@media (max-width: 768px) {

    /* Container & Layout Mobile */
    .homepage-container {
        margin-bottom: 50px;
        padding: 0 1rem;
    }

    .main-content {
        padding: 1rem 0;
    }

    .mobile-menu-button {
        display: block;
    }

    /* Hero Section Mobile */
    .hero-section {
        padding: 2rem 1rem;
        margin-top: 1rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 1.5rem;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-tagline {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .hero-description {
        margin-top: 0.8rem;
        font-size: 0.9rem;
        padding: 0 0.5rem;
        margin-bottom: 1.5rem;
    }

    .submit-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    /* Category Cards Mobile */
    .category-cards-section {
        padding: 1.5rem 0;
    }

    .category-cards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .category-card {
        padding: 1.25rem;
    }

    .card-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .card-content h3 {
        font-size: 1rem;
    }

    .card-content p {
        font-size: 0.8rem;
    }

    .card-arrow {
        opacity: 1;
    }

    /* Featured Marquee Mobile */
    .featured-section {
        padding: 2rem 0;
    }

    .featured-section .category-title {
        font-size: 1.4rem;
        padding-left: 1rem;
    }

    .marquee-container {
        margin-top: 1rem;
    }

    .marquee-item {
        padding: 1rem 1.5rem;
        min-width: 150px;
    }

    .marquee-item img,
    .marquee-placeholder {
        width: 60px;
        height: 60px;
    }

    .marquee-placeholder {
        font-size: 1.5rem;
    }

    .marquee-item span {
        font-size: 0.8rem;
    }

    /* Category Page Mobile */
    .category-page {
        padding: 1rem;
    }

    .category-header {
        flex-wrap: wrap;
        gap: 1rem;
        padding-bottom: 1rem;
        margin-bottom: 1.5rem;
    }

    .back-btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .category-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .category-info h1 {
        font-size: 1.4rem;
    }

    .category-info p {
        font-size: 0.8rem;
    }

    .add-link-btn {
        margin-left: 0;
        width: 100%;
        justify-content: center;
        margin-top: 0.5rem;
    }

    /* Project List Mobile */
    .project-list {
        gap: 0.75rem;
    }

    .project-item {
        flex-wrap: wrap;
        gap: 0.75rem;
        padding: 1rem;
    }

    .project-number {
        font-size: 0.8rem;
        min-width: 25px;
    }

    .project-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .project-info {
        flex: 1;
        min-width: calc(100% - 80px);
    }

    .project-info h3 {
        font-size: 0.95rem;
    }

    .project-info p {
        font-size: 0.75rem;
    }

    .project-actions {
        width: 100%;
        justify-content: flex-start;
        gap: 0.5rem;
        margin-top: 0.25rem;
    }

    .visit-btn {
        padding: 0.5rem 0.875rem;
        font-size: 0.8rem;
    }

    /* Course Dropdowns Mobile */
    .course-dropdown {
        margin-bottom: 0.75rem;
    }

    .course-header {
        padding: 1rem 1.25rem;
        font-size: 0.9rem;
    }

    .course-header span {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .course-content {
        padding: 0 1rem 1rem;
    }

    .repo-item {
        padding: 0.75rem 0;
        gap: 0.75rem;
    }

    .repo-item i {
        font-size: 1rem;
    }

    .repo-info a {
        font-size: 0.9rem;
    }

    .repo-info p {
        font-size: 0.75rem;
    }

    /* About & Socials Mobile */
    .category-section {
        margin-bottom: 2rem;
    }

    .category-title {
        font-size: 1.4rem;
        padding-left: 0.75rem;
    }

    .category-title::before {
        width: 3px;
    }

    .resources-grid {
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .resource-card {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .resource-card h3 {
        font-size: 1.2rem;
    }

    .resource-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    /* Socials Grid Mobile */
    .socials-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 0.5rem;
    }

    .socials-grid .resource-card {
        padding: 1rem;
    }

    .socials-grid .resource-card i {
        font-size: 1.5rem;
    }
}

/* Small mobile breakpoint */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-tagline {
        font-size: 0.9rem;
    }

    .category-card {
        padding: 1rem;
    }

    .card-icon {
        width: 40px;
        height: 40px;
    }

    .project-info {
        min-width: calc(100% - 70px);
    }

    .marquee-item {
        padding: 0.875rem 1.25rem;
        min-width: 130px;
    }

    .marquee-item img,
    .marquee-placeholder {
        width: 50px;
        height: 50px;
    }

    /* Socials Grid Small Mobile */
    .socials-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .socials-grid .resource-card {
        padding: 0.75rem;
    }

    .socials-grid .resource-card i {
        font-size: 1.25rem;
    }
}

/* ========================================
   AUTHENTICATION STYLES
   ======================================== */

/* Top Auth Bar */
.top-auth-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    margin-bottom: 1rem;
}

.auth-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

.auth-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(45deg, #64b5f6, #42a5f5);
    color: white;
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(100, 181, 246, 0.3);
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(100, 181, 246, 0.4);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.user-details {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.user-id {
    font-weight: 600;
    color: #64b5f6;
    font-size: 0.9rem;
}

.user-email {
    font-size: 0.75rem;
    color: #a0a0a0;
}

.logout-btn {
    background: rgba(244, 67, 54, 0.2);
    border: 1px solid rgba(244, 67, 54, 0.3);
    color: #f44336;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: rgba(244, 67, 54, 0.3);
    transform: scale(1.05);
}

/* Auth Modal */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.auth-modal.active {
    opacity: 1;
    visibility: visible;
}

.auth-modal-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    width: 90%;
    max-width: 400px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.auth-modal.active .auth-modal-content {
    transform: scale(1);
}

.auth-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #e0e6ed;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-modal-close:hover {
    background: rgba(244, 67, 54, 0.3);
    color: #f44336;
}

.auth-modal-content h2 {
    color: #64b5f6;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #a0a0a0;
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #e0e6ed;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #64b5f6;
    background: rgba(255, 255, 255, 0.08);
}

.form-group input::placeholder {
    color: #666;
}

.auth-submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(45deg, #64b5f6, #42a5f5);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.auth-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(100, 181, 246, 0.4);
}

.auth-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.auth-secondary-btn {
    width: 100%;
    padding: 1rem;
    background: rgba(244, 67, 54, 0.15);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.4);
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.75rem;
}

.auth-secondary-btn:hover {
    background: rgba(244, 67, 54, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 67, 54, 0.2);
}

.auth-switch {
    text-align: center;
    margin-top: 1.5rem;
    color: #a0a0a0;
    font-size: 0.9rem;
}

.auth-switch a {
    color: #64b5f6;
    text-decoration: none;
    font-weight: 600;
}

.auth-switch a:hover {
    text-decoration: underline;
}

.auth-error {
    background: rgba(244, 67, 54, 0.2);
    border: 1px solid rgba(244, 67, 54, 0.3);
    color: #f44336;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    display: none;
}

.auth-success {
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: #4caf50;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    display: none;
}

/* Google OAuth Button */
.google-login-btn {
    width: 100%;
    padding: 0.875rem 1rem;
    background: #ffffff;
    color: #333333;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.google-login-btn i {
    font-size: 1.25rem;
    color: #4285f4;
}

.google-login-btn:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.google-login-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Auth Divider */
.auth-divider {
    display: flex;
    align-items: center;
    margin: 1.25rem 0;
    color: #a0a0a0;
    font-size: 0.85rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.auth-divider span {
    padding: 0 1rem;
    /* } */
    font-size: 0.9rem;
    display: none;
}

/* ========================================
   STAR BUTTON STYLES
   ======================================== */

.star-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.2);
    color: #ffc107;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.star-btn:hover:not(.disabled) {
    background: rgba(255, 193, 7, 0.2);
    transform: scale(1.05);
}

.star-btn.starred {
    background: rgba(255, 193, 7, 0.3);
    border-color: #ffc107;
}

.star-btn.starred i {
    color: #ffc107;
}

.star-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.star-btn i {
    font-size: 0.9rem;
}

.star-count {
    font-weight: 600;
    min-width: 1rem;
    text-align: center;
}

/* Star button in project actions */
.project-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Mobile Auth Styles */
@media (max-width: 768px) {
    .top-auth-bar {
        padding: 0.75rem 0;
    }

    .auth-btn span {
        display: none;
    }

    .auth-btn {
        padding: 0.75rem;
    }

    .user-info {
        padding: 0.4rem 0.75rem;
    }

    .user-details {
        max-width: 120px;
    }

    .user-id {
        font-size: 0.8rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .user-email {
        font-size: 0.7rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .auth-modal-content {
        padding: 1.5rem;
        margin: 1rem;
    }

    .star-btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }
}

/* Header Actions (for category pages) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
}

.header-actions .auth-btn {
    padding: 0.6rem 0.8rem;
}

.header-actions .user-info {
    padding: 0.4rem 0.6rem;
}

/* Repo item star button alignment */
.repo-item {
    display: flex;
    align-items: center;
}

.repo-item .star-btn {
    margin-left: auto;
    flex-shrink: 0;
}

/* Mobile header actions */
@media (max-width: 768px) {
    .header-actions {
        gap: 0.5rem;
    }

    .header-actions .add-link-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }

    .header-actions .add-link-btn i {
        margin-right: 0;
    }

    .header-actions .add-link-btn span {
        display: none;
    }
}

/* Base Expertise Tags Styles */
.expertise-tags {
    margin-top: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.expertise-tag {
    background: rgba(100, 181, 246, 0.1);
    color: #90caf9;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 500;
    border: 1px solid rgba(100, 181, 246, 0.2);
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease;
}

.expertise-tag:hover {
    background: rgba(100, 181, 246, 0.2);
    border-color: rgba(100, 181, 246, 0.4);
    transform: translateY(-1px);
}

/* ==========================================================================
   SPA ROUTING & VIEW TRANSITIONS
   ========================================================================== */

.spa-view {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.spa-view.active-view {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Back button styles */
.back-btn-container {
    margin-bottom: 2rem;
}

/* Hide home elements when in a sub-view */
body.in-subview .hero-section,
body.in-subview .featured-section,
body.in-subview .floating-nav-container,
body.in-subview .category-section,
body.in-subview #download-qr,
body.in-subview .hero-badge,
body.in-subview p[style*="text-align: center;"] {
    display: none !important;
}

/* ==========================================================================
   PLAYFUL FLOATING BUBBLE NAVIGATION
   ========================================================================== */

.floating-nav-container {
    width: 100%;
    margin: 3rem 0;
    position: relative;
    z-index: 5;
}

.floating-nav-canvas {
    width: 100%;
    height: 520px;
    position: relative;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    overflow: hidden;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.4);
}

@media (max-width: 1024px) {
    .floating-nav-canvas {
        height: 680px;
    }
}

@media (max-width: 768px) {
    .floating-nav-canvas {
        height: 900px;
    }
}

.floating-bubble {
    position: absolute;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.8rem;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    z-index: 10;
    user-select: none;
}

.floating-bubble:hover {
    transform: scale(1.18) !important;
    z-index: 25;
}

.floating-bubble i {
    font-size: 1.6rem;
    margin-bottom: 0.4rem;
    transition: transform 0.3s ease;
}

.floating-bubble:hover i {
    transform: rotate(15deg) scale(1.15);
}

.floating-bubble span {
    font-size: 0.72rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    word-break: break-word;
    line-height: 1.1;
}

/* Floating Bubble Keyframes (Applied dynamically by JS to assign variations) */
@keyframes float1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(3px, -12px) scale(1.02); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-4px, -16px) scale(0.98); }
}

@keyframes float3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(5px, -8px) scale(1.03); }
}

@keyframes float4 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-6px, -14px) scale(0.99); }
}

/* Color definitions and glow gradients */
.bubble-materials { background: linear-gradient(135deg, rgba(123, 31, 162, 0.2), rgba(186, 104, 200, 0.1)); border-color: rgba(123, 31, 162, 0.4); }
.bubble-materials:hover { box-shadow: 0 0 25px rgba(186, 104, 200, 0.6); border-color: rgba(186, 104, 200, 0.8); }
.bubble-materials i { color: #ce93d8; }

.bubble-tools { background: linear-gradient(135deg, rgba(56, 142, 60, 0.2), rgba(129, 199, 132, 0.1)); border-color: rgba(56, 142, 60, 0.4); }
.bubble-tools:hover { box-shadow: 0 0 25px rgba(129, 199, 132, 0.6); border-color: rgba(129, 199, 132, 0.8); }
.bubble-tools i { color: #a5d6a7; }

.bubble-guidance { background: linear-gradient(135deg, rgba(2, 136, 209, 0.2), rgba(79, 195, 247, 0.1)); border-color: rgba(2, 136, 209, 0.4); }
.bubble-guidance:hover { box-shadow: 0 0 25px rgba(79, 195, 247, 0.6); border-color: rgba(79, 195, 247, 0.8); }
.bubble-guidance i { color: #81d4fa; }

.bubble-community { background: linear-gradient(135deg, rgba(194, 24, 91, 0.2), rgba(240, 98, 146, 0.1)); border-color: rgba(194, 24, 91, 0.4); }
.bubble-community:hover { box-shadow: 0 0 25px rgba(240, 98, 146, 0.6); border-color: rgba(240, 98, 146, 0.8); }
.bubble-community i { color: #f48fb1; }

.bubble-courses { background: linear-gradient(135deg, rgba(0, 131, 143, 0.2), rgba(77, 208, 225, 0.1)); border-color: rgba(0, 131, 143, 0.4); }
.bubble-courses:hover { box-shadow: 0 0 25px rgba(77, 208, 225, 0.6); border-color: rgba(77, 208, 225, 0.8); }
.bubble-courses i { color: #80deea; }

.bubble-portfolios { background: linear-gradient(135deg, rgba(245, 124, 0, 0.2), rgba(255, 183, 77, 0.1)); border-color: rgba(245, 124, 0, 0.4); }
.bubble-portfolios:hover { box-shadow: 0 0 25px rgba(255, 183, 77, 0.6); border-color: rgba(255, 183, 77, 0.8); }
.bubble-portfolios i { color: #ffcc80; }

.bubble-official { background: linear-gradient(135deg, rgba(25, 118, 210, 0.2), rgba(100, 181, 246, 0.1)); border-color: rgba(25, 118, 210, 0.4); }
.bubble-official:hover { box-shadow: 0 0 25px rgba(100, 181, 246, 0.6); border-color: rgba(100, 181, 246, 0.8); }
.bubble-official i { color: #90caf9; }

.bubble-inspirations { background: linear-gradient(135deg, rgba(63, 81, 181, 0.2), rgba(121, 134, 203, 0.1)); border-color: rgba(63, 81, 181, 0.4); }
.bubble-inspirations:hover { box-shadow: 0 0 25px rgba(121, 134, 203, 0.6); border-color: rgba(121, 134, 203, 0.8); }
.bubble-inspirations i { color: #b39ddb; }

.bubble-profile { background: linear-gradient(135deg, rgba(94, 53, 177, 0.2), rgba(179, 157, 219, 0.1)); border-color: rgba(94, 53, 177, 0.4); }
.bubble-profile:hover { box-shadow: 0 0 25px rgba(179, 157, 219, 0.6); border-color: rgba(179, 157, 219, 0.8); }
.bubble-profile i { color: #d1c4e9; }

.bubble-capstones { background: linear-gradient(135deg, rgba(229, 57, 53, 0.2), rgba(239, 154, 154, 0.1)); border-color: rgba(229, 57, 53, 0.4); }
.bubble-capstones:hover { box-shadow: 0 0 25px rgba(239, 154, 154, 0.6); border-color: rgba(239, 154, 154, 0.8); }
.bubble-capstones i { color: #ffab91; }

.bubble-mentors { background: linear-gradient(135deg, rgba(0, 105, 92, 0.2), rgba(128, 203, 196, 0.1)); border-color: rgba(0, 105, 92, 0.4); }
.bubble-mentors:hover { box-shadow: 0 0 25px rgba(128, 203, 196, 0.6); border-color: rgba(128, 203, 196, 0.8); }
.bubble-mentors i { color: #80cbc4; }

.bubble-talent { background: linear-gradient(135deg, rgba(251, 192, 45, 0.2), rgba(255, 245, 157, 0.1)); border-color: rgba(251, 192, 45, 0.4); }
.bubble-talent:hover { box-shadow: 0 0 25px rgba(255, 245, 157, 0.6); border-color: rgba(255, 245, 157, 0.8); }
.bubble-talent i { color: #ffe082; }

.bubble-contributors { background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(165, 214, 167, 0.1)); border-color: rgba(76, 175, 80, 0.4); }
.bubble-contributors:hover { box-shadow: 0 0 25px rgba(165, 214, 167, 0.6); border-color: rgba(165, 214, 167, 0.8); }
.bubble-contributors i { color: #c8e6c9; }


/* ==========================================================================
   USER PROFILE SECTION STYLES
   ========================================================================== */

.profile-connection-panel {
    max-width: 450px;
    margin: 4rem auto;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.profile-auth-tabs {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.profile-auth-tab {
    flex: 1;
    text-align: center;
    padding: 1rem;
    color: #a0a0a0;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.profile-auth-tab.active-tab {
    color: #64b5f6;
    border-bottom-color: #64b5f6;
}

.profile-dashboard {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 768px) {
    .profile-dashboard {
        grid-template-columns: 1fr;
    }
}

.profile-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
}

.profile-avatar-container {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #64b5f6, #b3e5fc);
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #1a1a2e;
    font-weight: bold;
    box-shadow: 0 8px 20px rgba(100, 181, 246, 0.3);
}

.profile-name {
    font-size: 1.3rem;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.profile-student-id {
    font-size: 0.9rem;
    color: #64b5f6;
    margin-bottom: 1rem;
    display: block;
    font-family: monospace;
}

.profile-meta-info {
    color: #a0a0a0;
    font-size: 0.8rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1rem;
}

.profile-meta-info p {
    margin-bottom: 0.4rem;
}

.profile-details-area {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.profile-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.05);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #81c784;
    margin-bottom: 0.2rem;
}

.stat-label {
    font-size: 0.8rem;
    color: #a0a0a0;
}

/* Starred items listing inside profile */
.my-starred-list {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 1.5rem;
}

.my-starred-list h3 {
    margin-bottom: 1rem;
    color: #ffffff;
    font-size: 1.1rem;
}

.starred-items-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 350px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.my-starred-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.my-starred-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.starred-item-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.starred-item-title {
    color: #e0e6ed;
    font-size: 0.9rem;
    font-weight: 600;
}

.starred-item-type {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #64b5f6;
    letter-spacing: 0.5px;
}

.starred-item-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.starred-item-actions a {
    color: #81c784;
    font-size: 0.9rem;
    text-decoration: none;
    padding: 0.3rem;
}

.starred-item-actions button {
    background: transparent;
    border: none;
    color: #f44336;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0.3rem;
}


/* ==========================================================================
   CAPSTONE PROJECTS VIEW STYLES
   ========================================================================== */

.capstone-spotlight {
    background: linear-gradient(135deg, rgba(229, 57, 53, 0.15), rgba(26, 26, 46, 0.9));
    border: 1px solid rgba(229, 57, 53, 0.3);
    border-radius: 24px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.capstone-spotlight::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 250px;
    height: 250px;
    background: rgba(229, 57, 53, 0.15);
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}

.spotlight-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #e53935;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(229, 57, 53, 0.4);
}

.spotlight-title {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 700;
}

.spotlight-desc {
    color: #b0b0b0;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 750px;
}

.spotlight-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: #a0a0a0;
}

.spotlight-meta-item strong {
    color: #ef9a9a;
}

.capstone-gallery {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.batch-accordion {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
    transition: all 0.3s ease;
}

.batch-accordion.active-batch {
    border-color: rgba(229, 57, 53, 0.3);
    background: rgba(255, 255, 255, 0.04);
}

.batch-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.batch-header:hover {
    background: rgba(255, 255, 255, 0.04);
}

.batch-header i {
    transition: transform 0.3s ease;
    color: #ef9a9a;
}

.batch-accordion.active-batch .batch-header i {
    transform: rotate(180deg);
}

.batch-content {
    display: none;
    padding: 0 1.5rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.batch-accordion.active-batch .batch-content {
    display: block;
}

.capstone-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    padding-top: 1.5rem;
}

.capstone-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.capstone-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(229, 57, 53, 0.2);
}

.capstone-card-title {
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.capstone-card-desc {
    font-size: 0.85rem;
    color: #a0a0a0;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.capstone-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.capstone-team-text {
    font-size: 0.75rem;
    color: #888;
}


/* ==========================================================================
   INDUSTRY MENTORS VIEW STYLES
   ========================================================================== */

.mentors-carousel-container {
    position: relative;
    margin-bottom: 3rem;
    padding: 1rem 0;
}

.mentors-carousel-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scroll-behavior: smooth;
    scrollbar-width: thin;
}

.mentors-carousel-track::-webkit-scrollbar {
    height: 4px;
    display: block;
}

.mentors-carousel-track::-webkit-scrollbar-thumb {
    background: rgba(128, 203, 196, 0.3);
    border-radius: 10px;
}

.mentor-card-featured {
    flex: 0 0 280px;
    background: linear-gradient(135deg, rgba(0, 105, 92, 0.12) 0%, rgba(26, 26, 46, 0.8) 100%);
    border: 1px solid rgba(0, 105, 92, 0.25);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.mentor-card-featured:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 105, 92, 0.2);
    border-color: rgba(128, 203, 196, 0.5);
}

.mentor-featured-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(128, 203, 196, 0.2);
    color: #80cbc4;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
}

.mentor-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(128, 203, 196, 0.2);
    margin: 0.5rem auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #80cbc4;
}

.mentor-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
}

.mentor-role {
    font-size: 0.8rem;
    color: #80cbc4;
    margin-bottom: 0.2rem;
}

.mentor-company {
    font-size: 0.75rem;
    color: #a0a0a0;
    margin-bottom: 0.8rem;
}

.mentor-star-rating {
    color: #ffc107;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.mentor-reachout-btn {
    display: block;
    width: 100%;
    background: rgba(128, 203, 196, 0.15);
    color: #80cbc4;
    border: 1px solid rgba(128, 203, 196, 0.3);
    border-radius: 10px;
    padding: 0.6rem;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.mentor-reachout-btn:hover {
    background: #80cbc4;
    color: #1a1a2e;
}

.mentor-directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.mentor-card-dir {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 1.25rem;
    transition: all 0.3s ease;
}

.mentor-card-dir:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
    border-color: rgba(128, 203, 196, 0.2);
}

.mentor-card-dir-info {
    flex: 1;
    min-width: 0;
}

.mentor-card-dir-info h4 {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.mentor-card-dir-info p {
    font-size: 0.78rem;
    color: #a0a0a0;
    margin-bottom: 0.4rem;
}

.mentor-dir-actions {
    display: flex;
    gap: 0.5rem;
}

.mentor-dir-icon-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: #a0a0a0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.mentor-dir-icon-btn:hover {
    background: #80cbc4;
    color: #1a1a2e;
}


/* ==========================================================================
   "HIRE US" TALENT DIRECTORY VIEW STYLES
   ========================================================================== */

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.filter-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #a0a0a0;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-tag:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.filter-tag.active-tag {
    background: rgba(251, 192, 45, 0.15);
    border-color: #fbc02d;
    color: #ffe082;
}

.talent-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.talent-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    transition: all 0.3s ease;
}

.talent-row:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(251, 192, 45, 0.2);
}

@media (max-width: 600px) {
    .talent-row {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
        justify-items: center;
    }
}

.talent-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
}

@media (max-width: 600px) {
    .talent-profile {
        flex-direction: column;
    }
}

.talent-avatar {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(251, 192, 45, 0.2), rgba(255, 245, 157, 0.1));
    border: 1px solid rgba(251, 192, 45, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #ffe082;
    font-weight: bold;
    flex-shrink: 0;
}

.talent-meta h4 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.talent-meta span {
    font-size: 0.78rem;
    color: #ffe082;
    font-weight: 500;
}

.talent-bio-stack {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 0;
}

.talent-bio {
    font-size: 0.8rem;
    color: #a0a0a0;
    line-height: 1.4;
    white-space: normal;
}

.talent-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.talent-skill {
    background: rgba(251, 192, 45, 0.08);
    color: #ffe082;
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 500;
    border: 1px solid rgba(251, 192, 45, 0.15);
}

.talent-action {
    flex-shrink: 0;
}

.talent-hire-btn {
    background: linear-gradient(45deg, #fbc02d, #fdd835);
    color: #1a1a2e;
    border: none;
    border-radius: 10px;
    padding: 0.65rem 1.25rem;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(251, 192, 45, 0.2);
}

.talent-hire-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(251, 192, 45, 0.35);
    background: linear-gradient(45deg, #fdd835, #ffeb3b);
}


/* ==========================================================================
   HIRE MODAL POPUP STYLES
   ========================================================================== */

.hire-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hire-modal-overlay.active-modal {
    display: flex;
    opacity: 1;
}

.hire-modal-container {
    width: 90%;
    max-width: 440px;
    background: rgba(26, 26, 46, 0.95);
    border: 1px solid rgba(251, 192, 45, 0.25);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(251, 192, 45, 0.1);
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    text-align: center;
}

.hire-modal-overlay.active-modal .hire-modal-container {
    transform: translateY(0);
}

.hire-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: #a0a0a0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.hire-modal-close:hover {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
}

.hire-modal-header {
    margin-bottom: 1.5rem;
}

.hire-modal-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fbc02d, #ffe082);
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #1a1a2e;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(251, 192, 45, 0.3);
}

.hire-modal-title {
    font-size: 1.3rem;
    color: #ffffff;
    font-weight: 700;
}

.hire-modal-role {
    font-size: 0.85rem;
    color: #ffe082;
    margin-top: 0.1rem;
}

.hire-modal-body p {
    color: #a0a0a0;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.hire-social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.hire-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.8rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn-linkedin {
    background: rgba(10, 102, 194, 0.12);
    color: #0a66c2;
    border-color: rgba(10, 102, 194, 0.2);
}
.btn-linkedin:hover {
    background: #0a66c2;
    color: #ffffff;
}

.btn-github {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.1);
}
.btn-github:hover {
    background: #ffffff;
    color: #1a1a2e;
}

.btn-telegram {
    background: rgba(0, 136, 204, 0.12);
    color: #0088cc;
    border-color: rgba(0, 136, 204, 0.2);
}
.btn-telegram:hover {
    background: #0088cc;
    color: #ffffff;
}

.btn-email {
    background: rgba(229, 57, 53, 0.12);
    color: #e53935;
    border-color: rgba(229, 57, 53, 0.2);
}
.btn-email:hover {
    background: #e53935;
    color: #ffffff;
}
