    :root {
        --primary-color: #2563eb;
        --primary-dark: #1d4ed8;
        --secondary-color: #64748b;
        --success-color: #10b981;
        --warning-color: #f59e0b;
        --danger-color: #ef4444;
        --light-color: #f8fafc;
        --dark-color: #1e293b;
        --gray-color: #e2e8f0;
        --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        --radius: 8px;
        --transition: all 0.3s ease;
    }

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        font-family: 'Inter', sans-serif;
        line-height: 1.6;
        color: var(--dark-color);
        background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
        min-height: 100vh;
    }

    /* Navigation */
    .navbar {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--gray-color);
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .nav-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 1rem 2rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-logo {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--primary-color);
        text-decoration: none;
    }

    .nav-menu {
        display: flex;
        gap: 2rem;
        align-items: center;
    }

    .nav-link {
        color: var(--dark-color);
        text-decoration: none;
        font-weight: 500;
        transition: var(--transition);
        padding: 0.5rem 1rem;
        border-radius: var(--radius);
    }

    .nav-link:hover {
        color: var(--primary-color);
        background: var(--gray-color);
    }

    .nav-link.active {
        color: var(--primary-color);
        background: rgba(37, 99, 235, 0.1);
    }

    .login-btn, .register-btn {
        padding: 0.5rem 1.5rem;
        border-radius: var(--radius);
        font-weight: 600;
    }

    .login-btn {
        border: 2px solid var(--primary-color);
        color: var(--primary-color);
    }

    .register-btn {
        background: var(--primary-color);
        color: white;
    }

    .dashboard-btn, .logout-btn {
        padding: 0.5rem 1rem;
        border-radius: var(--radius);
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .dashboard-btn {
        background: var(--success-color);
        color: white;
    }

    .logout-btn {
        background: var(--danger-color);
        color: white;
    }

    .nav-toggle {
        display: none;
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--dark-color);
    }

    /* Hero Section */
    .hero {
        max-width: 1200px;
        margin: 2rem auto;
        padding: 4rem 2rem;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center;
    }

    .hero-content {
        padding-right: 2rem;
    }

    .hero-title {
        font-size: 3.5rem;
        font-weight: 800;
        line-height: 1.2;
        margin-bottom: 1rem;
        background: linear-gradient(135deg, var(--primary-color), #7c3aed);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .hero-subtitle {
        font-size: 1.5rem;
        color: var(--secondary-color);
        margin-bottom: 1.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
        color: var(--secondary-color);
        margin-bottom: 2rem;
    }

    .hero-buttons {
        display: flex;
        gap: 1rem;
    }

    .btn {
        padding: 0.75rem 2rem;
        border-radius: var(--radius);
        font-weight: 600;
        text-decoration: none;
        transition: var(--transition);
        border: none;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
    }

    .btn-primary {
        background: var(--primary-color);
        color: white;
    }

    .btn-primary:hover {
        background: var(--primary-dark);
        transform: translateY(-2px);
        box-shadow: var(--shadow);
    }

    .btn-secondary {
        background: white;
        color: var(--primary-color);
        border: 2px solid var(--primary-color);
    }

    .btn-secondary:hover {
        background: var(--primary-color);
        color: white;
    }

    .code-snippet {
        background: #1e1e1e;
        border-radius: var(--radius);
        padding: 1.5rem;
        box-shadow: var(--shadow);
        overflow: hidden;
    }

    .code-snippet pre {
        margin: 0;
        color: #d4d4d4;
        font-family: 'Courier New', monospace;
        font-size: 0.9rem;
        line-height: 1.5;
    }

    /* Sections */
    section {
        max-width: 1200px;
        margin: 4rem auto;
        padding: 0 2rem;
    }

    .section-header {
        text-align: center;
        margin-bottom: 3rem;
    }

    .section-header h2 {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 1rem;
        color: var(--dark-color);
    }

    .section-header p {
        color: var(--secondary-color);
        font-size: 1.1rem;
    }

    /* Services */
    .services-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
        margin-top: 2rem;
    }

    .service-card {
        background: white;
        padding: 2rem;
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        transition: var(--transition);
        text-align: center;
    }

    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    }

    .service-icon {
        width: 60px;
        height: 60px;
        background: var(--primary-color);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1.5rem;
        color: white;
        font-size: 1.5rem;
    }

    .service-card h3 {
        margin-bottom: 1rem;
        color: var(--dark-color);
    }

    /* Projects */
    .projects-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
        gap: 2rem;
    }

    .project-card {
        background: white;
        border-radius: var(--radius);
        overflow: hidden;
        box-shadow: var(--shadow);
        transition: var(--transition);
    }

    .project-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    }

    .project-image {
        height: 200px;
        overflow: hidden;
    }

    .project-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: var(--transition);
    }

    .project-card:hover .project-image img {
        transform: scale(1.05);
    }

    .project-content {
        padding: 1.5rem;
    }

    .project-category {
        display: inline-block;
        background: var(--gray-color);
        color: var(--secondary-color);
        padding: 0.25rem 0.75rem;
        border-radius: 20px;
        font-size: 0.875rem;
        margin-bottom: 0.75rem;
    }

    .project-content h3 {
        margin-bottom: 0.5rem;
        font-size: 1.25rem;
    }

    .project-tech {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin: 1rem 0;
    }

    .tech-tag {
        background: #dbeafe;
        color: var(--primary-color);
        padding: 0.25rem 0.75rem;
        border-radius: 20px;
        font-size: 0.875rem;
        font-weight: 500;
    }

    .project-links {
        display: flex;
        gap: 1rem;
        margin-top: 1rem;
    }

    .btn-link {
        color: var(--primary-color);
        text-decoration: none;
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        transition: var(--transition);
    }

    .btn-link:hover {
        color: var(--primary-dark);
    }

    /* About */
    .about-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center;
    }

    .about-text h2 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    .about-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        margin-top: 2rem;
    }

    .stat {
        text-align: center;
    }

    .stat-number {
        display: block;
        font-size: 2rem;
        font-weight: 700;
        color: var(--primary-color);
        margin-bottom: 0.5rem;
    }

    .code-window {
        background: white;
        border-radius: var(--radius);
        overflow: hidden;
        box-shadow: var(--shadow);
    }

    .window-header {
        background: #2d2d2d;
        padding: 0.75rem 1rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .window-controls {
        display: flex;
        gap: 0.5rem;
    }

    .control {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        display: inline-block;
    }

    .control.close { background: #ff5f56; }
    .control.minimize { background: #ffbd2e; }
    .control.maximize { background: #27ca3f; }

    .window-title {
        color: #b4b4b4;
        font-size: 0.875rem;
        font-family: 'Courier New', monospace;
    }

    .window-content {
        padding: 1.5rem;
        background: #1e1e1e;
    }

    .window-content pre {
        margin: 0;
        color: #d4d4d4;
        font-family: 'Courier New', monospace;
        font-size: 0.875rem;
        line-height: 1.6;
    }

    /* Contact */
    .contact-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        margin-top: 3rem;
    }

    .contact-form {
        background: white;
        padding: 2rem;
        border-radius: var(--radius);
        box-shadow: var(--shadow);
    }

    .form-group {
        margin-bottom: 1.5rem;
    }

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 500;
        color: var(--dark-color);
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        width: 100%;
        padding: 0.75rem 1rem;
        border: 2px solid var(--gray-color);
        border-radius: var(--radius);
        font-family: 'Inter', sans-serif;
        font-size: 1rem;
        transition: var(--transition);
    }

    .form-group input:focus,
    .form-group textarea:focus,
    .form-group select:focus {
        outline: none;
        border-color: var(--primary-color);
    }

    .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .contact-info {
        background: white;
        padding: 2rem;
        border-radius: var(--radius);
        box-shadow: var(--shadow);
    }

    .info-item {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin-bottom: 1.5rem;
        color: var(--secondary-color);
    }

    .info-item i {
        color: var(--primary-color);
        font-size: 1.25rem;
    }

    .social-links {
        display: flex;
        gap: 1rem;
        margin-top: 2rem;
    }

    .social-link {
        width: 40px;
        height: 40px;
        background: var(--gray-color);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--dark-color);
        text-decoration: none;
        transition: var(--transition);
    }

    .social-link:hover {
        background: var(--primary-color);
        color: white;
        transform: translateY(-3px);
    }

    /* Dashboard */
    .dashboard {
        max-width: 1200px;
        margin: 2rem auto;
        padding: 0 2rem;
    }

    .dashboard-header {
        margin-bottom: 2rem;
    }

    .dashboard-header h1 {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }

    .stats-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
        margin-bottom: 3rem;
    }

    .stat-card {
        background: white;
        padding: 1.5rem;
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .stat-icon {
        width: 60px;
        height: 60px;
        border-radius: var(--radius);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        color: white;
    }

    .stat-icon.primary { background: var(--primary-color); }
    .stat-icon.success { background: var(--success-color); }
    .stat-icon.warning { background: var(--warning-color); }
    .stat-icon.info { background: #3b82f6; }
    .stat-icon.danger { background: var(--danger-color); }

    .stat-content h3 {
        font-size: 2rem;
        font-weight: 700;
        margin-bottom: 0.25rem;
    }

    .stat-content p {
        color: var(--secondary-color);
    }

    /* Dashboard Tabs */
    .tabs-header {
        display: flex;
        gap: 0.5rem;
        margin-bottom: 2rem;
        border-bottom: 2px solid var(--gray-color);
        padding-bottom: 0.5rem;
    }

    .tab-btn {
        padding: 0.75rem 1.5rem;
        background: none;
        border: none;
        border-radius: var(--radius) var(--radius) 0 0;
        font-weight: 600;
        color: var(--secondary-color);
        cursor: pointer;
        transition: var(--transition);
    }

    .tab-btn:hover {
        color: var(--primary-color);
        background: rgba(37, 99, 235, 0.1);
    }

    .tab-btn.active {
        color: var(--primary-color);
        background: rgba(37, 99, 235, 0.1);
        border-bottom: 3px solid var(--primary-color);
    }

    .tab-content {
        display: none;
    }

    .tab-content.active {
        display: block;
    }

    .tab-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 2rem;
    }

    .tab-header h3 {
        font-size: 1.5rem;
    }

    /* Tables */
    .data-table {
        width: 100%;
        border-collapse: collapse;
        background: white;
        border-radius: var(--radius);
        overflow: hidden;
        box-shadow: var(--shadow);
    }

    .data-table thead {
        background: var(--light-color);
    }

    .data-table th {
        padding: 1rem;
        text-align: left;
        font-weight: 600;
        color: var(--dark-color);
        border-bottom: 2px solid var(--gray-color);
    }

    .data-table td {
        padding: 1rem;
        border-bottom: 1px solid var(--gray-color);
    }

    .data-table tbody tr:hover {
        background: rgba(37, 99, 235, 0.05);
    }

    .btn-icon {
        padding: 0.5rem;
        background: none;
        border: none;
        border-radius: var(--radius);
        color: var(--secondary-color);
        cursor: pointer;
        transition: var(--transition);
    }

    .btn-icon:hover {
        background: var(--gray-color);
        color: var(--dark-color);
    }

    .btn-icon.danger:hover {
        background: #fee2e2;
        color: var(--danger-color);
    }

    .badge {
        display: inline-block;
        padding: 0.25rem 0.75rem;
        background: var(--gray-color);
        color: var(--secondary-color);
        border-radius: 20px;
        font-size: 0.875rem;
        font-weight: 500;
    }

    .status-badge {
        display: inline-block;
        padding: 0.25rem 0.75rem;
        border-radius: 20px;
        font-size: 0.875rem;
        font-weight: 500;
    }

    .status-badge.public,
    .status-badge.active {
        background: #d1fae5;
        color: #065f46;
    }

    .status-badge.draft,
    .status-badge.inactive {
        background: #fee2e2;
        color: #991b1b;
    }

    /* Forms in Dashboard */
    .add-project-form {
        margin-bottom: 2rem;
    }

    .form-actions {
        display: flex;
        gap: 1rem;
        justify-content: flex-end;
        margin-top: 2rem;
    }

    .btn-block {
        width: 100%;
        justify-content: center;
    }

    /* Profile Page */
    .profile-container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .card {
        background: white;
        padding: 2rem;
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        margin-bottom: 2rem;
    }

    .card h3, .card h4 {
        margin-bottom: 1.5rem;
        color: var(--dark-color);
    }

    /* Favorite Button */
    .favorite-btn {
        background: none;
        border: none;
        color: var(--gray-color);
        font-size: 1.25rem;
        cursor: pointer;
        transition: var(--transition);
    }

    .favorite-btn:hover {
        color: #fca5a5;
    }

    .favorite-btn.active {
        color: var(--danger-color);
    }

    .project-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0.5rem;
    }

    /* Response Messages */
    .response-message {
        padding: 1rem;
        border-radius: var(--radius);
        margin-top: 1rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .response-message.success {
        background: #d1fae5;
        color: #065f46;
        border: 1px solid #a7f3d0;
    }

    .response-message.error {
        background: #fee2e2;
        color: #991b1b;
        border: 1px solid #fecaca;
    }

    .response-message i {
        font-size: 1.25rem;
    }

    /* Auth Pages */
    .auth-page {
        min-height: calc(100vh - 200px);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 2rem;
    }

    .auth-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        max-width: 1000px;
        width: 100%;
    }

    .auth-card {
        background: white;
        padding: 3rem;
        border-radius: var(--radius);
        box-shadow: var(--shadow);
    }

    .auth-header {
        text-align: center;
        margin-bottom: 2rem;
    }

    .auth-header h1 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
        color: var(--dark-color);
    }

    .auth-form .form-group {
        margin-bottom: 1.5rem;
    }

    .auth-form label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 500;
        color: var(--dark-color);
    }

    .auth-form input {
        width: 100%;
        padding: 0.75rem 1rem;
        border: 2px solid var(--gray-color);
        border-radius: var(--radius);
        font-family: 'Inter', sans-serif;
        font-size: 1rem;
    }

    .auth-links {
        margin-top: 1.5rem;
        text-align: center;
        color: var(--secondary-color);
    }

    .auth-links a {
        color: var(--primary-color);
        text-decoration: none;
        font-weight: 500;
    }

    .auth-info {
        padding: 2rem;
    }

    .auth-info h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
        color: var(--dark-color);
    }

    .auth-info p {
        color: var(--secondary-color);
        margin-bottom: 2rem;
    }

    .info-points {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .info-point {
        display: flex;
        align-items: center;
        gap: 1rem;
        color: var(--dark-color);
    }

    .info-point i {
        color: var(--primary-color);
        font-size: 1.25rem;
    }

    /* Footer */
    .footer {
        background: var(--dark-color);
        color: white;
        margin-top: 4rem;
    }

    .footer-content {
        max-width: 1200px;
        margin: 0 auto;
        padding: 3rem 2rem;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 3rem;
    }

    .footer-section h3,
    .footer-section h4 {
        color: white;
        margin-bottom: 1rem;
    }

    .footer-section a {
        color: #cbd5e1;
        text-decoration: none;
        display: block;
        margin-bottom: 0.5rem;
        transition: var(--transition);
    }

    .footer-section a:hover {
        color: white;
    }

    .footer-bottom {
        text-align: center;
        padding: 1.5rem;
        border-top: 1px solid #334155;
        color: #94a3b8;
    }

    /* Responsive */
    @media (max-width: 768px) {
        .nav-menu {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: white;
            flex-direction: column;
            padding: 1rem;
            box-shadow: var(--shadow);
        }
        
        .nav-menu.active {
            display: flex;
        }
        
        .nav-toggle {
            display: block;
        }
        
        .hero {
            grid-template-columns: 1fr;
            text-align: center;
            padding: 2rem 1rem;
        }
        
        .hero-content {
            padding-right: 0;
        }
        
        .hero-title {
            font-size: 2.5rem;
        }
        
        .about-content,
        .contact-container,
        .auth-container {
            grid-template-columns: 1fr;
            gap: 2rem;
        }
        
        .projects-grid {
            grid-template-columns: 1fr;
        }
        
        .form-row {
            grid-template-columns: 1fr;
        }
        
        .stats-grid {
            grid-template-columns: repeat(2, 1fr);
        }
        
        .tab-header {
            flex-direction: column;
            gap: 1rem;
            align-items: flex-start;
        }
        
        .dashboard {
            padding: 0 1rem;
        }
    }

    /* Add these to assets/css/styles.css */

    /* Table Responsive */
    .table-responsive {
        overflow-x: auto;
    }

    /* Pagination */
    .pagination {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
        margin-top: 2rem;
        padding: 1rem;
    }

    .pagination-btn {
        padding: 0.5rem 1rem;
        border: 1px solid var(--gray-color);
        background: white;
        border-radius: var(--radius);
        cursor: pointer;
        transition: var(--transition);
    }

    .pagination-btn:hover:not(:disabled) {
        background: var(--primary-color);
        color: white;
        border-color: var(--primary-color);
    }

    .pagination-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

    .pagination-info {
        color: var(--secondary-color);
        font-size: 0.875rem;
    }

    /* Search Bar */
    .search-container {
        margin-bottom: 1.5rem;
    }

    .search-box {
        width: 100%;
        padding: 0.75rem 1rem;
        border: 2px solid var(--gray-color);
        border-radius: var(--radius);
        font-family: 'Inter', sans-serif;
        font-size: 1rem;
        transition: var(--transition);
    }

    .search-box:focus {
        outline: none;
        border-color: var(--primary-color);
    }

    /* Alert Messages */
    .alert {
        padding: 1rem;
        border-radius: var(--radius);
        margin-bottom: 1rem;
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    .alert-success {
        background: #d1fae5;
        color: #065f46;
        border: 1px solid #a7f3d0;
    }

    .alert-error {
        background: #fee2e2;
        color: #991b1b;
        border: 1px solid #fecaca;
    }

    .alert-warning {
        background: #fef3c7;
        color: #92400e;
        border: 1px solid #fde68a;
    }

    .alert-info {
        background: #dbeafe;
        color: #1e40af;
        border: 1px solid #bfdbfe;
    }

    /* Loading Spinner */
    .spinner {
        width: 40px;
        height: 40px;
        border: 3px solid var(--gray-color);
        border-top-color: var(--primary-color);
        border-radius: 50%;
        animation: spin 1s linear infinite;
        margin: 2rem auto;
    }

    @keyframes spin {
        to { transform: rotate(360deg); }
    }

    /* Empty State */
    .empty-state {
        text-align: center;
        padding: 3rem;
        color: var(--secondary-color);
    }

    .empty-state i {
        font-size: 3rem;
        margin-bottom: 1rem;
        color: var(--gray-color);
    }

    /* Form Validation */
    .error-message {
        color: var(--danger-color);
        font-size: 0.875rem;
        margin-top: 0.25rem;
        display: flex;
        align-items: center;
        gap: 0.25rem;
    }

    input:invalid, textarea:invalid, select:invalid {
        border-color: var(--danger-color) !important;
    }

    input:valid, textarea:valid, select:valid {
        border-color: var(--success-color) !important;
    }

    /* Toast Notifications */
    .toast-container {
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 9999;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .toast {
        background: white;
        padding: 1rem 1.5rem;
        border-radius: var(--radius);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        display: flex;
        align-items: center;
        gap: 1rem;
        animation: slideIn 0.3s ease;
        max-width: 350px;
    }

    @keyframes slideIn {
        from {
            transform: translateX(100%);
            opacity: 0;
        }
        to {
            transform: translateX(0);
            opacity: 1;
        }
    }

    .toast.success {
        border-left: 4px solid var(--success-color);
    }

    .toast.error {
        border-left: 4px solid var(--danger-color);
    }

    .toast.warning {
        border-left: 4px solid var(--warning-color);
    }

    .toast.info {
        border-left: 4px solid var(--primary-color);
    }

    .toast-close {
        margin-left: auto;
        background: none;
        border: none;
        color: var(--secondary-color);
        cursor: pointer;
        font-size: 1.25rem;
    }

    /* Project Status Indicator */
    .status-indicator {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.875rem;
        font-weight: 500;
    }

    .status-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        display: inline-block;
    }

    .status-dot.public {
        background: var(--success-color);
    }

    .status-dot.draft {
        background: var(--warning-color);
    }

    .status-dot.private {
        background: var(--danger-color);
    }

    /* Ensure navbar is visible */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%; /* Add this */
}

/* ===== AUTH PAGES ENHANCEMENTS ===== */

.auth-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
}

/* Enhanced Navbar for Auth Pages */
.auth-page .navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.auth-page .nav-logo {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.auth-page .nav-logo:before {
    content: "</>";
    background: var(--primary-color);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 700;
}

/* Enhanced Auth Container */
.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
    flex: 1;
}

/* Enhanced Auth Card */
.auth-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.auth-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), #7c3aed);
}

.auth-header {
    text-align: center;
    margin-bottom: 3rem;
}

.auth-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-header p {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

/* Enhanced Form Styles */
.auth-form .form-group {
    margin-bottom: 1.75rem;
    position: relative;
}

.auth-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
    font-size: 0.95rem;
}

.auth-form input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.auth-form input:valid {
    border-color: #10b981;
}

.auth-form .input-icon {
    position: absolute;
    right: 1.25rem;
    top: 3.1rem;
    color: var(--secondary-color);
}

/* Enhanced Button */
.auth-form .btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    position: relative;
    overflow: hidden;
}

.auth-form .btn:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.auth-form .btn:hover:before {
    width: 300px;
    height: 300px;
}

/* Password Strength Indicator */
.password-strength {
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    margin-top: 0.5rem;
    overflow: hidden;
}

.password-strength-bar {
    height: 100%;
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 2px;
}

.password-strength.weak .password-strength-bar {
    width: 33%;
    background: #ef4444;
}

.password-strength.medium .password-strength-bar {
    width: 66%;
    background: #f59e0b;
}

.password-strength.strong .password-strength-bar {
    width: 100%;
    background: #10b981;
}

/* Enhanced Alerts */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-error {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.alert-success {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.alert i {
    font-size: 1.25rem;
}

/* Auth Links Enhancement */
.auth-links {
    margin-top: 2rem;
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.auth-links p {
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
}

.auth-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    padding: 0.25rem 0;
}

.auth-links a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.auth-links a:hover:after {
    width: 100%;
}

/* Enhanced Auth Info Section */
.auth-info {
    color: white;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-info h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff, #dbeafe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 3rem;
}

.info-points {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-point {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, background 0.3s ease;
}

.info-point:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.info-point i {
    font-size: 1.75rem;
    background: rgba(255, 255, 255, 0.2);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.info-point span {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Divider */
.auth-divider {
    display: flex;
    align-items: center;
    margin: 2rem 0;
    color: var(--secondary-color);
}

.auth-divider:before,
.auth-divider:after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

.auth-divider span {
    padding: 0 1rem;
    font-size: 0.875rem;
}

/* Social Login (Optional) */
.social-login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-btn {
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-weight: 500;
    color: var(--dark-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.social-btn:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.social-btn.google:hover {
    border-color: #ef4444;
    color: #ef4444;
}

.social-btn.github:hover {
    border-color: #1f2937;
    color: #1f2937;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .auth-container {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .auth-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem;
        margin: 1rem auto;
    }
    
    .auth-card {
        padding: 2rem;
        margin-top: 1rem;
    }
    
    .auth-info {
        padding: 1.5rem;
        text-align: center;
    }
    
    .auth-info h2 {
        font-size: 2rem;
    }
    
    .info-point {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .info-point i {
        margin-bottom: 0.5rem;
    }
    
    .social-login {
        grid-template-columns: 1fr;
    }
}

/* Form Validation Styling */
.auth-form input:invalid:not(:placeholder-shown) {
    border-color: #ef4444;
}

.auth-form input:valid:not(:placeholder-shown) {
    border-color: #10b981;
}

/* Loading State */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading:after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Floating Labels (Optional Enhancement) */
.form-group.floating {
    position: relative;
}

.form-group.floating label {
    position: absolute;
    top: 1rem;
    left: 1.25rem;
    color: var(--secondary-color);
    font-weight: 400;
    pointer-events: none;
    transition: all 0.3s ease;
    background: #f8fafc;
    padding: 0 0.5rem;
    border-radius: 4px;
}

.form-group.floating input:focus + label,
.form-group.floating input:not(:placeholder-shown) + label {
    top: -0.5rem;
    left: 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
    background: white;
}

/* ===== SMALLER HEADER STYLES ===== */

/* Smaller navbar */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    padding: 0.5rem 0;
    height: 60px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

/* Smaller logo */
.nav-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo:before {
    content: "</>";
    background: var(--primary-color);
    color: white;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
}

/* Compact nav menu */
.nav-menu {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.nav-link {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-link i {
    font-size: 0.9rem;
    margin-right: 0.3rem;
}

/* Smaller user info */
.user-welcome {
    font-size: 0.85rem;
    padding: 0.3rem 0.8rem;
}

.user-role-badge {
    font-size: 0.7rem;
    padding: 0.1rem 0.4rem;
}

/* Dashboard header smaller */
.dashboard-header {
    padding: 1.5rem 0;
    margin-bottom: 1.5rem;
}

.dashboard-header h1 {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
}

.dashboard-header p {
    font-size: 0.95rem;
    color: var(--secondary-color);
}

/* Smaller hero section */
.hero {
    padding: 3rem 0;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
}

.hero-description {
    font-size: 1rem;
}

/* Smaller buttons */
.btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

/* Smaller cards */
.card {
    padding: 1.25rem;
    border-radius: 8px;
}

.card h3, .card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* Smaller stats */
.stats-grid {
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    padding: 1rem;
}

.stat-icon {
    width: 45px;
    height: 45px;
    font-size: 1.25rem;
}

.stat-content h3 {
    font-size: 1.5rem;
}

/* Smaller tables */
.data-table {
    font-size: 0.9rem;
}

.data-table th,
.data-table td {
    padding: 0.75rem;
}

/* Smaller tabs */
.tabs-header {
    margin-bottom: 1.5rem;
}

.tab-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Smaller project cards */
.project-card {
    border-radius: 8px;
}

.project-content {
    padding: 1rem;
}

.project-content h3 {
    font-size: 1.1rem;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .navbar {
        padding: 0.4rem 0;
        height: 56px;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .dashboard-header {
        padding: 1rem 0;
    }
    
    .dashboard-header h1 {
        font-size: 1.5rem;
    }
}

/* ===== LOGO STYLES ===== */

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    padding: 0.25rem 0;
    transition: transform 0.2s ease;
}

.nav-logo:hover {
    transform: translateY(-1px);
}

/* Logo Image Container */
.logo-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    padding: 6px;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Logo Text Container */
.logo-text-container {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

/* Main Logo Text */
.logo-text {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--dark-color);
    letter-spacing: -0.5px;
}

/* Logo Tagline */
.logo-tagline {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Alternative: Gradient Text Logo */
.logo-text.gradient {
    background: linear-gradient(135deg, var(--primary-color), #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Alternative: Simple Logo */
.logo-text.simple {
    color: var(--primary-color);
    font-weight: 700;
}

/* Responsive Logo */
@media (max-width: 768px) {
    .logo-text-container {
        display: none; /* Hide text on mobile, show only logo */
    }
    
    .nav-logo {
        gap: 0.5rem;
    }
    
    .logo-image-container {
        width: 36px;
        height: 36px;
    }
}

/* For very small screens */
@media (max-width: 480px) {
    .logo-tagline {
        display: none;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: var(--card-bg);
    z-index: 1001;
    transition: right 0.3s ease;
    padding: 2rem;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
}

.mobile-menu.active {
    right: 0;
}

.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
}

.menu-overlay.active {
    display: block;
}

.no-scroll {
    overflow: hidden;
}

/* Form Errors */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #f56565 !important;
}

.error-message {
    color: #f56565;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Password Strength */
.password-strength {
    height: 4px;
    border-radius: 2px;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.password-strength.weak {
    background: #f56565;
    width: 20%;
}

.password-strength.medium {
    background: #ed8936;
    width: 60%;
}

.password-strength.strong {
    background: #48bb78;
    width: 100%;
}

/* Tooltip */
.tooltip {
    position: fixed;
    background: #2d3748;
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    z-index: 9999;
    white-space: nowrap;
    pointer-events: none;
}

.tooltip:after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #2d3748;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1002;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 12px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 1;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #718096;
}

.modal-open {
    overflow: hidden;
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .modal-content {
        width: 95%;
        padding: 1.5rem;
    }
}

/* Theme Support */
[data-theme="dark"] {
    --bg-color: #1a202c;
    --card-bg: #2d3748;
    --text-color: #e2e8f0;
    --border-color: #4a5568;
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading-spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid currentColor;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Favorite Button */
.favorite-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #cbd5e0;
    transition: all 0.3s ease;
}

.favorite-btn.active {
    color: #f56565;
}

.favorite-btn:hover {
    transform: scale(1.1);
}

/* Image Preview */
.image-preview {
    width: 100%;
    height: 200px;
    border: 2px dashed #cbd5e0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.image-preview.has-image {
    border-style: solid;
}

.image-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Logo styles */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-image {
    height: 40px; /* Adjust as needed */
    width: auto;
    display: block;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    white-space: nowrap;
}

/* Responsive logo */
@media (max-width: 768px) {
    .logo-image {
        height: 35px; /* Smaller on mobile */
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
}

/* Optional: Hide text on very small screens if needed */
@media (max-width: 480px) {
    .logo-text {
        display: none; /* Hide text, show only logo */
    }
}

/* Remove the ::before content from nav-logo */
.nav-logo::before {
    content: none !important;
    display: none !important;
}

/* Make sure your actual logo displays */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
}

/* Add to existing loading states */
.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.loading-spinner-small {
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-top-color: transparent;
}

/* Delete animation */
@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

.fade-out {
    animation: fadeOut 0.3s ease forwards;
}

/* Empty state styling */
.empty-state {
    text-align: center;
    padding: 3rem !important;
    color: #64748b;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state p {
    margin: 0;
}

/* Member management styles */
.role-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.role-owner {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #78350f;
}

.role-member {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    color: #1e3a8a;
}

.search-filter {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.search-box {
    flex: 1;
    min-width: 200px;
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-color);
    border-radius: var(--radius);
}

.filter-select {
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-color);
    border-radius: var(--radius);
    background: white;
    min-width: 150px;
}

.member-info {
    max-width: 200px;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1002;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 12px;
    padding: 0;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 1;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: var(--dark-color);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--secondary-color);
    cursor: pointer;
    padding: 0.5rem;
}

.modal-body {
    padding: 1.5rem;
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
}

.pagination-btn {
    padding: 0.5rem 1rem;
    border: 1px solid var(--gray-color);
    background: white;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.pagination-btn:hover:not(:disabled) {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-info {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .search-filter {
        flex-direction: column;
    }
    
    .search-box,
    .filter-select {
        width: 100%;
        min-width: unset;
    }
    
    .actions {
        flex-wrap: wrap;
    }
    
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
}

/* ===== MOBILE RESPONSIVE FIXES ===== */

/* Fix for mobile viewport */
@media (max-width: 768px) {
    /* Make body width proper */
    body {
        overflow-x: hidden;
        width: 100%;
    }
    
    /* Fix navbar for mobile */
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 1000;
        padding: 0;
        height: 60px;
        background: white;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .nav-container {
        padding: 0 1rem;
        width: 100%;
        max-width: 100%;
    }
    
    /* Hide desktop menu completely on mobile */
    .nav-menu {
        display: none !important;
    }
    
    /* Show mobile toggle button */
    .nav-toggle {
        display: block !important;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--dark-color);
        cursor: pointer;
        padding: 0.5rem;
    }
    
    /* Fix logo for mobile */
    .nav-logo {
        font-size: 1.2rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    .logo-img {
        height: 35px;
        width: auto;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    /* Hero section mobile fixes */
    .hero {
        grid-template-columns: 1fr;
        padding: 5rem 1rem 2rem 1rem;
        margin-top: 0;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-content {
        padding-right: 0;
        padding-top: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1rem;
    }
    
    /* Services section */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    /* Projects section */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-card {
        max-width: 100%;
    }
    
    /* About section */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    /* Contact section */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Fix padding for all sections */
    section {
        padding: 2rem 1rem;
        margin: 0 auto;
        max-width: 100%;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    /* Fix mobile menu position */
    .mobile-menu {
        top: 60px;
        width: 100%;
        right: -100%;
        max-width: 300px;
    }
    
    .mobile-menu.active {
        right: 0;
    }
    
    /* Ensure content doesn't overflow */
    .code-snippet, .code-window {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    code, pre {
        font-size: 0.85rem;
        white-space: pre-wrap;
        word-wrap: break-word;
    }
}

/* Extra small phones */
@media (max-width: 480px) {
    .nav-logo .logo-text {
        display: none; /* Hide text on very small screens */
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat {
        padding: 0.5rem;
    }
}

/* Tablet fixes */
@media (min-width: 769px) and (max-width: 1024px) {
    .nav-menu {
        gap: 0.5rem;
    }
    
    .nav-link {
        padding: 0.4rem 0.6rem;
        font-size: 0.9rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== FIX FOR TOUCH DEVICES ===== */
@media (hover: none) and (pointer: coarse) {
    /* Larger touch targets */
    .nav-link, .btn, .mobile-link {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Prevent hover effects on touch */
    .nav-link:hover, .btn:hover {
        transform: none;
    }
    
    /* Better form inputs for mobile */
    input, textarea, select {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Prevent text selection on interactive elements */
    .nav-link, .btn, button {
        user-select: none;
        -webkit-tap-highlight-color: transparent;
    }
}

/* ===== PREVENT OVERSCROLL ===== */
html {
    overscroll-behavior: none;
}

/* ===== SMOOTH SCROLLING ===== */
html {
    scroll-behavior: smooth;
}


/* Mobile Menu Styles */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100%;
    background: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: right 0.3s ease;
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.mobile-menu-header h3 {
    margin: 0;
    color: var(--dark-color);
}

.mobile-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--secondary-color);
    cursor: pointer;
}

.mobile-menu-links {
    padding: 1rem 0;
}

.mobile-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: var(--dark-color);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.mobile-link:hover {
    background: var(--light-color);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
}

.mobile-link.active {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
}

.mobile-link.logout {
    color: var(--danger-color);
}

.mobile-user-info {
    padding: 1.5rem;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    margin: 1rem 0;
}

.mobile-username {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mobile-user-role {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.mobile-user-role.owner {
    background: #dbeafe;
    color: #1e40af;
}

.mobile-user-role.member {
    background: #d1fae5;
    color: #065f46;
}

/* User info in desktop nav */
.user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 1px solid var(--gray-color);
}

.username {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 0.9rem;
}

.user-role {
    font-size: 0.75rem;
    padding: 0.15rem 0.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.user-role.owner {
    background: #dbeafe;
    color: #1e40af;
}

.user-role.member {
    background: #d1fae5;
    color: #065f46;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .user-info {
        display: none;
    }
}

@media (min-width: 769px) {
    .nav-toggle {
        display: none;
    }
    
    .mobile-overlay,
    .mobile-menu {
        display: none !important;
    }
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-color);
    cursor: pointer;
    padding: 0.5rem;
}

/* IMMEDIATE MOBILE FIXES */
@media (max-width: 768px) {
    /* Fix navbar visibility */
    .nav-menu {
        display: none !important;
    }
    
    .nav-toggle {
        display: block !important;
    }
    
    /* Fix hero section */
    .hero {
        padding-top: 5rem;
        grid-template-columns: 1fr;
    }
    
    /* Fix buttons */
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    /* Make sure content fits */
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile Menu Styles */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100%;
    background: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: right 0.3s ease;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.mobile-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #64748b;
    cursor: pointer;
}

.mobile-menu-links {
    padding: 1rem 0;
}

.mobile-link {
    display: block;
    padding: 1rem 1.5rem;
    color: #1e293b;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.mobile-link:hover,
.mobile-link.active {
    background: #f1f5f9;
    color: #2563eb;
    border-left-color: #2563eb;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: block;
    }
}

@media (min-width: 769px) {
    .mobile-menu {
        display: none !important;
    }
    
    .nav-toggle {
        display: none;
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: block !important;
    }
    
    .user-info {
        display: none;
    }
    
    .mobile-menu {
        display: block; /* Changed from 'none' */
    }
}

@media (min-width: 769px) {
    .nav-toggle {
        display: none !important;
    }
    
    .mobile-overlay,
    .mobile-menu {
        display: none !important;
    }
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-color);
    cursor: pointer;
    padding: 0.5rem;
}