
@font-face {
  font-family: 'optimisticAI';
  src: url('../fonts/OptimisticAI_VF_Optimized-s.p.17al3wq52t9yg.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'optimisticAI';
  src: url('../fonts/OptimisticAI_VF_Optimized-s.p.17al3wq52t9yg.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --primary: #4361ee;
  --secondary: #3a0ca3;
  --success: #06d6a0;
  --warning: #ffd166;
  --danger: #ef476f;
  --light: #f8f9fa;
  --dark: #212529;
  --gray: #6c757d;
  --light-gray: #e9ecef;
  --sidebar-width: 250px;
  --header-height: 70px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'optimisticAI', -apple-system, BlinkMacSystemFont, 'Inter Tight', sans-serif;
  background-color: #f5f7fb;
  color: var(--dark);
  overflow-x: hidden;
}

        /* Sidebar */
        .sidebar {
            position: fixed;
            top: 0;
            left: 0;
            width: var(--sidebar-width);
            height: 100vh;
            overflow-y: auto;
            background: linear-gradient(180deg, #1E40AF 0%, #0F172A 100%);
            color: white;
            padding: 20px 0;
            z-index: 1000;
            transition: all 0.3s;
            box-shadow: 3px 0 15px rgba(0, 0, 0, 0.1);
        }

        .sidebar-header {
            padding: 0 20px 30px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            margin-bottom: 20px;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 1.5rem;
            font-weight: 700;
        }

        .logo-icon {
            background: white;
            color: var(--primary);
            width: 40px;
            height: 40px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
        }

        .nav-menu {
            list-style: none;
            padding: 0;
        }

        .nav-item {
            margin-bottom: 5px;
        }

        .nav-section {
            padding: 16px 20px 2px;
            font-size: 0.6rem;
            font-weight: 700;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            color: rgba(255,255,255,0.3);
            list-style: none;
        }

        .nav-link {
            display: flex;
            align-items: center;
            gap: 15px;
            padding: 15px 20px;
            color: rgba(255, 255, 255, 0.85);
            text-decoration: none;
            border-radius: 0;
            transition: all 0.2s;
            font-weight: 500;
        }

        .nav-link:hover, .nav-link.active {
            background-color: rgba(255, 255, 255, 0.1);
            color: white;
            border-left: 4px solid white;
        }

        .nav-icon {
            width: 20px;
            text-align: center;
            font-size: 1.1rem;
        }

        /* Main Content */
        .main-content {
            margin-left: var(--sidebar-width);
            padding: 20px;
            transition: all 0.3s;
        }

        /* Header */
        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: white;
            padding: 15px 25px;
            border-radius: 12px;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
            margin-bottom: 30px;
        }

        .header-left h1 {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 5px;
            color: var(--dark);
        }

        .header-left p {
            color: var(--gray);
            margin: 0;
            font-size: 0.9rem;
        }

        .header-right {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .search-box {
            position: relative;
            width: 300px;
        }

        .search-box input {
            width: 100%;
            padding: 10px 15px 10px 40px;
            border: 1px solid var(--light-gray);
            border-radius: 8px;
            font-size: 0.9rem;
            transition: all 0.3s;
        }

        .search-box input:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
        }

        .search-icon {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--gray);
        }

        .user-menu {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .notification {
            position: relative;
        }

        .notification-badge {
            position: absolute;
            top: -5px;
            right: -5px;
            background: var(--danger);
            color: white;
            font-size: 0.7rem;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .user-avatar {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            font-size: 1.2rem;
        }

        /* Cards */
        .stats-card {
            background: white;
            border-radius: 12px;
            padding: 25px;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
            transition: all 0.3s;
            height: 100%;
            border-left: 4px solid var(--primary);
        }

        .stats-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        }

        .stats-icon {
            width: 60px;
            height: 60px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            margin-bottom: 20px;
        }

        .stats-icon.primary {
            background: rgba(67, 97, 238, 0.1);
            color: var(--primary);
        }

        .stats-icon.success {
            background: rgba(6, 214, 160, 0.1);
            color: var(--success);
        }

        .stats-icon.warning {
            background: rgba(255, 209, 102, 0.1);
            color: var(--warning);
        }

        .stats-icon.danger {
            background: rgba(239, 71, 111, 0.1);
            color: var(--danger);
        }

        .stats-number {
            font-size: 2.2rem;
            font-weight: 700;
            margin-bottom: 5px;
            color: var(--dark);
        }

        .stats-label {
            color: var(--gray);
            font-weight: 500;
            margin-bottom: 10px;
        }

        .stats-change {
            font-size: 0.85rem;
            font-weight: 600;
        }

        .stats-change.positive {
            color: var(--success);
        }

        .stats-change.negative {
            color: var(--danger);
        }

        /* Tables */
        .data-table {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
        }

        .table-header {
            padding: 20px 25px;
            border-bottom: 1px solid var(--light-gray);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .table-header h3 {
            margin: 0;
            font-weight: 600;
            color: var(--dark);
        }

        .table-responsive {
            padding: 0;
        }

        .table {
            margin: 0;
            border-collapse: separate;
            border-spacing: 0;
        }

        .table thead th {
            background: var(--light);
            border: none;
            padding: 15px 25px;
            font-weight: 600;
            color: var(--dark);
            border-bottom: 1px solid var(--light-gray);
        }

        .table tbody td {
            padding: 15px 25px;
            vertical-align: middle;
            border-bottom: 1px solid var(--light-gray);
        }

        .table tbody tr:last-child td {
            border-bottom: none;
        }

        .status-badge {
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
        }

        .status-active {
            background: rgba(6, 214, 160, 0.1);
            color: var(--success);
        }

        .status-pending {
            background: rgba(255, 209, 102, 0.1);
            color: #e6b400;
        }

        .status-inactive {
            background: rgba(108, 117, 125, 0.1);
            color: var(--gray);
        }

        /* Charts */
        .chart-container {
            background: white;
            border-radius: 12px;
            padding: 25px;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
            height: 100%;
        }

        .chart-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
        }

        .chart-header h3 {
            margin: 0;
            font-weight: 600;
            color: var(--dark);
        }

        .chart-placeholder {
            height: 250px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--light);
            border-radius: 8px;
            color: var(--gray);
            font-weight: 500;
        }

        /* Recent Activity */
        .activity-list {
            list-style: none;
            padding: 0;
        }

        .activity-item {
            display: flex;
            padding: 20px 0;
            border-bottom: 1px solid var(--light-gray);
        }

        .activity-item:last-child {
            border-bottom: none;
        }

        .activity-icon {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            font-size: 1.1rem;
        }

        .activity-icon.user {
            background: rgba(67, 97, 238, 0.1);
            color: var(--primary);
        }

        .activity-icon.payment {
            background: rgba(6, 214, 160, 0.1);
            color: var(--success);
        }

        .activity-icon.school {
            background: rgba(255, 209, 102, 0.1);
            color: #e6b400;
        }

        .activity-content h5 {
            margin: 0 0 5px;
            font-size: 1rem;
            font-weight: 600;
        }

        .activity-content p {
            margin: 0;
            color: var(--gray);
            font-size: 0.9rem;
        }

        .activity-time {
            color: var(--gray);
            font-size: 0.85rem;
            margin-top: 5px;
        }

        /* Mobile Toggle */
        .mobile-toggle {
            display: none;
            position: fixed;
            top: 20px;
            left: 20px;
            z-index: 1100;
            background: var(--primary);
            color: white;
            border: none;
            width: 45px;
            height: 45px;
            border-radius: 10px;
            font-size: 1.2rem;
            align-items: center;
            justify-content: center;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
        }

        /* Responsive */
        @media (max-width: 1200px) {
            .search-box {
                width: 250px;
            }
        }

        @media (max-width: 992px) {
            .sidebar {
                transform: translateX(-100%);
            }
            
            .sidebar.active {
                transform: translateX(0);
            }
            
            .main-content {
                margin-left: 0;
            }
            
            .mobile-toggle {
                display: flex;
            }
            
            .header {
                flex-direction: column;
                align-items: flex-start;
                gap: 20px;
            }
            
            .header-right {
                width: 100%;
                justify-content: space-between;
            }
            
            .search-box {
                width: 100%;
                max-width: 400px;
            }
        }

        @media (max-width: 768px) {
            .stats-number {
                font-size: 1.8rem;
            }
            
            .table-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 15px;
            }
            
            .user-menu {
                gap: 10px;
            }
            
            .header-right {
                flex-wrap: wrap;
            }
        }

@media (max-width: 576px) {
            .main-content {
                padding: 15px;
            }
            
            .stats-card, .chart-container {
                padding: 20px;
            }
            
            .table thead th, .table tbody td {
                padding: 12px 15px;
            }
        }

        /* STEM Showcase */
        .showcase-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .showcase-item {
            background: var(--white);
            border-radius: 16px;
            padding: 2rem;
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
            border: 1px solid rgba(0,0,0,0.05);
            transition: all 0.4s;
            position: relative;
            overflow: hidden;
        }

        .showcase-item:hover {
            transform: translateY(-10px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        }

        .showcase-icon {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            margin-bottom: 1.5rem;
            background: linear-gradient(135deg, var(--primary) 0%, var(--success) 100%);
            color: white;
            animation: pulse 2s infinite;
        }

        .showcase-item:nth-child(2) .showcase-icon {
            background: linear-gradient(135deg, var(--success) 0%, #00B877 100%);
        }

        .showcase-item:nth-child(3) .showcase-icon {
            background: linear-gradient(135deg, #7B2CBF 0%, #9D4EDD 100%);
        }

        .showcase-item:nth-child(4) .showcase-icon {
            background: linear-gradient(135deg, var(--warning) 0%, #FFA726 100%);
            color: var(--dark);
        }

        .showcase-title {
            font-size: 1.25rem;
            font-weight: 700;
            margin-bottom: 1rem;
        }

        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.05); }
        }

        /* Monthly Curriculum Timeline */
        .curriculum-timeline {
            margin-top: 4rem;
        }

        .month-card {
            background: var(--white);
            border-radius: 16px;
            padding: 2rem;
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
            border-left: 4px solid var(--primary);
            margin-bottom: 1.5rem;
            transition: all 0.3s;
        }

        .month-card:hover {
            transform: translateX(10px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        }

        .month-card.eco {
            border-left-color: var(--success);
        }

        .month-card.wellness {
            border-left-color: #7B2CBF;
        }

        .month-badge {
            display: inline-block;
            padding: 0.5rem 1.5rem;
            background: rgba(67, 97, 238, 0.1);
            color: var(--primary);
            border-radius: 25px;
            font-weight: 700;
            margin-bottom: 1rem;
        }

        .experience-list {
            list-style: none;
            padding: 0;
            margin-top: 1rem;
        }

        .experience-list li {
            padding: 0.5rem 0;
            padding-left: 1.5rem;
            position: relative;
        }

        .experience-list li::before {
            content: '';
            position: absolute;
            left: 0;
            top: 1rem;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--success);
        }

        /* Innovation Map */
        .map-container {
            position: relative;
            background: var(--white);
            border-radius: 16px;
            padding: 2rem;
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
            margin-top: 3rem;
            min-height: 400px;
            overflow: hidden;
        }

        .map-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at center, rgba(67, 97, 238, 0.05) 0%, transparent 50%) repeat;
            background-size: 200px 200px;
            z-index: 0;
        }

        .map-content {
            position: relative;
            z-index: 1;
        }

        .map-point {
            position: absolute;
            width: 40px;
            height: 40px;
            background: var(--primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.2rem;
            cursor: pointer;
            transition: all 0.3s;
            animation: bounce 3s infinite;
        }

        .map-point:nth-child(2) {
            top: 20%;
            left: 30%;
            background: var(--success);
            animation-delay: 0.5s;
        }

        .map-point:nth-child(3) {
            top: 40%;
            left: 60%;
            background: #7B2CBF;
            animation-delay: 1s;
        }

        .map-point:nth-child(4) {
            top: 65%;
            left: 45%;
            background: var(--warning);
            color: var(--dark);
            animation-delay: 1.5s;
        }

        .map-point:hover {
            transform: scale(1.3);
            z-index: 10;
        }

        @keyframes bounce {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.1); }
        }

        .map-legend {
            display: flex;
            flex-wrap: wrap;
            gap: 1.5rem;
            margin-top: 150px;
        }

        .legend-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .legend-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
        }

        .legend-dot.agritech { background: var(--primary); }
        .legend-dot.tourism { background: var(--success); }
        .legend-dot.culture { background: #7B2CBF; }
        .legend-dot.green { background: var(--warning); }

        /* Testimonials */
        .testimonial-card {
            background: var(--white);
            border-radius: 16px;
            padding: 2.5rem;
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
            border: 1px solid rgba(0,0,0,0.05);
            position: relative;
            margin: 1rem;
            transition: all 0.3s;
        }

        .testimonial-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        }

        .testimonial-quote {
            font-size: 1.1rem;
            line-height: 1.7;
            margin-bottom: 1.5rem;
            position: relative;
            padding-left: 2rem;
        }

        .testimonial-quote::before {
            content: """;
            position: absolute;
            left: -10px;
            top: -20px;
            font-size: 4rem;
            color: rgba(67, 97, 238, 0.1);
        }

        .testimonial-author {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .author-avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary) 0%, var(--success) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 700;
            font-size: 1.2rem;
        }

        .author-info h5 {
            margin: 0;
            font-weight: 700;
        }

        .author-info p {
            margin: 0;
            color: var(--gray);
        }

        .project-gallery {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1rem;
            margin-top: 3rem;
        }

        .project-item {
            border-radius: 12px;
            overflow: hidden;
            height: 150px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.08);
            transition: all 0.3s;
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
        }

        .project-item:hover {
            transform: scale(1.05);
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        }

        .project-overlay {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 100%;
            color: white;
            text-align: center;
            padding: 1rem;
        }
            
            .header {
                padding: 15px;
            }
            
            .stats-card, .chart-container {
                padding: 20px;
            }
            
            .table thead th, .table tbody td {
                padding: 12px 15px;
            }
        }