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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f7fa;
    min-height: 100vh;
}

/* Navbar Styles */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.dvla-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo {
    color: #667eea;
    font-size: 24px;
    font-weight: 700;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.welcome-text {
    color: #555;
    font-size: 14px;
}

.welcome-text span {
    font-weight: 600;
    color: #333;
}

.logout-btn {
    padding: 10px 20px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logout-btn:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

/* Main Wrapper */
.main-wrapper {
    min-height: calc(100vh - 70px);
    padding: 40px 20px;
}

.dashboard-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

/* Search Section */
.search-section {
    width: 100%;
    margin-bottom: 50px;
}

.search-box {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.search-icon {
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 24px;
}

.search-input {
    width: 100%;
    padding: 25px 25px 25px 70px;
    font-size: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    outline: none;
    transition: all 0.3s;
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.search-input:focus {
    border-color: #667eea;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.15);
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px;
}

/* Project Card */
.project-card {
    background: white;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    border: 2px solid #f0f0f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    height: 400px;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.15);
    border-color: #667eea;
}

.project-image {
    height: 45%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.project-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-title {
    color: #1a1a1a;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.project-description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .search-input {
        font-size: 16px;
        padding: 20px 20px 20px 60px;
    }

    .search-icon {
        left: 20px;
        font-size: 20px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 10px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .logo {
        font-size: 18px;
    }
    
    .welcome-text {
        display: none;
    }
}
