/* Portfolio Assessment Site Styles */

:root {
    --primary-color: #232F3E;
    --secondary-color: #FF9900;
    --accent-color: #146EB4;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-bg: #f8f9fa;
    --dark-bg: #343a40;
}

/* Authentication Styles */
.auth-container {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    max-width: 400px;
    width: 100%;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.auth-header i {
    color: var(--secondary-color);
    margin-right: 10px;
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 153, 0, 0.25);
}

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

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

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

/* Main Portfolio Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

.navbar-brand {
    font-weight: 600;
}

.navbar-brand i {
    color: var(--secondary-color);
    margin-right: 8px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 120px 0 80px;
    margin-top: 56px;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.stat-item p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.hero-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-card h5 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.hero-card i {
    color: var(--secondary-color);
    margin-right: 8px;
}

/* Overview Cards */
.overview-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.overview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-color), #ffb84d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.card-icon i {
    font-size: 2rem;
    color: white;
}

.overview-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Project Cards */
.project-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.project-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.project-header i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-right: 10px;
}

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

.project-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
    font-size: 0.9rem;
}

.project-metrics span {
    background: var(--light-bg);
    padding: 5px 10px;
    border-radius: 20px;
    color: var(--primary-color);
}

.project-metrics i {
    color: var(--secondary-color);
    margin-right: 5px;
}

.project-actions {
    margin-top: auto;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.project-actions .btn {
    flex: 1;
    min-width: 120px;
}

/* Architecture Cards */
.architecture-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 100%;
}

.architecture-card h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.architecture-card i {
    color: var(--secondary-color);
    margin-right: 10px;
}

.architecture-diagram {
    background: var(--light-bg);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.architecture-diagram img {
    max-height: 180px;
    border-radius: 8px;
}

/* Contact Section */
.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.contact-info i {
    color: var(--secondary-color);
    margin-right: 10px;
    width: 20px;
}

/* Badges */
.badge {
    font-size: 0.75rem;
    padding: 5px 10px;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-success {
    background-color: var(--success-color) !important;
}

.bg-warning {
    background-color: var(--warning-color) !important;
    color: var(--primary-color) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-stats {
        justify-content: center;
    }
    
    .stat-item {
        min-width: 120px;
    }
    
    .project-actions {
        flex-direction: column;
    }
    
    .project-actions .btn {
        width: 100%;
    }
    
    .hero-section {
        padding: 100px 0 60px;
    }
    
    .auth-card {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .hero-stats {
        gap: 20px;
    }
    
    .stat-item h3 {
        font-size: 1.5rem;
    }
    
    .overview-card,
    .project-card,
    .architecture-card {
        padding: 20px;
    }
}

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

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

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

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Section Padding */
section {
    scroll-margin-top: 70px;
}
/* Personalized Greeting Modal */
.greeting-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.greeting-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    border: 1px solid #333;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    animation: greetingSlideIn 0.5s ease-out;
}

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

.greeting-header h2 {
    color: #10a37f;
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 600;
}

.greeting-header .user-name {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 400;
}

.greeting-header .user-name strong {
    color: #10a37f;
    font-weight: 700;
}

.greeting-body p {
    color: #b3b3b3;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.greeting-stats {
    display: flex;
    justify-content: space-around;
    margin: 30px 0;
    padding: 20px;
    background: rgba(16, 163, 127, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(16, 163, 127, 0.2);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #10a37f;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    color: #808080;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.greeting-footer {
    margin-top: 30px;
}

.greeting-footer .btn-primary {
    background: linear-gradient(135deg, #10a37f, #1a7f64);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.greeting-footer .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 163, 127, 0.3);
}