/*header and index page css start*/


    
        /* ===== HEADER / NAVBAR ===== */
        header {
            background: #ffffff;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        }

        .navbar {
            max-width: 1200px;
            margin: auto;
            padding: 14px 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
        }

        .logo {
            font-size: 20px;
            font-weight: 600;
            color: #6a5cff;
            text-decoration: none;
            white-space: nowrap;
        }

        /* center nav links (desktop) */
        .nav-links {
            display: flex;
            gap: 24px;
            align-items: center;
            justify-content: center;
            flex: 1;
        }

        .nav-links a {
            text-decoration: none;
            font-size: 14px;
            color: #444;
            font-weight: 500;
        }

        .nav-links a:hover {
            color: #6a5cff;
        }

        /* right side auth buttons (desktop) */
        .auth-buttons {
            display: flex;
            gap: 10px;
        }

        .auth-btn {
            background: #6a5cff;
            color: #fff;
            padding: 8px 16px;
            border-radius: 8px;
            font-size: 13px;
            text-decoration: none;
            white-space: nowrap;
        }

        .auth-btn.logout {
            background: #ff4b5c;
        }

        .auth-btn:hover {
            opacity: 0.95;
        }

        /* mobile toggle */
        .menu-toggle {
            display: none;
            font-size: 22px;
            cursor: pointer;
            color: #444;
        }

        /* ===== SIDEBAR (for mobile) ===== */
        .sidebar-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.35);
            display: none;
            z-index: 998;
        }

        .sidebar-overlay.active {
            display: block;
        }

        .sidebar {
            position: fixed;
            top: 0;
            right: -260px;
            width: 260px;
            height: 100vh;
            background: #ffffff;
            box-shadow: -4px 0 18px rgba(0, 0, 0, 0.12);
            padding: 18px 18px 24px;
            display: flex;
            flex-direction: column;
            transition: right 0.25s ease-out;
            z-index: 999;
        }

        .sidebar.active {
            right: 0;
        }

        .sidebar-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 18px;
        }

        .sidebar-title {
            font-size: 16px;
            font-weight: 600;
            color: #333;
        }

        .sidebar-close {
            border: none;
            background: transparent;
            font-size: 22px;
            line-height: 1;
            cursor: pointer;
            color: #999;
        }

        .sidebar-links {
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-bottom: 18px;
        }

        .sidebar-links a {
            text-decoration: none;
            font-size: 14px;
            color: #444;
            font-weight: 500;
            padding: 8px 10px;
            border-radius: 8px;
        }

        .sidebar-links a:hover {
            background: #f3f2ff;
            color: #6a5cff;
        }

        .sidebar-divider {
            height: 1px;
            background: #ececf5;
            margin: 10px 0 14px;
        }

        .sidebar-auth {
            margin-top: auto;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .sidebar-auth-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 9px 14px;
            border-radius: 10px;
            font-size: 14px;
            font-weight: 500;
            text-decoration: none;
            border: 1px solid #6a5cff;
            color: #fff;
            background: #6a5cff;
        }

        .sidebar-auth-btn.logout {
            background: #ff4b5c;
            border-color: #ff4b5c;
        }

        .sidebar-auth-btn:hover {
            filter: brightness(0.96);
        }
        
         @media (max-width: 768px){
             #auth-buttons{
                 display: none;
             }
         }
        

        /* responsive behaviour */
        @media (max-width: 768px) {
            .nav-links {
                display: none;
                /* center links hide on mobile */
            }

            .auth-buttons {
                display: none;
                /* desktop auth hide on mobile */
            }

            .menu-toggle {
                display: block;
                /* mobile toggle show */
            }

            .navbar {
                justify-content: space-between;
            }
        }

        main {
            flex: 1;
            display: flex;
            flex-direction: column;
            padding: 40px 20px 30px;
        }
        
        /* trophy start */
            .trophy-gold{
            font-size: 25px;
            background: linear-gradient(45deg, #FFD700, #FFC107, #FFB300, #FFD700);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            }
            
            .trophy-silver{
            font-size: 25px;
            background: linear-gradient(45deg, #C0C0C0, #E0E0E0, #AFAFAF, #C0C0C0);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            }
            
            .trophy-bronze{
            font-size: 25px;
            background: linear-gradient(45deg, #CD7F32, #B87333, #A97142, #CD7F32);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            }

        /* trophy end */
        
        
        /* ===== CATEGORY CARDS / SLIDER ===== */
        .category-card {
            background: #f6f7fb;
            border-radius: 14px;
            padding: 18px 20px;
            border: 1px solid #eceeff;
            display: flex;
            flex-direction: column;
            height: 100%;
            transition: all 0.3s ease;
        }
        .category-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 10px 25px rgba(106, 92, 255, 0.15);
        }
        .category-badge {
            display: inline-block;
            padding: 4px 10px;
            border-radius: 999px;
            font-size: 11px;
            color: #6a5cff;
            background: #eeecff;
            margin-bottom: 8px;
        }
        .category-title {
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 22px;
            text-align: center;
        }
        .category-meta {
            font-size: 11px;
            color: #888;
            margin-bottom: 14px;
        }
        .slider-cta {
            margin-top: auto;
        }
        .slider-cta a {
            background: #6a5cff;
            border: 1px solid #6a5cff;
            color: #fff;
            padding: 8px 16px;
            border-radius: 8px;
            text-decoration: none;
            font-size: 13px;
            font-weight: 500;
            display: inline-block;
            transition: 0.2s;
        }
        /*.slider-cta a:hover {*/
        /*    background: #5848e0;*/
        /*  border: 1px solid #5848e0;*/
            
        /*}*/
        /*.slider-box {*/
        /*    background: #ffffff;*/
        /*    border-radius: 18px;*/
        /*    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);*/
        /*    padding: 24px 20px 26px;*/
        /*    position: relative;*/
        /*}*/
        /*.slider-row {*/
        /*    overflow: hidden;*/
        /*    position: relative;*/
        /*}*/
        /*.slider-row-inner {*/
        /*    display: flex;*/
        /*    gap: 20px;*/
        /*    transition: transform 0.4s ease;*/
        /*}*/
        .slider-row-inner > .col-12 {
            flex: 0 0 100%;
        }
        @media (min-width: 576px) {
            .slider-row-inner > .col-sm-6 {
                flex: 0 0 50%;
            }
        }
        @media (min-width: 992px) {
            .slider-row-inner > .col-lg-4 {
                flex: 0 0 32.3333%;
            }
        }
        .slider-controls {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: 18px;
        }
        .slider-dots {
            display: flex;
            gap: 8px;
        }
        .slider-dot {
            width: 8px;
            height: 8px;
            border-radius: 999px;
            background: #ddd;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        .slider-dot.active {
            width: 20px;
            background: #6a5cff;
        }
        .slider-arrows {
            display: flex;
            gap: 8px;
        }
        .arrow-btn {
            width: 30px;
            height: 30px;
            border-radius: 999px;
            border: none;
            background: #f2f2ff;
            color: #6a5cff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            cursor: pointer;
        }
        .arrow-btn:hover {
            background: #e3e1ff;
        }
        
                #start-voting{
            background: #1f3a52!important
        }
        
        .once-per-vote{
        font-size: 14px;
        color: #ff4956;
        font-weight: 400;
        }
        
        
        /* ===== CARD LEADERBOARD (inside each category card) ===== */
        .card-leaderboard {
            margin-bottom: 10px;
        }
        .lb-top3 {
            display: flex;
            align-items: flex-end;
            justify-content: center;
            gap: 10px;
        }
        .lb-item {
            background: #ffffff;
            border-radius: 12px;
            padding: 6px 8px 8px;
            text-align: center;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
            min-width: 104px;
        }
        .lb-item.main {
            transform: translateY(-4px);
        }
        .lb-rank-badge {
            font-size: 15px;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            color: #888;
            margin-bottom: 4px;
            font-weight: 500;
        }
        .lb-avatar {
        width: 95px;
        height: 150px;
            border-radius: 5%;
            object-fit: cover;
            margin-bottom: 4px;
            border: 2px solid #f1f1ff;
        }
        .lb-name {
            font-size: 15px;
            font-weight: 600;
        }
        .lb-medal-1 {
            color: #f9a602;
        }
        .lb-medal-2 {
            color: #7386ad;
        }
        .lb-medal-3 {
            color: #c97a56;
        }
        @media (max-width: 576px) {
            .lb-top3 {
                flex-direction: column;
                align-items: stretch;
            }
            .lb-item.main {
                transform: none;
            }
            .slider-row-inner {
                display: flex;
                /*gap: 24px;*/
                transition: transform 0.4s ease;
            }
        }
        
        /* ===== GLOBAL LEADERBOARD SECTION ===== */
        .leaderboard-box {
            background: #ffffff;
            border-radius: 18px;
            padding: 24px 20px;
            box-shadow: 0 14px 30px rgba(0, 0, 0, 0.06);
            margin: 0 auto;
        }
        .lb-card {
            background: #f8f8ff;
            border-radius: 16px;
            padding: 24px 16px 16px;
            text-align: center;
            border: 1px solid #eceeff;
            position: relative;
            height: 100%;
        }
        .lb-medal {
            position: absolute;
            top: -12px;
            left: 50%;
            transform: translateX(-50%);
            width: 32px;
            height: 32px;
            border-radius: 999px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            color: #fff;
            font-weight: 600;
        }
        .lb-medal.gold {
            background: linear-gradient(135deg, #ffcf3a, #f9a602);
        }
        .lb-medal.silver {
            background: linear-gradient(135deg, #d7dde8, #7386ad);
        }
        .lb-medal.bronze {
            background: linear-gradient(135deg, #f4b396, #c97a56);
        }
        .lb-rank {
            font-size: 11px;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: #888;
            margin-top: 20px;
        }
        .lb-name-global {
            font-size: 15px;
            font-weight: 600;
            margin: 4px 0 2px;
        }
        .lb-category-global {
            font-size: 12px;
            color: #666;
        }
        .lb-score {
            margin-top: 6px;
            font-size: 13px;
            color: #6a5cff;
            font-weight: 500;
        }
        
       .global-lb-avatar {
    width: 177px;
    height: 250px;
}
        /* Leaderboard responsive fixes */


/* Responsive breakpoints */
@media (max-width: 575.98px) {
    .row.g-4 > [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .row.g-4 > [class*="col-"] {
        flex: 0 0 50%;
        max-width: 100%;
    }
}

@media (min-width: 768px) {
    .row.g-4 > [class*="col-"] {
        flex: 0 0 33.333%;
        max-width: 100%;
    }
}

/* Ensure medal stays inside card */
.lb-medal {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
}


/*slider start*/
 /* ALL UNIQUE CLASSES - ZERO CONFLICTS */
        .unicornSliderMain {
            width: 100%;
            /*max-width: 1000px;*/
            height: 450px;
            margin: 30px auto;
            position: relative;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 25px 50px rgba(0,0,0,0.4);
        }

        .galaxySlidesWrapper {
            width: 100%;
            height: 100%;
            position: relative;
        }

        .cosmicSlideItem {
            position: absolute;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        .cosmicSlideItem.activeSlide {
            opacity: 1;
            transform: scale(1);
        }

        .cosmicSlideItem img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .nebulaTextOverlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(transparent, rgba(0,0,0,0.9));
            padding: 70px 50px 50px;
            color: #fff;
        }

        .starburstTitle {
            font-size: 3rem;
            margin-bottom: 15px;
            text-shadow: 3px 3px 6px rgba(0,0,0,0.7);
            font-weight: 700;
        }

        .orbitDescription {
            font-size: 1.4rem;
            line-height: 1.6;
            max-width: 600px;
        }

        /* UNIQUE ARROWS */
        .meteorPrevBtn, .meteorNextBtn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255,255,255,0.15);
            backdrop-filter: blur(15px);
            color: #fff;
            border: 2px solid rgba(255,255,255,0.3);
            width: 70px;
            height: 70px;
            border-radius: 50%;
            font-size: 28px;
            cursor: pointer;
            transition: all 0.4s ease;
            z-index: 999;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .meteorPrevBtn:hover, .meteorNextBtn:hover {
            background: rgba(255,255,255,0.3);
            transform: translateY(-50%) scale(1.15);
            border-color: rgba(255,255,255,0.6);
        }

        .meteorPrevBtn {
            left: 25px;
        }

        .meteorNextBtn {
            right: 25px;
        }

        /* UNIQUE DOTS */
        .quantumDotsContainer {
            position: absolute;
            bottom: 40px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 15px;
            z-index: 999;
        }

        .plasmaDot {
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: rgba(255,255,255,0.6);
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
            position: relative;
        }

        .plasmaDot.activeDot {
            background: #ffd700;
            transform: scale(1.4);
            box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
        }

        /* RESPONSIVE */
        @media (max-width: 768px) {
            .unicornSliderMain {
                height: 320px;
                
            }
            .starburstTitle {
                font-size: 2rem;
            }
            .orbitDescription {
                font-size: 1.1rem;
            }
            .meteorPrevBtn, .meteorNextBtn {
                width: 55px;
                height: 55px;
                font-size: 22px;
            }
        }

/*slider end*/


        /* ===== FOOTER ===== */
        .footer-wrapper {
            background: #ffffff;
            border-top: 1px solid #e2e4f0;
            box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.04);
        }
        .footer-logo {
            font-weight: 600;
            font-size: 16px;
            color: #6a5cff;
        }
        .footer-tagline {
            font-size: 12px;
            color: #777;
            margin-top: 4px;
        }
        .footer-links {
            font-size: 13px;
            color: #555;
        }
        .footer-links a {
            color: #555;
            text-decoration: none;
            font-weight: 500;
        }
        .footer-links a:hover {
            color: #6a5cff;
        }
        .footer-links .dot {
            margin: 0 6px;
            color: #ccc;
        }
        .footer-meta {
            font-size: 12px;
            color: #777;
        }
        .footer-meta-small {
            font-size: 11px;
            margin-top: 2px;
        }
        .footer-meta-small a {
            color: #6a5cff;
            text-decoration: none;
        }
        .footer-meta-small a:hover {
            text-decoration: underline;
        }
        @media (max-width: 576px) {
            .footer-logo {
                margin-bottom: 4px;
            }
            .footer-tagline {
                margin-bottom: 8px;
            }
            .footer-links {
                margin: 4px 0;
            }
        }
/* footer page css end*/




/********* vote.php start *********/

.vote-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.vote-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.header-sub {
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-title {
    color: white;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.vote-status {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    min-width: 140px;
    text-align: center;
    margin-left: 14px;
}

.vote-status.bg-success {
    background: linear-gradient(45deg, #11998e, #38ef7d);
}

.vote-status.bg-secondary {
    background: linear-gradient(45deg, #6c757d, #495057);
}

.teacher-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.teacher-card {
    background: white;
    border-radius: 24px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255,255,255,0.2);
}

.teacher-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.teacher-img-wrapper {
    position: relative;
    /*height: 350px;*/
    overflow: hidden;
}

.teacher-img {
    width: 100%;
    height: 200px;
    border-radius: 15px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.teacher-card:hover .teacher-img {
    transform: scale(1.05);
}

.teacher-info {
    padding: 10px;
    text-align: center;
}

.teacher-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.teacher-votes {
    color: #667eea;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}

/* UNIQUE BUTTON CLASSES */
.voteActionBtn {
    width: 100%;
    padding: 0.875rem 1rem;
    border: none;
    border-radius: 16px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.voteActionBtn:not(.voteActionBtn--disabled) {
    background: linear-gradient(45deg, #ff6b6b, #ee5a52);
    color: white;
    box-shadow: 0 8px 25px rgba(255,107,107,0.4);
}

.voteActionBtn:not(.voteActionBtn--disabled):hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255,107,107,0.5);
}

.voteActionBtn--disabled {
    background: #6c757d;
    color: white;
    cursor: not-allowed;
}

.nav-btn {
    padding: 0.875rem 2rem;
    border-radius: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-secondary.nav-btn {
    background: transparent;
    color: #667eea;
    border-color: #667eea;
}

.btn-outline-secondary.nav-btn:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.btn-primary.nav-btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    box-shadow: 0 8px 25px rgba(102,126,234,0.4);
}

.btn-primary.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(102,126,234,0.5);
}

.nav-section {
    background: #f8fafc;
    border-radius: 20px;
    padding: 2rem;
    margin-top: 2rem;
}

.nav-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/*.unique-nav-arrow {*/
/*    background: rgba(255, 255, 255, 0.12) !important;*/
/*    color: #ffffff !important;*/
/*    border: 2px solid rgba(255, 255, 255, 0.35) !important;*/
/*    backdrop-filter: blur(15px);*/
/*    font-weight: 600 !important;*/
/*    padding: 0.8rem 1.8rem !important;*/
/*    border-radius: 30px !important;*/
/*    position: relative;*/
/*    overflow: hidden;*/
/*    transition: all 0.45s cubic-bezier(0.23, 1, 0.32, 1) !important;*/
/*    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);*/
/*    text-decoration: none !important;*/
/*    font-size: 0.95rem !important;*/
/*}*/

/*.unique-nav-arrow::before {*/
/*    content: '';*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: -120%;*/
/*    width: 120%;*/
/*    height: 100%;*/
/*    background: linear-gradient(90deg, */
/*        transparent 0%, */
/*        rgba(255, 255, 255, 0.25) 50%, */
/*        transparent 100%);*/
/*    transition: left 0.7s ease;*/
/*    z-index: 2;*/
/*}*/

/*.unique-nav-arrow:hover {*/
/*    background: linear-gradient(135deg, #ff6b6b 0%, #57a2fe 50%, #48dbfb 100%) !important;*/
/*    color: white !important;*/
/*    transform: translateY(-5px) scale(1.06) !important;*/
/*    box-shadow: 0 20px 45px rgba(255, 107, 107, 0.4) !important;*/
/*    border-color: rgba(255, 255, 255, 1) !important;*/
/*}*/

/*.unique-nav-arrow:hover::before {*/
/*    left: 120%;*/
/*}*/

/*.unique-nav-arrow:active {*/
/*    transform: translateY(-2px) scale(1.03) !important;*/
/*    transition: all 0.2s ease !important;*/
/*}*/



/*gradient button start code*/

  /* #categoryNavUnique - Perfect Mobile Stack */
/*#categoryNavUnique {*/
/*    padding: 30px 0;*/
/*    background: linear-gradient(135deg, #0d6efd 0%, #e95146 100%);*/
/*    position: relative;*/
/*    overflow: hidden;*/
/*}*/

#categoryNavUnique::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.category-btn-unique {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    border: 2px solid transparent;
    color: #fff;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(13,110,253,0.35);
    flex: 1;
    max-width: 280px;
}

.category-btn-unique::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #e95146, #0d6efd);
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 1;
}

.category-btn-unique:hover::before {
    opacity: 1;
}

.category-btn-unique .icon {
    font-size: 18px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.category-btn-unique .text {
    position: relative;
    z-index: 2;
}

/* Icon movement */
.prev-btn-unique:hover .icon {
    transform: translateX(-4px);
}

.next-btn-unique:hover .icon {
    transform: translateX(4px);
}

/* Hover Effects */
.category-btn-unique:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(255,140,0,0.45);
    border-color: rgba(255,255,255,0.4);
}

/* DESKTOP - Side by Side */
@media (min-width: 769px) {
    #categoryNavUnique {
        max-width: 600px;
        margin: 25px auto;
    }
    
    .category-btn-unique {
        flex: 0 1 auto;
        max-width: 200px;
    }
}

/* TABLET - Side by Side */
@media (min-width: 577px) and (max-width: 768px) {
    #categoryNavUnique {
        padding: 25px 20px;
    }
    
    .category-btn-unique {
        padding: 15px 25px;
        font-size: 14px;
    }
}

/* MOBILE - ONE BY ONE STACK */
@media (max-width: 576px) {
    #categoryNavUnique {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 25px 15px;
        gap: 15px !important;
    }
    
    .category-btn-unique {
        width: 100% !important;
        max-width: none !important;
        padding: 20px 24px !important;
        font-size: 16px !important;
        border-radius: 25px !important;
        justify-content: center !important;
        margin: 0 !important;
    }
    
    /* Previous button - icon left */
    .prev-btn-unique {
        flex-direction: row;
    }
    
    /* Next button - icon right */
    .next-btn-unique {
        flex-direction: row-reverse;
    }
}

/* Extra Small Mobile */
@media (max-width: 400px) {
    .category-btn-unique {
        padding: 5px 20px !important;
        font-size: 15px !important;
        gap: 10px !important;
    }
    
    .category-btn-unique .icon {
        font-size: 20px !important;
    }
}

/*gradient button end code*/



@media (max-width: 768px) {
    .teacher-grid {
        grid-template-columns: 1fr;
    }
}

/*vote.php End*/


/*result.php start*/
.result-wrapper{
    background:#fff;
    border-radius:18px;
    box-shadow:0 20px 40px rgba(0,0,0,0.08);
    padding:26px;
}
.result-header-sub{
    font-size:11px;
    letter-spacing:.12em;
    text-transform:uppercase;
    color:#888;
}
.result-title{
    font-size:20px;
    font-weight:600;
}
.teacher-card{
    background:#f6f7fb;
    border:1px solid #eceeff;
    border-radius:14px;
    padding:15px;
    text-align:center;
    transition:.25s;
    height:100%;
}
.teacher-card:hover{
    transform:translateY(-4px);
    box-shadow:0 10px 25px rgba(106,92,255,.15);
}
#teacher-img{
    width:100%;
    max-width:180px;
    height:240px;
    object-fit:cover;
    border-radius:10px;
    margin-bottom:10px;
}

.teacher-name{
    font-size:17px;
    font-weight:600;
    padding-top: 10px;
}
.teacher-votes{
    font-size:15px;
    color:#6a5cff;
}
.rank-badge{
    font-size:14px;
    color:#888;
    margin-bottom:16px;
}
.rank-1 .teacher-card{ border-color:#ffcf3a; }
.rank-2 .teacher-card{ border-color:#d7dde8; }
.rank-3 .teacher-card{ border-color:#f4b396; }
/*result.php start*/



 /*footer css start */

 footer {
            background: #232527c9;
            color: white;
            text-align: center;
            padding: 20px 0;
            margin-top: 50px;
        }
        
        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .footer-links_in {
            margin-bottom: 15px;
        }
        
        .footer-links_in a {
            color: #fff;
            text-decoration: none;
            margin: 0 15px;
            font-size: 14px;
        }
        
        .footer-links_in a:hover {
         color: #ffffff;
         }
        
        
        .footer-bottom {
            border-top: 1px solid #555;
            padding-top: 15px;
            font-size: 12px;
        }
        
         /*footer css end */