/* ===== CSS RESET & GLOBAL VARIABLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Variables */
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #f1f5f9;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    
    /* Shadow Variables */
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    
    /* Gradient Variables */
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* ===== BASE STYLES ===== */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: all 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Fix for main content */
main {
    margin-top: 70px;
    min-height: calc(100vh - 120px);

}

/* Logo Styles */
.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}

.logo-img {
    height: 100px;
    width: 150px;
    border-radius: 8px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

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

/* Mobile Responsive for Logo */
@media (max-width: 768px) {
    .logo-img {
        height: auto;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: auto;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    .logo-link {
        gap: 0.5rem;
    }
}




/* ===== NAVIGATION STYLES ===== */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.5rem 0;
}

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

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

/* Desktop Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background: var(--bg-secondary);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: #1e293b; /* Black in light mode */
    transition: 0.3s;
    border-radius: 2px;
}

/* Mobile Dropdown Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-primary);
    flex-direction: column;
    border-top: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1001;
}

.mobile-menu.active {
    display: flex;
}

.mobile-nav-link, .mobile-logout-btn {
    color: var(--text-primary);
    text-decoration: none;
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: block;
}

.mobile-nav-link:hover, .mobile-logout-btn:hover {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
}

.mobile-logout-btn {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Logout Forms */
.logout-form, .mobile-logout-form {
    margin: 0;
    padding: 0;
}

.logout-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    font: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
}

/* ===== BUTTON STYLES ===== */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    background-size: 200% 100%;
    background-position: 100% 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 50%, #8b5cf6 100%);
    background-size: 200% 200%;
    color: white;
    box-shadow: 
        0 4px 15px rgba(99, 102, 241, 0.3),
        0 8px 25px rgba(99, 102, 241, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -2px 0 rgba(0, 0, 0, 0.2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover {
    background-position: 0 100%;
    transform: translateY(-3px) scale(1.02) rotateX(5deg);
    box-shadow: 
        0 8px 25px rgba(99, 102, 241, 0.4),
        0 15px 35px rgba(99, 102, 241, 0.3),
        0 20px 45px rgba(99, 102, 241, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -2px 0 rgba(0, 0, 0, 0.1);
    animation: btnPulse 2s infinite;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98) rotateX(2deg);
    box-shadow: 
        0 2px 10px rgba(99, 102, 241, 0.4),
        0 4px 15px rgba(99, 102, 241, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.1s ease;
}

.btn-secondary {
    background: linear-gradient(135deg, transparent 0%, transparent 50%, rgba(255, 255, 255, 0.1) 100%);
    color: white;
    border: 2px solid;
    border-image: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) 1;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    z-index: -1;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: scale(0.8);
}

.btn-secondary:hover {
    color: white;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 10px 25px rgba(99, 102, 241, 0.3),
        0 15px 35px rgba(99, 102, 241, 0.2),
        0 0 0 3px rgba(99, 102, 241, 0.1);
    border-image: linear-gradient(135deg, var(--primary-dark), #8b5cf6) 1;
}

.btn-secondary:hover::before {
    opacity: 1;
    transform: scale(1);
}

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

.btn-success {
    background: #25D366;
    color: white;
}

.btn-success:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

.btn-small {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
}

/* Success Button Ultra Animations */
.btn-success {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 50%, #075E54 100%);
    background-size: 200% 200%;
    box-shadow: 
        0 4px 15px rgba(37, 211, 102, 0.3),
        0 8px 25px rgba(37, 211, 102, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-success:hover {
    background-position: 100% 100%;
    transform: translateY(-3px) scale(1.02) rotate(1deg);
    box-shadow: 
        0 8px 25px rgba(37, 211, 102, 0.4),
        0 15px 35px rgba(37, 211, 102, 0.3),
        0 20px 45px rgba(37, 211, 102, 0.2),
        0 0 20px rgba(37, 211, 102, 0.1);
    animation: successGlow 1.5s infinite alternate;
}

/* Special Button States */
.btn[type="submit"] {
    position: relative;
    overflow: hidden;
}

.btn[type="submit"]::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
    border-radius: 50%;
}

.btn[type="submit"]:active::after {
    width: 300px;
    height: 300px;
    opacity: 0;
}

.btn.loading {
    pointer-events: none;
    position: relative;
    color: transparent;
}

.btn.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: btnSpin 0.8s linear infinite;
}

.btn.success {
    background: #10b981;
    pointer-events: none;
}

.btn.success::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    animation: checkmarkPop 0.5s ease forwards 0.3s;
}

/* Premium Button Style */
.btn-premium {
    background: linear-gradient(
        135deg,
        #667eea 0%,
        #764ba2 25%,
        #f093fb 50%,
        #f5576c 75%,
        #4facfe 100%
    );
    background-size: 400% 400%;
    animation: holographicShift 6s ease infinite;
    position: relative;
}

.btn-premium::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255,255,255,0.1) 0%,
        rgba(255,255,255,0.3) 50%,
        rgba(255,255,255,0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-premium:hover::after {
    opacity: 1;
}

/* ===== HERO SECTION STYLES ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    color: white;
    text-align: center;
    padding: 0 2rem;
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== FORM & AUTH STYLES ===== */
.auth-container, .form-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 2rem;
}

.auth-card, .form-card {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    width: 100%;
    max-width: 500px;
    animation: cardEntrance 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: center;
}

.auth-card h2, .form-card h2 {
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.auth-card p, .form-card p {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.auth-links p {
    margin-top: 2rem;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    transform: translateY(-1px);
    box-shadow: 
        0 0 0 3px rgba(99, 102, 241, 0.1),
        0 4px 20px rgba(99, 102, 241, 0.2),
        0 8px 25px rgba(99, 102, 241, 0.1);
    border-color: var(--primary-color);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.form-group.focused label {
    color: var(--primary-color);
}

/* Floating Label Animation Enhancement */
.form-group input:focus ~ .floating-label,
.form-group input:not(:placeholder-shown) ~ .floating-label {
    transform: translateY(-180%) scale(0.85);
    color: var(--primary-color);
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(99, 102, 241, 0.2);
}

/* ===== DASHBOARD STYLES ===== */
.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem 2rem;
}

.dashboard-header {
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
    color: white;
    padding: 2rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
    text-align: center;
}

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

.dashboard-header p {
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.project-card {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--border-color);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.project-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.project-header h3 {
    margin: 0;
    color: var(--text-primary);
    flex: 1;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Project Status Styles */
.status-pending {
    border-left-color: #f59e0b;
}

.status-reviewed {
    border-left-color: #3b82f6;
}

.status-accepted {
    border-left-color: #10b981;
}

.status-rejected {
    border-left-color: #ef4444;
}

.status-completed {
    border-left-color: #8b5cf6;
}

.status-pending .status-badge { background: #fef3c7; color: #d97706; }
.status-reviewed .status-badge { background: #dbeafe; color: #2563eb; }
.status-accepted .status-badge { background: #dcfce7; color: #16a34a; }
.status-rejected .status-badge { background: #fee2e2; color: #dc2626; }
.status-completed .status-badge { background: #f3e8ff; color: #9333ea; }

/* Project Status Messages */
.project-accepted,
.project-reviewed,
.project-rejected,
.project-completed,
.project-pending {
    padding: 1rem;
    border-radius: 0.5rem;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.project-accepted {
    background: #dcfce7;
    border: 1px solid #bbf7d0;
    color: #166534;
}

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

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

.project-completed {
    background: #f3e8ff;
    border: 1px solid #e9d5ff;
    color: #7e22ce;
}

.project-pending {
    background: #fffbeb;
    border: 1px solid #fef3c7;
    color: #d97706;
}

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

.project-details p {
    margin: 0;
    font-size: 0.9rem;
}

.admin-notes {
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: 0.5rem;
    border-left: 4px solid var(--primary-color);
    margin: 1rem 0;
}

.admin-notes strong {
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-notes p {
    margin: 0.5rem 0 0 0;
    color: var(--text-secondary);
}

.project-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

/* Admin Edited Notice */
.admin-edited-notice {
    background: #dbeafe;
    border: 1px solid #93c5fd;
    border-radius: 0.5rem;
    padding: 0.75rem;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #1e40af;
}

.admin-edited-notice i {
    color: #3b82f6;
}

/* ===== PROJECT FILES & FOLDERS SECTION ===== */
.project-files {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 1rem;
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow);
}

.project-files h4 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.project-files h4 i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.files-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* File Item Styling - Matching Video Section */
.file-item {
    background: var(--bg-card);
    padding: 1.25rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: all 0.3s ease;
    animation: fadeInUp 0.5s ease-out;
}

.file-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.file-item.folder-item {
    background: rgba(139, 92, 246, 0.05);
    border-left: 4px solid #8b5cf6;
}

.file-item.file-item-ppt {
    background: rgba(239, 68, 68, 0.05);
    border-left: 4px solid #ef4444;
}

.file-item.file-item-zip {
    background: rgba(245, 158, 11, 0.05);
    border-left: 4px solid #f59e0b;
}

/* File Icon Section */
.file-icon {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.file-icon i {
    font-size: 2rem;
    width: 50px;
    text-align: center;
    flex-shrink: 0;
}

/* File Type Colors */
.file-icon .fa-file-powerpoint { color: #ea580c; }
.file-icon .fa-folder { color: #8b5cf6; }
.file-icon .fa-file-zipper { color: #f59e0b; }
.file-icon .fa-file-video { color: #ec4899; }

/* File Info Section */
.file-info {
    flex: 1;
    min-width: 0;
}

.file-info strong {
    display: block;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    word-break: break-word;
}

.file-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.file-meta small {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.file-meta i {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.file-type-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.file-type-badge.file-badge {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
}

.file-type-badge.folder-badge {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.file-desc {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    word-break: break-word;
}

/* File Actions */
.file-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.btn-download {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    border: none;
    cursor: pointer;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-download.folder-download {
    background: linear-gradient(135deg, #10b981, #059669);
}

.btn-download.folder-download:hover {
    background: linear-gradient(135deg, #059669, #047857);
}

.btn-download.zip-download {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.btn-download.zip-download:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
}

/* Empty State */
.files-grid:empty::before {
    content: "📁 No files or folders uploaded yet";
    color: var(--text-secondary);
    text-align: center;
    padding: 3rem 1rem;
    font-style: italic;
    font-size: 1.1rem;
    display: block;
    background: var(--bg-secondary);
    border-radius: 0.75rem;
    border: 2px dashed var(--border-color);
}

/* Loading State */
.file-item.loading {
    opacity: 0.7;
    pointer-events: none;
}

.file-item.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Dark Mode Adjustments */
[data-theme="dark"] .project-files {
    background: rgba(30, 41, 59, 0.3);
}

[data-theme="dark"] .file-item {
    background: var(--bg-card);
}

[data-theme="dark"] .file-item:hover {
    background: rgba(30, 41, 59, 0.5);
}

[data-theme="dark"] .file-item.folder-item {
    background: rgba(139, 92, 246, 0.1);
}

[data-theme="dark"] .file-item.file-item-ppt {
    background: rgba(239, 68, 68, 0.1);
}

[data-theme="dark"] .file-item.file-item-zip {
    background: rgba(245, 158, 11, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .project-files {
        padding: 1.25rem;
        margin: 1.25rem 0;
    }
    
    .file-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1rem;
    }
    
    .file-icon {
        width: 100%;
    }
    
    .file-actions {
        width: 100%;
        justify-content: stretch;
    }
    
    .btn-download {
        flex: 1;
        justify-content: center;
        text-align: center;
        padding: 1rem 1.25rem;
    }
    
    .file-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .project-files {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .file-info strong {
        font-size: 1rem;
    }
    
    .file-desc {
        font-size: 0.85rem;
    }
    
    .btn-download {
        padding: 0.875rem 1rem;
        font-size: 0.85rem;
    }
}

/* Project Files, Videos, and Meetings */
.project-files,
.project-videos,
.zoom-meetings {
    margin: 1.5rem 0;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 0.5rem;
    border-left: 4px solid var(--primary-color);
}

.project-files h4,
.project-videos h4,
.zoom-meetings h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.files-grid,
.videos-grid,
.meetings-grid {
    display: grid;
    gap: 1rem;
}

.file-item,
.video-item,
.meeting-item {
    background: var(--bg-card);
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.file-info {
    flex: 1;
}

.file-info strong {
    display: block;
    color: var(--text-primary);
}

.file-info small {
    color: var(--text-secondary);
}

.btn-download,
.btn-watch,
.btn-join {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    text-decoration: none;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-download:hover,
.btn-watch:hover,
.btn-join:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.video-item,
.meeting-item {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
}

.video-header,
.meeting-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
}

.meeting-details p {
    margin: 0.25rem 0;
    font-size: 0.9rem;
}

.description-box {
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    line-height: 1.6;
}

.detail-group {
    margin-bottom: 1rem;
}

.detail-group h4 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.25rem;
}

/* ===== SERVICES PAGE STYLES ===== */
.services-hero {
    background: var(--gradient);
    color: white;
    padding: 8rem 0 4rem;
    text-align: center;
}

.services-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.services-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

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

/* Service Cards with Animated Colorful Borders */
.service-card {
    background: white;
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    text-align: center;
    overflow: hidden;
    border: 3px solid transparent;
    animation: fadeInUp 0.6s ease forwards;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, 
        #ff6b6b, #ee5a24, #feca57, #ff9ff3, 
        #54a0ff, #5f27cd, #00d2d3, #1dd1a1);
    background-size: 400% 400%;
    border-radius: 23px;
    z-index: -1;
    animation: borderFlow 4s ease-in-out infinite;
}

.service-card:nth-child(2n)::before {
    animation-duration: 5s;
    animation-direction: reverse;
}

.service-card:nth-child(3n)::before {
    animation-duration: 6s;
}

.service-card:nth-child(4n)::before {
    animation-duration: 4.5s;
    animation-direction: reverse;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Service Icon */
.service-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    opacity: 0.1;
    z-index: -1;
    transition: all 0.4s ease;
}

.service-icon i {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Service Content */
.service-card h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.service-card h4 {
    color: #6b7280;
    line-height: 1.6;
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 2rem;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Service Card Button */
.service-card .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card .btn-primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.service-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #5a5feb, #7c3aed);
}

.process-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    text-align: center;
    padding: 2rem;
}

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

/* ===== ABOUT PAGE STYLES ===== */
.about-hero {
    background: var(--gradient);
    color: white;
    padding: 8rem 0 4rem;
    text-align: center;
}

.about-content {
    padding: 4rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-card {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.stat-card h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* ===== MEDIA QUERIES FOR ABOUT PAGE ===== */

/* Large Desktop Screens (1440px and above) */
@media (min-width: 1440px) {
    .about-hero {
        padding: 10rem 0 5rem;
    }
    
    .about-content {
        padding: 5rem 0;
    }
    
    .about-grid {
        gap: 5rem;
        max-width: 1400px;
        margin: 0 auto;
    }
    
    .stat-card {
        padding: 2rem;
    }
    
    .stat-card h3 {
        font-size: 2.5rem;
    }
}

/* Standard Desktop (1024px - 1439px) */
@media (max-width: 1439px) and (min-width: 1024px) {
    .about-hero {
        padding: 7rem 0 3.5rem;
    }
    
    .about-content {
        padding: 3.5rem 0;
    }
    
    .about-grid {
        gap: 3rem;
    }
}

/* Small Desktop / Tablet Landscape (768px - 1023px) */
@media (max-width: 1023px) and (min-width: 768px) {
    .about-hero {
        padding: 6rem 0 3rem;
    }
    
    .about-content {
        padding: 3rem 0;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .stat-card {
        padding: 1.25rem;
    }
    
    .stat-card h3 {
        font-size: 1.75rem;
    }
}

/* Tablet Portrait (600px - 767px) */
@media (max-width: 767px) and (min-width: 600px) {
    .about-hero {
        padding: 5rem 0 2.5rem;
    }
    
    .about-hero h1 {
        font-size: 2.5rem;
    }
    
    .about-content {
        padding: 2.5rem 0;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.25rem;
    }
    
    .stat-card h3 {
        font-size: 1.5rem;
    }
}

/* Large Mobile (480px - 599px) */
@media (max-width: 599px) and (min-width: 480px) {
    .about-hero {
        padding: 4rem 0 2rem;
    }
    
    .about-hero h1 {
        font-size: 2.25rem;
    }
    
    .about-content {
        padding: 2rem 0;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.25rem;
    }
    
    .stat-card h3 {
        font-size: 1.75rem;
    }
}

/* Small Mobile (375px - 479px) */
@media (max-width: 479px) and (min-width: 375px) {
    .about-hero {
        padding: 3.5rem 0 1.5rem;
    }
    
    .about-hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .about-hero p {
        font-size: 1rem;
    }
    
    .about-content {
        padding: 1.5rem 0;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-card h3 {
        font-size: 1.5rem;
    }
    
    .stat-card p {
        font-size: 0.9rem;
    }
}

/* Extra Small Mobile (below 375px) */
@media (max-width: 374px) {
    .about-hero {
        padding: 3rem 0 1rem;
    }
    
    .about-hero h1 {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .about-hero p {
        font-size: 0.9rem;
    }
    
    .about-content {
        padding: 1rem 0;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .stat-card {
        padding: 0.875rem;
    }
    
    .stat-card h3 {
        font-size: 1.25rem;
    }
    
    .stat-card p {
        font-size: 0.85rem;
    }
}

/* Height-based media queries for very tall screens */
@media (min-height: 900px) and (min-width: 1024px) {
    .about-hero {
        min-height: 60vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

/* Height-based media queries for very short screens */
@media (max-height: 600px) and (orientation: landscape) {
    .about-hero {
        padding: 5rem 0 2rem;
    }
    
    .about-content {
        padding: 2rem 0;
    }
}

/* Print Styles */
@media print {
    .about-hero {
        background: #f8f9fa !important;
        color: #000 !important;
        padding: 2rem 0 !important;
    }
    
    .about-content {
        padding: 1rem 0 !important;
    }
    
    .stat-card {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
        break-inside: avoid;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .about-hero,
    .about-content,
    .about-grid,
    .stat-card {
        transition: none !important;
        animation: none !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .stat-card {
        border: 2px solid var(--text-primary) !important;
    }
    
    .about-hero {
        background: linear-gradient(135deg, #000, #333) !important;
    }
}

/* Dark Mode Adjustments for About Page */
@media (prefers-color-scheme: dark) {
    [data-theme="auto"] .stat-card {
        background: var(--bg-card);
        border-color: var(--border-color);
    }
}

/* Orientation-specific styles */
@media (orientation: portrait) and (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
}

@media (orientation: landscape) and (max-height: 500px) {
    .about-hero {
        padding: 4rem 0 2rem;
    }
    
    .about-content {
        padding: 1.5rem 0;
    }
}

/* 2K and 4K Screen Support */
@media (min-width: 2000px) {
    .about-hero {
        padding: 12rem 0 6rem;
    }
    
    .about-content {
        padding: 6rem 0;
        max-width: 1800px;
        margin: 0 auto;
    }
    
    .about-grid {
        gap: 6rem;
        max-width: 1600px;
    }
    
    .stat-card {
        padding: 2.5rem;
    }
    
    .stat-card h3 {
        font-size: 3rem;
    }
    
    .stat-card p {
        font-size: 1.25rem;
    }
}

/* Ultra-wide screens */
@media (min-width: 2000px) and (min-aspect-ratio: 21/9) {
    .about-content {
        max-width: 2000px;
    }
    
    .about-grid {
        grid-template-columns: 3fr 1fr;
        gap: 8rem;
    }
}

/* ===== CONTACT PAGE STYLES ===== */
.contact-hero {
    background: var(--gradient);
    color: white;
    padding: 8rem 0 4rem;
    text-align: center;
}

.contact-section {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info,
.contact-form {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.contact-info h2,
.contact-form h2 {
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

.contact-item:hover {
    background: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 40px;
    text-align: center;
}

.contact-item-content {
    flex: 1;
}

.contact-item h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-item p {
    color: var(--text-secondary);
    margin: 0;
}

/* Clickable Contact Items */
.contact-item.clickable {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.contact-item.clickable:hover {
    text-decoration: none;
    background: rgba(99, 102, 241, 0.05);
    border-color: var(--primary-color);
}

.contact-item.clickable,
.contact-item.clickable h3,
.contact-item.clickable p {
    color: inherit;
    text-decoration: none;
}

.clickable::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    transition: left 0.5s;
}

.clickable:active::before {
    left: 100%;
}

.contact-link {
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
    display: inline-block;
}

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

.clickable:hover .contact-link::after {
    width: 100%;
}

.click-hint {
    font-size: 0.8rem;
    color: var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: block;
    margin-top: 0.5rem;
}

.clickable:hover .click-hint {
    opacity: 1;
}

/* Auth Prompt */
.auth-prompt {
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.auth-prompt h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.auth-prompt p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

/* Contact Form Styles */
.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Submit Button */
.contact-form .btn {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* Dark Mode Specific Fixes */
[data-theme="dark"] .contact-info,
[data-theme="dark"] .contact-form {
    background: var(--bg-card);
    border-color: var(--border-color);
}

[data-theme="dark"] .contact-item {
    background: rgba(30, 41, 59, 0.5);
    border-color: var(--border-color);
}

[data-theme="dark"] .contact-item:hover {
    background: rgba(30, 41, 59, 0.8);
}

[data-theme="dark"] .contact-item.clickable:hover {
    background: rgba(99, 102, 241, 0.1);
}

[data-theme="dark"] .auth-prompt {
    background: var(--bg-card);
    border-color: var(--border-color);
}

/* Light Mode Specific Fixes */
[data-theme="light"] .contact-info,
[data-theme="light"] .contact-form {
    background: white;
    border-color: #e2e8f0;
}

[data-theme="light"] .contact-item {
    background: #f8fafc;
    border-color: #e2e8f0;
}

[data-theme="light"] .contact-item:hover {
    background: white;
}

[data-theme="light"] .contact-item.clickable:hover {
    background: rgba(99, 102, 241, 0.05);
}

[data-theme="light"] .auth-prompt {
    background: white;
    border-color: #e2e8f0;
}

/* Button Text Color Fix - IMPORTANT */
.auth-buttons .btn,
.contact-form .btn {
    color: white !important;
}

.auth-buttons .btn-secondary {
    background: transparent;
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .contact-hero {
        padding: 6rem 0 2rem;
    }
    
    .contact-section {
        padding: 2rem 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info,
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-item {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .auth-buttons {
        flex-direction: column;
    }
    
    .auth-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        padding: 5rem 0 1.5rem;
    }
    
    .contact-hero h1 {
        font-size: 2rem;
    }
    
    .contact-info,
    .contact-form {
        padding: 1.25rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .contact-item i {
        margin-bottom: 0.5rem;
    }
    
    .click-hint {
        opacity: 1; /* Always show on mobile */
        font-size: 0.75rem;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .contact-item {
        border: 2px solid var(--text-primary);
    }
    
    .contact-item.clickable:hover {
        border: 2px solid var(--primary-color);
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .contact-item,
    .clickable::before,
    .contact-link::after {
        transition: none;
    }
    
    .clickable::before {
        display: none;
    }
}

/* ===== REVIEWS SECTION STYLES ===== */
.reviews-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.section-header {
    margin-bottom: 3rem !important;
}

.lead{
    text-align: center;
}

.section-header h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.section-header .lead {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* Reviews Grid with Infinite Scroll */
.reviews-container {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.reviews-track {
    display: flex;
    gap: 2rem;
    animation: scrollHorizontal 40s linear infinite;
    padding: 1rem 0;
}

.reviews-track:hover {
    animation-play-state: paused;
}

/* Review Cards with Colorful Borders */
.review-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 3px solid;
    border-image: linear-gradient(135deg, #6366f1, #8b5cf6, #ec4899, #f59e0b) 1;
    animation: borderGlow 3s ease-in-out infinite;
    min-width: 350px;
    flex-shrink: 0;
}

.review-card:nth-child(6n+1) {
    border-image: linear-gradient(135deg, #6366f1, #8b5cf6, #ec4899, #f59e0b) 1;
}

.review-card:nth-child(6n+2) {
    border-image: linear-gradient(135deg, #10b981, #06b6d4, #3b82f6, #8b5cf6) 1;
}

.review-card:nth-child(6n+3) {
    border-image: linear-gradient(135deg, #f59e0b, #ef4444, #ec4899, #8b5cf6) 1;
}

.review-card:nth-child(6n+4) {
    border-image: linear-gradient(135deg, #06b6d4, #10b981, #f59e0b, #ef4444) 1;
}

.review-card:nth-child(6n+5) {
    border-image: linear-gradient(135deg, #ec4899, #8b5cf6, #6366f1, #3b82f6) 1;
}

.review-card:nth-child(6n+6) {
    border-image: linear-gradient(135deg, #f59e0b, #10b981, #06b6d4, #3b82f6) 1;
}

.review-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    animation-play-state: paused;
}

/* Review Header */
.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.reviewer-details {
    display: flex;
    flex-direction: column;
}

.reviewer-details strong {
    font-size: 1.1rem;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.project-name {
    font-size: 0.9rem;
    color: #6b7280;
    font-style: italic;
}

/* Review Rating */
.review-rating {
    display: flex;
    gap: 0.25rem;
}

.review-rating i {
    font-size: 1rem;
    color: #fbbf24;
}

/* Review Content */
.review-content {
    margin-bottom: 1.5rem;
}

.review-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #4b5563;
    font-style: italic;
    margin: 0;
    position: relative;
    padding-left: 1.5rem;
}

.review-content p::before {
    content: '"';
    font-size: 3rem;
    color: #6366f1;
    position: absolute;
    left: -0.5rem;
    top: -1rem;
    opacity: 0.3;
    font-family: serif;
}

/* Review Date */
.review-date {
    font-size: 0.9rem;
    color: #9ca3af;
    text-align: right;
}

/* No Reviews State */
.no-reviews {
    padding: 4rem 2rem;
}

.no-reviews-icon {
    font-size: 4rem;
    color: #d1d5db;
    margin-bottom: 1.5rem;
}

.no-reviews h4 {
    font-size: 1.5rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.no-reviews p {
    color: #9ca3af;
    font-size: 1.1rem;
}

/* Gradient Overlays for Smooth Edges */
.reviews-container::before,
.reviews-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.reviews-container::before {
    left: 0;
    background: linear-gradient(to right, 
        var(--bg-primary, white) 0%, 
        transparent 100%);
}

.reviews-container::after {
    right: 0;
    background: linear-gradient(to left, 
        var(--bg-primary, white) 0%, 
        transparent 100%);
}

/* ===== FLOATING ACTION BUTTON STYLES ===== */
.floating-contact-fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    display: none;
}

.fab-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fabBounce 3s infinite;
}

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

.fab-menu {
    position: absolute;
    bottom: 70px;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0.5rem;
}

.fab-menu.active {
    display: flex;
}

.fab-option {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.fab-option:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

/* Quick Action Buttons - Hidden by default */
.quick-actions-mobile {
    display: none;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-mobile-action {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    font-size: 0.9rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

/* ===== UTILITY CLASSES ===== */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.messages {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1000;
}

.message {
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    box-shadow: var(--shadow);
}

.message.success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

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

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem;
    background: var(--bg-card);
    border-radius: 1rem;
    border: 2px dashed var(--border-color);
}

.empty-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.empty-state h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.empty-state p {
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

/* ===== FOOTER STYLES ===== */
.footer {
    background: var(--bg-secondary);
    padding: 2rem 0;
    text-align: center;
    margin-top: 4rem;
}

/* ===== DARK MODE STYLES ===== */
[data-theme="dark"] {
    /* Color Variables for Dark Mode */
    --primary-color: #818cf8;
    --primary-dark: #6366f1;
    --secondary-color: #1e293b;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-card: rgba(30, 41, 59, 0.8);
    --border-color: #334155;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

/* Dark mode navigation */
[data-theme="dark"] .navbar {
    background: rgba(15, 23, 42, 0.95);
}

[data-theme="dark"] .logout-btn,
[data-theme="dark"] .mobile-logout-btn {
    color: #f1f5f9;
}

[data-theme="dark"] .hamburger-line {
    background: #f1f5f9; /* White in dark mode */
}

/* Dark mode project status adjustments */
[data-theme="dark"] .project-accepted {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
}

[data-theme="dark"] .project-reviewed {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

[data-theme="dark"] .project-rejected {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
}

[data-theme="dark"] .project-completed {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
}

[data-theme="dark"] .project-pending {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
}

[data-theme="dark"] .admin-edited-notice {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

[data-theme="dark"] .project-files,
[data-theme="dark"] .project-videos,
[data-theme="dark"] .zoom-meetings {
    background: rgba(30, 41, 59, 0.3);
}

[data-theme="dark"] .description-box {
    background: rgba(30, 41, 59, 0.5);
}

/* Dark mode contact page */
[data-theme="dark"] .contact-item {
    background: rgba(30, 41, 59, 0.5);
}

[data-theme="dark"] .clickable:hover {
    background: rgba(99, 102, 241, 0.1);
}

[data-theme="dark"] .fab-btn,
[data-theme="dark"] .fab-option {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .btn-success {
    background: #25D366;
}

[data-theme="dark"] .btn-success:hover {
    background: #128C7E;
}

[data-theme="dark"] .contact-item.clickable .contact-link {
    color: var(--primary-color);
}

[data-theme="dark"] .contact-item.clickable:hover .contact-link {
    color: var(--primary-dark);
}

/* Dark mode reviews section */
[data-theme="dark"] .reviews-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

[data-theme="dark"] .section-header h2 {
    background: linear-gradient(135deg, #818cf8, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="dark"] .section-header .lead {
    color: var(--text-secondary);
}

[data-theme="dark"] .review-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 2px solid;
    box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .review-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .reviewer-details strong {
    color: var(--text-primary);
}

[data-theme="dark"] .project-name {
    color: var(--text-secondary);
}

[data-theme="dark"] .review-content p {
    color: var(--text-secondary);
}

[data-theme="dark"] .review-content p::before {
    color: #818cf8;
}

[data-theme="dark"] .review-date {
    color: var(--text-secondary);
}

[data-theme="dark"] .no-reviews-icon {
    color: #475569;
}

[data-theme="dark"] .no-reviews h4 {
    color: var(--text-secondary);
}

[data-theme="dark"] .no-reviews p {
    color: var(--text-secondary);
}

[data-theme="dark"] .reviews-container::before {
    background: linear-gradient(to right, 
        var(--bg-primary) 0%, 
        transparent 100%);
}

[data-theme="dark"] .reviews-container::after {
    background: linear-gradient(to left, 
        var(--bg-primary) 0%, 
        transparent 100%);
}

/* Dark mode services section */
[data-theme="dark"] .services-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

[data-theme="dark"] .service-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .service-card:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .service-icon::before {
    background: linear-gradient(135deg, #818cf8, #a78bfa);
}

[data-theme="dark"] .service-icon i {
    background: linear-gradient(135deg, #818cf8, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="dark"] .service-card h1 {
    color: var(--text-primary);
}

[data-theme="dark"] .service-card h4 {
    color: var(--text-secondary);
}

[data-theme="dark"] .service-card .btn-primary {
    background: linear-gradient(135deg, #818cf8, #a78bfa);
    box-shadow: 0 4px 15px rgba(129, 140, 248, 0.3);
}

[data-theme="dark"] .service-card .btn-primary:hover {
    background: linear-gradient(135deg, #747cf0, #8b5cf6);
    box-shadow: 0 8px 25px rgba(129, 140, 248, 0.4);
}

[data-theme="dark"] .service-card::after {
    background: linear-gradient(135deg, 
        rgba(129, 140, 248, 0.05) 0%, 
        rgba(167, 139, 250, 0.05) 100%);
}

/* Dark mode project files */
[data-theme="dark"] .project-files {
    background: rgba(30, 41, 59, 0.8);
}

[data-theme="dark"] .file-item {
    background: rgba(30, 41, 59, 0.6);
}

[data-theme="dark"] .file-item:hover {
    background: rgba(30, 41, 59, 0.8);
}

/* Dark mode button adjustments */
[data-theme="dark"] .btn-primary {
    box-shadow: 
        0 2px 8px rgba(99, 102, 241, 0.4),
        0 4px 15px rgba(99, 102, 241, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -2px 0 rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .btn-primary:hover {
    box-shadow: 
        0 4px 15px rgba(99, 102, 241, 0.6),
        0 8px 25px rgba(99, 102, 241, 0.5),
        0 12px 35px rgba(99, 102, 241, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* ===== GLASSMORPHISM EFFECTS ===== */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .glass {
    background: rgba(30, 41, 59, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Apply glassmorphism to cards in dark mode */
[data-theme="dark"] .service-card,
[data-theme="dark"] .auth-card,
[data-theme="dark"] .form-card,
[data-theme="dark"] .project-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
}

/* ===== ANIMATIONS & KEYFRAMES ===== */

/* Button Animations */
@keyframes btnPulse {
    0%, 100% {
        box-shadow: 
            0 8px 25px rgba(99, 102, 241, 0.4),
            0 15px 35px rgba(99, 102, 241, 0.3),
            0 20px 45px rgba(99, 102, 241, 0.2);
    }
    50% {
        box-shadow: 
            0 8px 25px rgba(99, 102, 241, 0.6),
            0 15px 35px rgba(99, 102, 241, 0.5),
            0 20px 45px rgba(99, 102, 241, 0.4),
            0 0 30px rgba(99, 102, 241, 0.3);
    }
}

@keyframes successGlow {
    0% {
        box-shadow: 
            0 8px 25px rgba(37, 211, 102, 0.4),
            0 15px 35px rgba(37, 211, 102, 0.3);
    }
    100% {
        box-shadow: 
            0 8px 25px rgba(37, 211, 102, 0.6),
            0 15px 35px rgba(37, 211, 102, 0.5),
            0 0 30px rgba(37, 211, 102, 0.4);
    }
}

@keyframes btnSpin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes checkmarkPop {
    0% {
        transform: translate(-50%, -50%) scale(0) rotate(-180deg);
        opacity: 0;
    }
    70% {
        transform: translate(-50%, -50%) scale(1.2) rotate(10deg);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
        opacity: 1;
    }
}

@keyframes holographicShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes cardEntrance {
    0% {
        opacity: 0;
        transform: 
            translateY(30px) 
            scale(0.95) 
            rotateX(10deg);
    }
    100% {
        opacity: 1;
        transform: 
            translateY(0) 
            scale(1) 
            rotateX(0);
    }
}

/* Reviews Animations */
@keyframes scrollHorizontal {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-350px * var(--card-count) - 2rem * var(--card-count)));
    }
}

@keyframes borderGlow {
    0%, 100% {
        border-image-slice: 1;
        opacity: 1;
    }
    50% {
        border-image-slice: 2;
        opacity: 0.8;
    }
}

/* Services Animations */
@keyframes borderFlow {
    0%, 100% {
        background-position: 0% 50%;
        opacity: 1;
    }
    25% {
        background-position: 100% 50%;
    }
    50% {
        background-position: 100% 100%;
    }
    75% {
        background-position: 0% 100%;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FAB Animation */
@keyframes fabBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

/* File Items Animation */
@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ===== RESPONSIVE DESIGN ===== */

/* Mobile Styles (max-width: 768px) */
@media (max-width: 768px) {
    /* Navigation */
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }
    
    /* Hero Section */
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    /* Forms */
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    /* Contact Page */
    .contact-hero {
        padding: 6rem 0 2rem;
    }
    
    .contact-hero h1 {
        font-size: 2rem;
    }
    
    .contact-section {
        padding: 2rem 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info,
    .contact-form {
        padding: 1.5rem;
    }
    
    /* Enhanced mobile contact items */
    .contact-item {
        padding: 1.5rem;
        margin: 0.5rem 0;
        border-radius: 0.75rem;
        min-height: 80px;
        display: flex;
        align-items: center;
    }
    
    .contact-item.clickable {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Show mobile-specific elements */
    .quick-actions-mobile {
        display: flex;
    }
    
    .floating-contact-fab {
        display: block;
    }
    
    /* Adjust auth buttons for mobile */
    .auth-buttons {
        flex-direction: column;
    }
    
    .auth-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Always show click hints on mobile */
    .click-hint {
        opacity: 1;
        font-size: 0.75rem;
    }
    
    /* Enhanced touch feedback */
    .clickable:active {
        background: rgba(99, 102, 241, 0.1);
        transform: scale(0.98);
    }
    
    .btn-mobile-action:active {
        transform: scale(0.98);
    }
    
    /* Services Mobile */
    .services-section {
        padding: 3rem 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2.5rem 1.5rem;
    }
    
    .service-icon {
        font-size: 3.5rem;
        margin-bottom: 1.5rem;
    }
    
    .service-icon::before {
        width: 90px;
        height: 90px;
    }
    
    .service-card h1 {
        font-size: 1.6rem;
    }
    
    .service-card h4 {
        font-size: 1rem;
        min-height: 70px;
    }
    
    /* Reviews Mobile */
    .reviews-section {
        padding: 3rem 0 !important;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header .lead {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .reviews-track {
        gap: 1.5rem;
        animation-duration: 30s;
    }
    
    .review-card {
        min-width: 300px;
        padding: 1.5rem;
    }
    
    .review-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .review-rating {
        align-self: flex-start;
    }
    
    .review-content p {
        font-size: 1rem;
        padding-left: 1rem;
    }
    
    .review-content p::before {
        font-size: 2.5rem;
        left: -0.3rem;
        top: -0.8rem;
    }
    
    .no-reviews {
        padding: 3rem 1rem;
    }
    
    .no-reviews-icon {
        font-size: 3rem;
    }
    
    .reviews-container::before,
    .reviews-container::after {
        width: 50px;
    }
    
    /* Project Files Mobile */
    .project-files {
        padding: 1.5rem;
        margin-top: 1.5rem;
        border-radius: 12px;
    }
    
    .project-files h4 {
        font-size: 1.1rem;
        margin-bottom: 1.25rem;
    }
    
    .file-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.25rem;
    }
    
    .file-item i:first-child {
        align-self: flex-start;
        margin-top: 0.25rem;
    }
    
    .file-info {
        width: 100%;
    }
    
    .file-actions {
        width: 100%;
        justify-content: stretch;
    }
    
    .btn-download {
        flex: 1;
        justify-content: center;
        text-align: center;
        padding: 12px 16px;
        font-size: 0.85rem;
    }
    
    .file-meta small {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    /* Button Mobile Optimizations */
    .btn {
        transition: all 0.3s ease;
    }
    
    .btn:hover {
        transform: translateY(-2px) scale(1.01);
    }
    
    .btn:active {
        transform: translateY(0) scale(0.98);
    }
    
    /* Reduce animation intensity on mobile */
    @keyframes btnPulse {
        0%, 100% {
            box-shadow: 
                0 2px 12px rgba(99, 102, 241, 0.3),
                0 4px 15px rgba(99, 102, 241, 0.2);
        }
        50% {
            box-shadow: 
                0 2px 12px rgba(99, 102, 241, 0.5),
                0 4px 15px rgba(99, 102, 241, 0.4);
        }
    }
}

/* Small Mobile Styles (max-width: 480px) */
@media (max-width: 480px) {
    .contact-hero {
        padding: 5rem 0 1.5rem;
    }
    
    .contact-hero h1 {
        font-size: 1.75rem;
    }
    
    .contact-section {
        padding: 1.5rem 0;
    }
    
    .contact-info,
    .contact-form {
        padding: 1rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        padding: 1.25rem;
    }
    
    .contact-item i {
        margin-top: 0;
        font-size: 1.75rem;
    }
    
    .quick-actions-mobile {
        flex-direction: column;
    }
    
    .fab-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .fab-option {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Services Small Mobile */
    .services-section {
        padding: 2rem 0;
    }
    
    .service-card {
        padding: 2rem 1.25rem;
        margin: 0 0.5rem;
    }
    
    .service-icon {
        font-size: 3rem;
    }
    
    .service-icon::before {
        width: 80px;
        height: 80px;
    }
    
    .service-card h1 {
        font-size: 1.4rem;
    }
    
    .service-card h4 {
        font-size: 0.95rem;
        min-height: 60px;
    }
    
    .service-card .btn {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }
    
    /* Reviews Small Mobile */
    .reviews-section {
        padding: 2rem 0 !important;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .review-card {
        min-width: 280px;
        padding: 1.25rem;
    }
    
    .reviewer-info {
        gap: 0.75rem;
    }
    
    .reviewer-avatar {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .reviewer-details strong {
        font-size: 1rem;
    }
    
    .project-name {
        font-size: 0.8rem;
    }
    
    .reviews-track {
        animation-duration: 25s;
    }
    
    /* Project Files Small Mobile */
    .project-files {
        padding: 1.25rem;
        margin-top: 1.25rem;
    }
    
    .file-item {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .file-info strong {
        font-size: 1rem;
    }
    
    .file-desc {
        font-size: 0.85rem;
    }
    
    .file-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .btn-download {
        padding: 14px 16px;
        font-size: 0.9rem;
    }
}

/* Extra Small Mobile Devices (below 320px) */
@media (max-width: 320px) {
    .project-files {
        padding: 0.75rem;
    }
    
    .file-item {
        padding: 0.75rem;
    }
    
    .btn-download {
        padding: 10px 12px;
        font-size: 0.8rem;
    }
    
    .file-item i:first-child {
        font-size: 1.1rem;
        width: 35px;
    }
}

/* Desktop Styles (min-width: 769px) */
@media (min-width: 769px) {
    .mobile-menu {
        display: none !important;
    }
    
    .hamburger {
        display: none !important;
    }
    
    /* Desktop hover effects */
    .clickable:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
    }
    
    .floating-contact-fab {
        display: none;
    }
    
    .quick-actions-mobile {
        display: none;
    }
}

/* 3D Perspective Effect for Desktop */
@media (min-width: 1024px) {
    .auth-card,
    .form-card {
        perspective: 1000px;
    }
    
    .btn {
        transform-style: preserve-3d;
    }
    
    .btn:hover {
        transform: 
            translateY(-3px) 
            scale(1.02) 
            rotateX(5deg) 
            rotateY(1deg);
    }
    
    /* Services Desktop */
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 1.5rem;
    }
}

/* Tablets and Small Laptops (768px - 1024px) */
@media (max-width: 1024px) {
    .project-files {
        padding: 1.75rem;
        margin-top: 1.75rem;
    }
    
    .file-item {
        padding: 1.5rem;
        gap: 12px;
    }
    
    .file-item i:first-child {
        font-size: 1.5rem;
        width: 45px;
    }
    
    .btn-download {
        padding: 9px 14px;
        font-size: 0.8rem;
    }
}

/* ===== ACCESSIBILITY & SPECIAL FEATURES ===== */

/* High contrast support */
@media (prefers-contrast: high) {
    .contact-item {
        border: 2px solid var(--text-primary);
    }
    
    .click-hint {
        font-weight: bold;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .contact-item,
    .btn,
    .fab-btn {
        transition: none;
    }
    
    .fab-btn {
        animation: none;
    }
    
    .clickable::before {
        display: none;
    }
    
    .btn,
    .btn-primary,
    .btn-secondary,
    .btn-success {
        transition: opacity 0.3s ease;
        animation: none;
    }
    
    .btn:hover,
    .btn-primary:hover,
    .btn-secondary:hover,
    .btn-success:hover {
        transform: none;
        animation: none;
    }
    
    .btn-primary::before,
    .btn-secondary::before {
        display: none;
    }
    
    .file-item {
        animation: none;
        transition: none;
    }
    
    .file-item:hover {
        transform: none;
    }
    
    .btn-download:hover {
        transform: none;
    }
    
    .file-item.loading::after {
        animation: none;
        display: none;
    }
}

/* High DPI/Retina Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .file-item {
        border-width: 0.5px;
    }
}

/* Print Styles */
@media print {
    .project-files {
        background: white;
        border: 1px solid #ccc;
        box-shadow: none;
        backdrop-filter: none;
    }
    
    .file-item {
        background: white;
        border: 1px solid #ddd;
        break-inside: avoid;
    }
    
    .btn-download {
        display: none;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .file-item:hover {
        transform: none;
    }
    
    .btn-download:hover {
        transform: none;
    }
    
    .file-item:active {
        background: rgba(30, 41, 59, 0.9);
    }
    
    .btn-download:active {
        transform: scale(0.98);
    }
}

/* Focus States for Accessibility */
.btn-download:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.file-item:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Empty State for Files */
.files-grid:empty::before {
    content: "📁 No files or folders uploaded yet";
    color: var(--text-secondary);
    text-align: center;
    padding: 3rem 1rem;
    font-style: italic;
    font-size: 1.1rem;
    display: block;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 2px dashed var(--border-color);
}

/* Loading State for Files */
.file-item.loading {
    opacity: 0.7;
    pointer-events: none;
}

.file-item.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Service Card Animation Delays */
.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

/* Additional Card Background Effects for Services */
.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.02) 0%, 
        rgba(139, 92, 246, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 20px;
    z-index: -1;
}

.service-card:hover::after {
    opacity: 1;
}

/* Enhanced Hover Effects for Services */
.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card:hover .service-icon::before {
    opacity: 0.2;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Smooth transitions for Services */
.service-card,
.service-icon,
.service-icon::before,
.service-card .btn {
    transition: all 0.4s ease;
}

/* Enhanced hover effects for Reviews */
.review-card:hover .reviewer-avatar {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.review-card:hover .review-rating i {
    transform: scale(1.2);
}

/* Smooth transitions for Reviews */
.review-card,
.review-rating i,
.reviewer-avatar {
    transition: all 0.3s ease;
}

/* Light Mode Support for Project Files */
[data-theme="light"] .project-files {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .file-item {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .file-item:hover {
    background: rgba(255, 255, 255, 0.95);
}