:root {
    /* Brand Colors - Sophisticated Indigo & Emerald */
    --primary-green: #4f46e5;         /* Deep Indigo */
    --primary-green-hover: #4338ca;   /* Darker Indigo */
    --white: #ffffff;
    
    /* Neutral Palette - Clean Slate */
    --text-dark: #0f172a;             /* Deep Navy Text */
    --text-gray: #64748b;             /* Soft Slate for secondary text */
    --border-color: #e2e8f0;          /* Subtle Border */
    
    /* Semantic Colors */
    --error-color: #ef4444;           /* Vibrant Red */
    --success-color: #10b981;         /* Crisp Emerald */
    
    /* Elevation - Layered Shadows for "Gorgeous" depth */
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px 0 rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.03);
    
    /* Premium Accents */
    --premium-gold: #f59e0b;          /* Amber Gold */
    --premium-purple: #8b5cf6;        /* Royal Violet */
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    --gradient-premium: linear-gradient(135deg, #f59e0b, #d946ef);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
}



.logo {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 8px;
}



.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-green-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.btn-block {
    width: 100%;
}

.link-primary {
    color: var(--primary-green);
    text-decoration: none;
    font-size: 14px;
}

.link-primary:hover {
    text-decoration: underline;
}

.text-center {
    text-align: center;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    padding: 0 20px;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.header-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-green);
    text-decoration: none;
}

.search-bar {
    flex: 1;
    max-width: 600px;
    margin: 0 40px;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 10px 40px 10px 16px;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    font-size: 14px;
    background-color: var(--white);
}



.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background-color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.icon-btn:hover {
    background-color: rgba(79, 70, 229, 0.06);
}

.icon-btn svg {
    width: 20px;
    height: 20px;
    color: var(--text-dark);
}


.main-layout {
    display: flex;
    margin-top: 60px;
    min-height: calc(100vh - 60px);
}

.content {
    flex: 1;
    margin-left: 240px;
    padding: 20px;
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
}

.grid {
    display: grid;
    gap: 20px;
}


.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}




.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
    padding: 8px 0;
    z-index: 1000;
}

.bottom-nav-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 12px;
    transition: all 0.2s;
}

.bottom-nav-item.active,
.bottom-nav-item:hover {
    color: var(--primary-green);
}

.bottom-nav-item svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        left: -280px;
        top: 0;
        width: 280px;
        height: 100vh;
        background: white;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
        transition: left 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
    }
    
    .sidebar.active {
        left: 0;
    }
    
    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 999;
    }
    
    .sidebar-overlay.active {
        display: block;
    }
    
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: none;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        transition: background-color 0.2s;
    }
    
    .mobile-menu-toggle:hover {
        background-color: rgba(79, 70, 229, 0.06);
    }
    
    .mobile-menu-toggle svg {
        width: 24px;
        height: 24px;
        color: var(--text-dark);
    }
    
    .content {
        margin-left: 0;
        padding-bottom: 80px;
    }
    
    .bottom-nav {
        display: block;
    }
    
    .header-content {
        padding: 0 12px;
        height: 60px;
    }
    
    .search-bar {
        margin: 0 12px;
        flex: 1;
        max-width: 200px;
        display: flex;
    }
    
    .search-bar input {
        font-size: 14px;
        padding: 8px 12px;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .auth-card {
        padding: 30px 20px;
        margin: 20px;
    }
    
    /* Hero Section Mobile */
    .hero-section {
        padding: 40px 0;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 16px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 24px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    /* Section Headers Mobile */
    .section-header {
        text-align: center;
        margin-bottom: 24px;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    /* Cards Mobile */
    .card {
        margin-bottom: 16px;
        border-radius: 12px;
    }
    
    .video-card,
    .course-card,
    .test-card,
    .session-card,
    .mentorship-card,
    .pdf-document-card {
        margin-bottom: 16px;
    }
    
    .video-thumbnail,
    .course-thumbnail,
    .session-thumbnail {
        border-radius: 12px 12px 0 0;
    }
    
    /* Buttons Mobile */
    .btn {
        padding: 12px 20px;
        font-size: 14px;
        border-radius: 8px;
        width: 100%;
        margin-bottom: 8px;
    }
    
    .btn-secondary {
        background-color: #f3f4f6;
        color: var(--text-dark);
    }
    
    /* Modal Mobile */
    .modal-content {
        margin: 20px;
        border-radius: 12px;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .payment-modal-content {
        margin: 20px;
        border-radius: 12px;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    /* Payment Gateway Mobile */
    .gateway-option {
        padding: 16px;
        margin-bottom: 12px;
        border-radius: 8px;
    }
    
    .gateway-info h4 {
        font-size: 16px;
        margin-bottom: 4px;
    }
    
    .gateway-info p {
        font-size: 14px;
    }
    
    /* Forms Mobile */
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-group label {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 12px;
        border-radius: 8px;
		
    }
    
    /* Tables Mobile */
    table {
        font-size: 14px;
    }
    
    th, td {
        padding: 8px;
    }
    
    /* Stats Mobile */
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
    
    .stat-item {
        padding: 16px;
        text-align: center;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    /* Navigation Mobile */
    .bottom-nav-items {
        display: flex;
        justify-content: space-around;
        padding: 8px 0;
    }
    
    .bottom-nav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 8px;
        text-decoration: none;
        color: var(--text-gray);
        transition: color 0.2s;
        font-size: 12px;
    }
    
    .bottom-nav-item.active {
        color: var(--primary-green);
    }
    
    .bottom-nav-item svg {
        width: 20px;
        height: 20px;
        margin-bottom: 4px;
    }
    
    /* Mentors Section Mobile */
    .achievers-grid,
    .videos-grid,
    .test-series-grid,
    .live-sessions-grid,
    .mentorship-grid,
    .pdf-documents-grid,
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .achiever-card,
    .video-card,
    .test-card,
    .session-card,
    .mentorship-card,
    .pdf-document-card,
    .post-card {
        width: 100%;
    }
    
    /* Video Player Mobile */
    .video-player iframe {
        height: 200px;
    }
    
    /* Payment Modal Mobile */
    .payment-amount h2 {
        font-size: 1.8rem;
    }
    
    .payment-gateways {
        max-height: 60vh;
        overflow-y: auto;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 0 8px;
        height: 56px;
    }
    
    .header-logo {
        font-size: 18px;
    }
    
    .search-bar {
        margin: 0 8px;
        max-width: 150px;
        display: none; /* Hide search on very small screens */
    }
    
    .container {
        padding: 0 12px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .section-subtitle {
        font-size: 0.85rem;
    }
    
    .card {
        padding: 16px;
        margin-bottom: 12px;
    }
    
    .btn {
        padding: 14px 16px;
        font-size: 14px;
    }
    
    .modal-content {
        margin: 12px;
        border-radius: 8px;
    }
    
    .payment-modal-content {
        margin: 12px;
        border-radius: 8px;
    }
    
    .auth-card {
        padding: 24px 16px;
        margin: 12px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .stat-item {
        padding: 12px;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    /* Video Cards Small Mobile */
    .video-info h3,
    .course-info h3,
    .test-info h3 {
        font-size: 14px;
        line-height: 1.3;
    }
    
    .video-meta,
    .course-meta {
        font-size: 12px;
    }
    
    .price {
        font-size: 14px;
    }
    
    /* Payment Gateway Small Mobile */
    .gateway-option {
        padding: 12px;
    }
    
    .gateway-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .gateway-info h4 {
        font-size: 14px;
    }
    
    .gateway-info p {
        font-size: 12px;
    }
    
    .gateway-arrow {
        font-size: 16px;
    }
    
    /* Bottom Navigation Small Mobile */
    .bottom-nav-item {
        padding: 6px;
        font-size: 10px;
    }
    
    .bottom-nav-item svg {
        width: 18px;
        height: 18px;
    }
    
    /* Tables Small Mobile */
    .data-table {
        font-size: 12px;
    }
    
    .data-table th,
    .data-table td {
        padding: 6px;
    }
    
    /* Mentor Cards Small Mobile */
    .achiever-info h3,
    .mentor-info h3 {
        font-size: 14px;
    }
    
    .achiever-specialization,
    .mentor-specialization {
        font-size: 12px;
    }
    
    .achiever-bio,
    .mentor-bio {
        font-size: 12px;
    }
    
    .achiever-stats span,
    .mentor-stats span {
        font-size: 11px;
    }
}

.profile-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 20px;
}

.profile-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--primary-green);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
}

.profile-info h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.profile-info p {
    font-size: 14px;
    color: var(--text-gray);
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mentor-card {
    display: flex;
    gap: 16px;
    padding: 16px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.2s;
    cursor: pointer;
}

.mentor-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.mentor-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-green);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    flex-shrink: 0;
}

.mentor-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.mentor-info p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 8px;
}

.mentor-stats {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--text-gray);
}

.table {
    width: 100%;
    border-collapse: collapse;
	min-width: 400px;
}

.table th,
.table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.table th {
    font-weight: 600;
    color: var(--text-dark);
    background-color: #f9fafb;
}

.table td {
    color: var(--text-gray);
}

.table tr:hover {
    background-color: rgba(79, 70, 229, 0.06);
}

.stats-grid {
	
	display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;

}
.stats-grid img{
    width:100%;
    height:auto;



    object-position:center;
}
.stat-card {
    padding: 20px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow);
	
}
.image-box{
    width:100%;
    height:220px;
    overflow:hidden;
}

.image-box img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.stat-label {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 8px;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;

}

.stat-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary-green);
	stroke-width: 2;     /* Makes the icon look crisp */
    display: block;      /* Removes inline whitespace */
}

/* ========================================
   RESPONSIVE DESIGN - MEDIA QUERIES
   ======================================== */

/* Tablet and below (max-width: 1024px) */


/* Mobile and below (max-width: 768px) */
@media (max-width: 768px) {
    .header {
        padding: 12px 16px;
    }
    
    .header-left {
        gap: 12px;
    }
    
    .logo {
        font-size: 18px;
    }
    
    .search-bar {
        margin: 0 8px;
        max-width: 150px;
        flex: 1;
    }
    
    .sidebar {
        position: fixed;
        left: -240px;
        transition: left 0.3s ease;
        z-index: 1000;
    }
    
    .sidebar.active {
        left: 0;
    }
    
    .content {
        margin-left: 0;

    }

    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .card {
        padding: 16px;
        margin-bottom: 16px;
    }
    
    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .table {
        font-size: 12px;
    }
    
    .table th,
    .table td {
        padding: 8px;
    }
    
    .form-group {
        margin-bottom: 16px;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .btn-block {
        width: 100%;
    }
    
    .mentor-card {
        flex-direction: column;
        text-align: center;
    }
    
    .mentor-avatar {
        margin: 0 auto;
    }
    
    .mentor-stats {
        justify-content: center;
    }
    
    .stat-value {
        font-size: 24px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    .video-feed {
        grid-template-columns: 1fr;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .profile-avatar {
        margin: 0 auto;
    }
}

/* Small mobile (max-width: 480px) */
@media (max-width: 480px) {
    .header {
        padding: 10px 12px;
    }
    
    .logo {
        font-size: 16px;
    }
    
    .header-right {
        gap: 8px;
    }
    
    .user-avatar {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .content {
        padding: 12px;
    }
    
    .card {
        padding: 12px;
        border-radius: 8px;
    }
    
    .card-title {
        font-size: 16px;
    }
    
    .stat-value {
        font-size: 20px;
    }
    
    .stat-label {
        font-size: 11px;
    }
    
    .table {
        font-size: 11px;
    }
    
    .table th,
    .table td {
        padding: 6px;
    }
    
    .form-group label {
        font-size: 13px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 14px;
        padding: 10px;
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    h1 {
        font-size: 22px;
    }
    
    h2 {
        font-size: 18px;
    }
    
    h3 {
        font-size: 16px;
    }
}

/* Landscape mobile optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .sidebar {
        width: 200px;
        left: -200px;
    }
    
    .content {
        padding: 12px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Print styles */
@media print {
    .header,
    .sidebar,
    .btn,
    .footer {
        display: none;
    }
    
    .content {
        margin-left: 0;
        padding: 0;
    }
    
    .card {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* Message Badge */
.message-badge {
    background-color: #ef4444;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: bold;
    margin-left: auto;
    min-width: 18px;
    text-align: center;
    display: inline-block;
}

/* ===== PREMIUM HOMEPAGE STYLES ===== */

/* Hero Section */
.hero-section {
    background: var(--gradient-primary);
    border-radius: 16px;
    padding: 60px 40px;
    margin-bottom: 40px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.section-title svg {
    width: 32px;
    height: 32px;
    color: var(--primary-green);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* 1. Real-Life Achievers Section */
.achievers-section {
    margin-bottom: 60px;
}

.achievers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.achiever-card {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.achiever-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-green);
}

.achiever-image {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.achiever-image img,
.achiever-image .avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 2rem;
    font-weight: 700;
}

.achiever-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 28px;
    height: 28px;
    background: var(--premium-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.4);
}

.achiever-badge svg {
    width: 16px;
    height: 16px;
}

.achiever-info {
    text-align: center;
}

.achiever-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.achiever-specialization {
    color: var(--primary-green);
    font-weight: 500;
    margin-bottom: 12px;
}

.achiever-bio {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 16px;
    line-height: 1.5;
}

.achiever-stats {
    display: flex;
    justify-content: center;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-gray);
}

.achiever-stats span {
    padding: 4px 8px;
    background: #f3f4f6;
    border-radius: 8px;
}

.achiever-stats strong {
    color: var(--text-dark);
}

/* 2. Masterclass Videos Section */
.masterclass-section {
    margin-bottom: 60px;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.video-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.video-card.premium {
    border-color: var(--premium-gold);
}

.video-thumbnail-wrapper {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    max-height: 135px;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail {
    transform: scale(1.05);
}

.video-info {
    padding: 12px;
}

.video-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.3;
    display: -webkit-box;
    display: box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    box-orient: vertical;
    overflow: hidden;
}

.video-mentor {
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: 8px;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.price {
    font-weight: 600;
    color: var(--primary-green);
}

.price.free {
    color: var(--text-gray);
}

.views {
    color: var(--text-gray);
}

.video-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.premium-badge {
    background: var(--gradient-premium);
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 4px;
}

.premium-badge svg {
    width: 12px;
    height: 12px;
}

.video-duration {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.8);
    color: var(--white);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.video-info {
    padding: 16px;
}

.video-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-mentor {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.price {
    font-weight: 700;
    font-size: 0.9rem;
}

.price.free {
    color: var(--success-color);
}

.views {
    color: var(--text-gray);
    font-size: 0.85rem;
}

/* 3. Test Series Section */
.test-series-section {
    margin-bottom: 60px;
}

.test-series-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.test-card {
    background: var(--white);
    border-radius: 12px;
    padding: 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
}

.test-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-green);
}

.test-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.test-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.test-icon svg {
    width: 24px;
    height: 24px;
}

.test-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.test-info p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.course-name {
    color: var(--primary-green) !important;
    font-weight: 500 !important;
    margin-top: 4px !important;
}

.test-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.test-stats {
    display: flex;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--text-gray);
}

.test-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.attempts-info {
    font-size: 0.75rem;
    color: var(--text-gray);
}

/* 4. Handwritten Notes Section */
.notes-section {
    margin-bottom: 60px;
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.note-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
}

.note-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.note-preview {
    position: relative;
    aspect-ratio: 3/4;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.note-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.note-placeholder {
    color: var(--text-gray);
}

.note-placeholder svg {
    width: 64px;
    height: 64px;
}

.note-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--error-color);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.note-info {
    padding: 16px;
}

.note-info h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.note-info p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.note-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: var(--text-gray);
}

.note-price {
    text-align: right;
}

/* 5. Live Sessions Section */
.live-sessions-section {
    margin-bottom: 60px;
}

.live-sessions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.session-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
}

.session-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.session-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.session-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.live-indicator {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--error-color);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    animation: pulse 2s infinite;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--white);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.upcoming-indicator {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--primary-green);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.upcoming-indicator svg {
    width: 12px;
    height: 12px;
}

.session-info {
    padding: 16px;
}

.session-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.session-info p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.session-details {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: var(--text-gray);
}

.session-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.registered {
    background: var(--success-color);
    color: var(--white);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* 6. One-to-One Mentorship Section */
.mentorship-section {
    margin-bottom: 60px;
}

.mentorship-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

.mentorship-card {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.mentorship-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--premium-gold);
}

.mentor-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.mentor-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.mentor-avatar img,
.mentor-avatar .avatar-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
}

.mentor-details h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.mentor-details p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.completed-sessions {
    color: var(--success-color) !important;
    font-weight: 500 !important;
    font-size: 0.85rem !important;
}

.package-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.package-info p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 16px;
    line-height: 1.5;
}

.package-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.duration {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.mentorship-action {
    text-align: center;
}

/* 7. Posts by Mentors Section */
.posts-section {
    margin-bottom: 60px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.post-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
}

.post-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.post-header {
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.author-avatar img,
.author-avatar .avatar-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
}

.author-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2px;
    color: var(--text-dark);
}

.post-date {
    font-size: 0.8rem;
    color: var(--text-gray);
}

.type-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.type-badge.article {
    background: #e3f2fd;
    color: #1976d2;
}

.type-badge.update {
    background: #f3e5f5;
    color: #7b1fa2;
}

.type-badge.announcement {
    background: #fff3e0;
    color: #f57c00;
}

.post-content {
    padding: 0 16px 16px;
}

.post-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
    line-height: 1.4;
}

.post-content p {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

.post-image {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-footer {
    padding: 16px;
    border-top: 1px solid var(--border-color);
}

.post-stats {
    display: flex;
    gap: 20px;
}

.post-stats span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-gray);
    font-size: 0.85rem;
}

.post-stats svg {
    width: 16px;
    height: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .section-title {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 8px;
    }
    
    .achievers-grid,
    .videos-grid,
    .test-series-grid,
    .notes-grid,
    .live-sessions-grid,
    .mentorship-grid,
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .test-stats {
        flex-direction: column;
        gap: 4px;
    }
    
    .package-details {
        flex-direction: column;
        gap: 8px;
        text-align: left;
    }
}

/* ===== MENTOR PROFILE PAGE STYLES ===== */

/* Mentor Hero Section */
.mentor-hero-section {
    background: var(--gradient-primary);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.mentor-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.mentor-header-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
}

.mentor-profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.mentor-avatar-large {
    position: relative;
    width: 150px;
    height: 150px;
    margin-bottom: 24px;
}

.mentor-avatar-large img,
.mentor-avatar-large .avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 3rem;
    font-weight: 700;
    border: 4px solid rgba(255, 255, 255, 0.3);
}

.mentor-badge-large {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 40px;
    height: 40px;
    background: var(--premium-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
    border: 3px solid var(--white);
}

.mentor-badge-large svg {
    width: 20px;
    height: 20px;
}

.mentor-info {
    max-width: 400px;
}

.mentor-name {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.mentor-specialization {
    font-size: 1.2rem;
    margin-bottom: 8px;
    opacity: 0.9;
}

.mentor-email {
    font-size: 1rem;
    margin-bottom: 20px;
    opacity: 0.8;
}

.mentor-bio {
    background: rgba(255, 255, 255, 0.1);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}



.stat-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.stat-card .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-card .stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mentor Journey Section */
.mentor-journey-section {
    margin-top: 40px;
    text-align: center;
}

.journey-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.journey-video {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    aspect-ratio: 16/9;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
}

.journey-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-journey-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--primary-green);
}

.play-journey-btn:hover {
    background: var(--white);
    transform: translate(-50%, -50%) scale(1.1);
}

.play-journey-btn svg {
    width: 32px;
    height: 32px;
    margin-left: 4px;
}

/* Mentor Description Section */
.mentor-description-section {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.mentor-description-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.description-content {
    line-height: 1.8;
    color: var(--text-gray);
}

.description-content p {
    margin-bottom: 16px;
}

/* Mentorship Packages Section */
.mentorship-packages-section {
    margin-bottom: 60px;
}

.mentorship-card {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.mentorship-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--premium-gold);
}

.package-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 16px;
}

.package-header h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.package-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
}

.package-details p {
    color: var(--text-gray);
    margin-bottom: 16px;
    line-height: 1.5;
}

.package-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.package-meta .duration {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.package-meta .completed {
    color: var(--success-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.package-action {
    text-align: center;
}

/* Courses Grid for Profile */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.course-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
}








@media (max-width: 768px) {
    
    
    .stat-card {
        padding: 16px 12px;
    }
    
    .stat-number {
        font-size: 1.4rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    
    .section-title {
        font-size: 1.4rem;
        margin-bottom: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
    
   
   
}

@media (max-width: 480px) {
    .stat-card {
        padding: 12px 8px;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
   
    .section-title {
        font-size: 1.2rem;
    }

}

/* Landscape orientation adjustments */
@media (max-width: 896px) and (orientation: landscape) {
       
    .stat-card {
        padding: 10px 8px;
    }
}



/* Touch-friendly improvements for mobile */
@media (hover: none) and (pointer: coarse) {
    
    
    .btn {
        min-height: 44px;
        min-width: 44px;
        transition: transform 0.1s ease;
    }
    
    .btn:active {
        transform: scale(0.95);
    }
    
    .stat-card {
        transition: transform 0.2s ease;
    }
    
    .stat-card:active {
        transform: scale(0.95);
    }
}

/* Smooth scrolling for better mobile experience */
html {
    scroll-behavior: smooth;
}



/* High contrast mode support */
@media (prefers-contrast: high) {
    .mentor-hero-section {
        background: #000;
        color: #fff;
    }
    
    .btn {
        border: 2px solid currentColor;
    }
    
    .card {
        border: 2px solid var(--text-dark);
    }
}


