@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    color: white;
    overflow-x: hidden;
}

/* Glass Effects */
.glass-effect {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(45deg, #3B82F6, #8B5CF6, #06B6D4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

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

.floating-animation {
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

.pulse-glow {
    animation: pulseGlow 2s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
    from {
        box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
    }
    to {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

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

.nav-link {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav-link:hover, .nav-link.active {
    background: rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(45deg, #3B82F6, #8B5CF6);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    padding: 12px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    font-weight: 500;
    padding: 12px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
}

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

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

.typing-text {
    border-right: 3px solid #3B82F6;
    animation: typing 4s steps(40, end), blink 1s infinite;
    white-space: nowrap;
    overflow: hidden;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink {
    0%, 50% { border-color: #3B82F6 }
    51%, 100% { border-color: transparent }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.floating-card {
    padding: 2rem;
    animation: float 6s ease-in-out infinite;
    max-width: 300px;
}

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

.card-dots {
    display: flex;
    gap: 0.5rem;
}

.card-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(45deg, #3B82F6, #8B5CF6);
}

.typing-animation {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.typing-animation i {
    font-size: 1.5rem;
    color: #3B82F6;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(45deg, #3B82F6, #8B5CF6);
    width: 0%;
    animation: progress 3s ease-in-out infinite;
}

@keyframes progress {
    0% { width: 0% }
    50% { width: 100% }
    100% { width: 0% }
}

.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    font-size: 2rem;
    color: rgba(59, 130, 246, 0.6);
    animation: floatIcons 8s ease-in-out infinite;
}

.floating-icon:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-icon:nth-child(2) {
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.floating-icon:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes floatIcons {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.6; }
    50% { transform: translateY(-30px) rotate(180deg); opacity: 1; }
}

/* Features Section */
.features {
    padding: 100px 0;
    background: linear-gradient(135deg, transparent 0%, rgba(59, 130, 246, 0.05) 100%);
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

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

.feature-card {
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(45deg, #3B82F6, #8B5CF6);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #3B82F6;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* About Ahmad Section */
.about-ahmad {
    padding: 100px 0;
    background: radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
}

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

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

.about-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 2rem;
}

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

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #3B82F6, #8B5CF6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.profile-card {
    padding: 2rem;
    text-align: center;
    max-width: 300px;
    margin: 0 auto;
}

.profile-avatar {
    font-size: 5rem;
    color: #3B82F6;
    margin-bottom: 1rem;
}

.profile-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.profile-info p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
}

/* Footer */
/* .footer {
    padding: 40px 0 20px;
    background: rgba(20, 20, 40, 0.95);
    border-top: 2px solid #00eaff;
    box-shadow: 0 -2px 30px rgba(0,0,0,0.2);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 1rem;
}

.footer-links a {
    color: #00eaff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #8B5CF6;
}

.footer-social {
    display: flex;
    gap: 1.2rem;
    font-size: 1.5rem;
}

.footer-social a {
    color: #fff;
    transition: color 0.2s;
}

.footer-social a:hover {
    color: #00eaff;
}

.footer-meta {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    text-align: center;
}

.footer-powered i {
    margin: 0 2px;
    color: #00eaff;
}

@media (max-width: 600px) {
    .footer-links { gap: 1rem; font-size: 0.95rem; }
    .footer-social { font-size: 1.2rem; }
} */

/* Dashboard Styles */
.dashboard {
    display: flex;
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
}

.sidebar {
    width: 280px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.sidebar.active {
    transform: translateX(0);
}

.sidebar-header {
    padding: 0 2rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    margin-bottom: 0.5rem;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: rgba(59, 130, 246, 0.1);
    color: white;
    border-left-color: #3B82F6;
}

.main-content {
    flex: 1;
    margin-left: 280px;
    padding: 2rem;
    transition: margin-left 0.3s ease;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.dashboard-card {
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.dashboard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(45deg, #3B82F6, #8B5CF6);
}

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

.card-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

.card-icon {
    font-size: 2rem;
    color: #3B82F6;
}

.card-content {
    color: rgba(255, 255, 255, 0.8);
}

.stat-big {
    font-size: 2.5rem;
    font-weight: 700;
    color: #3B82F6;
    margin-bottom: 0.5rem;
}

/* Form Styles */
.form-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 2rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #3B82F6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Enhanced Select Input Styling */
.form-select, select {
    width: 100%;
    padding: 16px 20px;
    border-radius: 16px;
    border: 2px solid rgba(45, 54, 88, 0.8);
    background: linear-gradient(145deg, #1a1f3a 0%, #151a2a 100%);
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 12px;
    padding-right: 3rem;
}

.form-select:focus, select:focus {
    outline: none;
    border-color: #00eaff;
    box-shadow: 0 0 0 4px rgba(0, 234, 255, 0.15), 0 8px 32px rgba(0, 234, 255, 0.1);
    transform: translateY(-2px);
    background: linear-gradient(145deg, #1e2538 0%, #1a1f3a 100%);
}

.form-select:hover, select:hover {
    border-color: rgba(0, 234, 255, 0.5);
    box-shadow: 0 4px 16px rgba(0, 234, 255, 0.1);
}

/* Select dropdown styling */
.form-select option, select option {
    background: #1a1f3a !important;
    color: #fff !important;
    padding: 12px 16px !important;
    border: none !important;
}

.form-select option:hover, select option:hover {
    background: #00eaff !important;
    color: #1a1f3a !important;
}

.form-select option:checked, select option:checked {
    background: linear-gradient(135deg, #00eaff, #8B5CF6) !important;
    color: #fff !important;
    font-weight: 600 !important;
}

/* For webkit browsers (Chrome, Safari, Edge) */
.form-select::-webkit-listbox, select::-webkit-listbox {
    background: #1a1f3a !important;
    border: 2px solid #00eaff !important;
    border-radius: 12px !important;
}

.form-select::-webkit-option, select::-webkit-option {
    background: #1a1f3a !important;
    color: #fff !important;
    padding: 12px 16px !important;
}

.form-select::-webkit-option:hover, select::-webkit-option:hover {
    background: #00eaff !important;
    color: #1a1f3a !important;
}

.form-select::-webkit-option:checked, select::-webkit-option:checked {
    background: linear-gradient(135deg, #00eaff, #8B5CF6) !important;
    color: #fff !important;
}

/* Firefox specific styling */
.form-select:-moz-focusring, select:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 #fff;
}

.form-select:-moz-focusring option, select:-moz-focusring option {
    color: #fff;
    background: #1a1f3a;
}

/* IE/Edge specific styling */
.form-select::-ms-expand, select::-ms-expand {
    display: none;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

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

/* Status Badges */
.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pending {
    background: linear-gradient(45deg, #F59E0B, #F97316);
    color: white;
}

.status-editing {
    background: linear-gradient(45deg, #8B5CF6, #A855F7);
    color: white;
}

.status-sample {
    background: linear-gradient(45deg, #06B6D4, #0891B2);
    color: white;
}

.status-payment {
    background: linear-gradient(45deg, #EF4444, #DC2626);
    color: white;
}

.status-completed {
    background: linear-gradient(45deg, #10B981, #059669);
    color: white;
}

.status-paid {
    background: linear-gradient(45deg, #10B981, #059669);
    color: white;
}

/* Enhanced Responsive Design */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 1.5rem;
    }
    .hero-container {
        gap: 3rem;
    }
    .dashboard-cards {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    .hero-title {
        font-size: 3rem;
    }
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .dashboard-cards {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        backdrop-filter: blur(20px);
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }

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

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

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }

    .stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .dashboard {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        position: relative;
        height: auto;
        transform: none;
    }

    .main-content {
        margin-left: 0;
        padding: 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }

    .dashboard-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .section-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .dashboard-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .projects-table {
        font-size: 0.9rem;
    }

    .projects-table th, 
    .projects-table td {
        padding: 10px 8px;
    }

    .project-title {
        font-size: 1rem;
    }

    .project-desc {
        font-size: 0.9rem;
    }

    .form-container {
        padding: 1rem;
    }

    .modal-content {
        padding: 1.5rem;
        margin: 1rem;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .container {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .main-content {
        padding: 1rem;
    }

    .dashboard-cards {
        gap: 0.75rem;
    }

    .dashboard-card {
        padding: 1.25rem;
    }

    .projects-table {
        font-size: 0.85rem;
    }

    .projects-table th, 
    .projects-table td {
        padding: 8px 6px;
    }

    .project-title {
        font-size: 0.95rem;
    }

    .project-desc {
        font-size: 0.85rem;
    }

    .project-status {
        font-size: 0.85rem;
        padding: 3px 10px;
    }

    .btn-primary, .btn-secondary {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .form-container {
        padding: 0.75rem;
    }

    .modal-content {
        padding: 1rem;
        margin: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

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

    .container {
        padding: 0 0.75rem;
    }

    .nav-container {
        padding: 0 0.75rem;
    }

    .main-content {
        padding: 0.75rem;
    }

    .dashboard-header h1 {
        font-size: 1.5rem;
    }

    .dashboard-header p {
        font-size: 0.9rem;
    }

    .dashboard-cards {
        gap: 0.5rem;
    }

    .dashboard-card {
        padding: 1rem;
    }

    .stat-big {
        font-size: 1.8rem;
    }

    .card-header h3 {
        font-size: 1rem;
    }

    .card-icon {
        font-size: 1.5rem;
    }

    .projects-table {
        font-size: 0.8rem;
    }

    .projects-table th, 
    .projects-table td {
        padding: 6px 4px;
    }

    .project-title {
        font-size: 0.9rem;
    }

    .project-desc {
        font-size: 0.8rem;
    }

    .project-status {
        font-size: 0.8rem;
        padding: 2px 8px;
    }

    .due-warning {
        font-size: 0.8rem;
    }

    .client-mobile {
        font-size: 0.8rem;
    }

    .btn-primary, .btn-secondary {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .action-btn {
        font-size: 1rem;
        margin-right: 8px;
    }

    .copy-link-btn {
        font-size: 1.1rem;
    }

    .form-container {
        padding: 0.5rem;
    }

    .form-input,
    .form-select,
    .form-textarea {
        padding: 8px 10px;
        font-size: 0.9rem;
    }

    .modal-content {
        padding: 0.75rem;
        margin: 0.25rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .main-content {
        padding: 0.5rem;
    }

    .dashboard-header h1 {
        font-size: 1.3rem;
    }

    .dashboard-cards {
        gap: 0.5rem;
    }

    .dashboard-card {
        padding: 0.75rem;
    }

    .stat-big {
        font-size: 1.6rem;
    }

    .card-header h3 {
        font-size: 0.9rem;
    }

    .card-icon {
        font-size: 1.3rem;
    }

    .projects-table {
        font-size: 0.75rem;
    }

    .projects-table th, 
    .projects-table td {
        padding: 4px 3px;
    }

    .project-title {
        font-size: 0.85rem;
    }

    .project-desc {
        font-size: 0.75rem;
    }

    .project-status {
        font-size: 0.75rem;
        padding: 2px 6px;
    }

    .btn-primary, .btn-secondary {
        padding: 6px 10px;
        font-size: 0.8rem;
    }

    .action-btn {
        font-size: 0.9rem;
        margin-right: 6px;
    }

    .copy-link-btn {
        font-size: 1rem;
    }
}

/* Login/Auth Page Styles */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
}

.auth-card {
    width: 100%;
    max-width: 400px;
    padding: 3rem;
    text-align: center;
}

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

.auth-header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: rgba(255, 255, 255, 0.6);
}

.auth-form {
    margin-bottom: 2rem;
}

.auth-footer {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.auth-footer a {
    color: #3B82F6;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Project Table */
.project-table {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-table th,
.project-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.project-table th {
    background: rgba(255, 255, 255, 0.1);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.project-table tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn-small {
    padding: 6px 12px;
    font-size: 0.8rem;
    border-radius: 8px;
}

.btn-edit {
    background: linear-gradient(45deg, #F59E0B, #F97316);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-edit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(245, 158, 11, 0.3);
}

.btn-delete {
    background: linear-gradient(45deg, #EF4444, #DC2626);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-delete:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(239, 68, 68, 0.3);
}

.btn-view {
    background: linear-gradient(45deg, #10B981, #059669);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-view:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
}

/* Alert Messages */
.alert {
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10B981;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #EF4444;
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #3B82F6;
}

/* Loading Spinner */
.spinner {
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid #3B82F6;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

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

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

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

.modal-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

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

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #EF4444;
}

/* File Upload Styles */
.file-upload {
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload:hover {
    border-color: #3B82F6;
    background: rgba(59, 130, 246, 0.05);
}

.file-upload.dragover {
    border-color: #3B82F6;
    background: rgba(59, 130, 246, 0.1);
}

.file-upload-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
}

.file-upload-text {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.file-upload-input {
    display: none;
}

.uploaded-files {
    margin-top: 1rem;
}

.uploaded-file {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.file-remove {
    background: none;
    border: none;
    color: #EF4444;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.file-remove:hover {
    background: rgba(239, 68, 68, 0.1);
}
 .user-dropdown {
            position: relative;
            display: inline-block;
        }
        .user-btn {
            background: none;
            border: none;
            color: #00eaff;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .dropdown-menu {
            display: none;
            position: absolute;
            right: 0;
            top: 38px;
            background: #232a4d;
            min-width: 180px;
            box-shadow: 0 4px 18px rgba(0,0,0,0.12);
            border-radius: 12px;
            z-index: 100;
            flex-direction: column;
        }
        .dropdown-menu.show {
            display: flex;
        }
        .dropdown-menu a {
            color: #fff;
            padding: 12px 18px;
            text-decoration: none;
            border-bottom: 1px solid #2e3557;
            transition: background 0.2s;
        }
        .dropdown-menu a:last-child { border-bottom: none; }
        .dropdown-menu a:hover {
            background: #00eaff22;
            color: #00eaff;
        }