/* Public Website Styles - PDSP Color Palette */
/* Primary: #1F4E8C | Secondary: #4A90E2 | Accent: #F4C542 */

:root {
    --pdsp-primary: #1F4E8C;
    --pdsp-secondary: #4A90E2;
    --pdsp-accent: #F4C542;
    --pdsp-bg-light: #F9FAFB;
    --pdsp-text-dark: #222222;
    --pdsp-text-grey: #6B7280;
    --pdsp-success: #28A745;
    --pdsp-error: #DC3545;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--pdsp-primary) 0%, var(--pdsp-secondary) 100%);
    color: white;
    padding: 80px 0;
    min-height: 500px;
}

.hero-section h1 {
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-section h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--pdsp-accent);
    margin-top: 15px;
    border-radius: 2px;
}

.hero-section .btn-primary {
    background: var(--pdsp-accent);
    border-color: var(--pdsp-accent);
    color: var(--pdsp-text-dark);
    font-weight: 600;
    padding: 12px 30px;
}

.hero-section .btn-primary:hover {
    background: #e5b535;
    border-color: #e5b535;
    color: var(--pdsp-text-dark);
}

.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border-left: 4px solid var(--pdsp-accent);
}

.stat-item i {
    font-size: 2rem;
    color: var(--pdsp-accent);
}

.stat-item h3 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
}

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

/* Staff Cards (Public - Limited View) */
.staff-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.staff-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.staff-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #f8f9fa;
}

.staff-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.staff-image.blurred img {
    filter: blur(10px);
}

.blur-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.4);
    color: white;
}

.blur-overlay i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.no-photo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e9ecef;
    color: #6c757d;
}

.no-photo i {
    font-size: 4rem;
}

.staff-info {
    padding: 20px;
}

.staff-info h5 {
    margin-bottom: 8px;
    color: #333;
}

.work-type {
    display: inline-block;
    background: rgba(31,78,140,0.1);
    color: var(--pdsp-primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.experience {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.skills {
    color: #6c757d;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.contact-hidden {
    background: #fff3cd;
    color: #856404;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

/* How It Works */
.how-it-works {
    background: var(--pdsp-bg-light);
}

.how-it-works h3 {
    color: var(--pdsp-primary);
    font-weight: 600;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--pdsp-primary) 0%, var(--pdsp-secondary) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(31,78,140,0.3);
}

.how-it-works h5 {
    color: var(--pdsp-primary);
    font-weight: 600;
}

/* Contact Section */
.contact-section {
    background: #fff;
}

.contact-buttons {
    margin-top: 30px;
}

.contact-buttons .btn {
    margin: 5px;
}

/* Client Login Page */
.client-login-page {
    background: linear-gradient(135deg, var(--pdsp-primary) 0%, var(--pdsp-secondary) 100%);
    min-height: 100vh;
}

.login-container {
    padding: 60px 0;
}

.login-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    border-top: 5px solid var(--pdsp-accent);
}

.login-card h3 {
    color: var(--pdsp-primary);
    font-weight: 700;
}

.login-card h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--pdsp-accent);
    margin: 15px auto;
    border-radius: 2px;
}

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

.login-card .btn-primary:hover {
    background: var(--pdsp-secondary);
    border-color: var(--pdsp-secondary);
}

/* Staff Card Full (Client Portal) */
.staff-card-full {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.staff-card-full:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.staff-image-full {
    height: 250px;
    overflow: hidden;
    background: #f8f9fa;
}

.staff-image-full img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-photo-full {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e9ecef;
    color: #6c757d;
}

.no-photo-full i {
    font-size: 5rem;
}

.staff-info-full {
    padding: 25px;
}

.staff-info-full h4 {
    margin-bottom: 10px;
    color: #333;
}

.work-type-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--pdsp-primary) 0%, var(--pdsp-secondary) 100%);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.skills-section {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.skills-section strong {
    color: #495057;
    display: block;
    margin-bottom: 5px;
}

.skills-section p {
    color: #6c757d;
    margin: 0;
    font-size: 0.9rem;
}

.hire-btn {
    background: var(--pdsp-success);
    border: none;
    padding: 12px;
    font-weight: 600;
}

.hire-btn:hover {
    background: #218838;
}

.staff-card-full .btn-info {
    background: var(--pdsp-secondary);
    border-color: var(--pdsp-secondary);
    color: white;
}

.staff-card-full .btn-info:hover {
    background: var(--pdsp-primary);
    border-color: var(--pdsp-primary);
}

/* Footer */
footer {
    margin-top: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .hero-stats {
        margin-top: 30px;
    }
    
    .staff-card,
    .staff-card-full {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .stat-item {
        padding: 15px;
    }
    
    .stat-item h3 {
        font-size: 1.4rem;
    }
    
    .login-card {
        padding: 25px;
        margin: 20px;
    }
    
    .contact-buttons .btn {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
    
    .staff-image,
    .staff-image-full {
        height: 180px;
    }
    
    .step-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .how-it-works h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 30px 0;
    }
    
    .hero-section h1 {
        font-size: 1.5rem;
    }
    
    .staff-info,
    .staff-info-full {
        padding: 15px;
    }
    
    .staff-info h5,
    .staff-info-full h4 {
        font-size: 1.1rem;
    }
    
    .work-type,
    .work-type-badge {
        font-size: 0.75rem;
        padding: 3px 10px;
    }
}

/* Alerts */
.alert {
    border-radius: 10px;
    border: none;
}

/* Forms */
.form-control:focus {
    border-color: var(--pdsp-secondary);
    box-shadow: 0 0 0 0.2rem rgba(74,144,226,0.25);
}

/* Footer */
footer {
    margin-top: 0;
    background: var(--pdsp-primary) !important;
}

footer a {
    color: var(--pdsp-accent) !important;
}

footer a:hover {
    color: white !important;
}

/* Contact Section */
.contact-section h2 {
    color: var(--pdsp-primary);
    font-weight: 700;
}

.contact-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--pdsp-accent);
    margin: 15px auto;
    border-radius: 2px;
}

/* Alerts */
.alert-success {
    background: rgba(40,167,69,0.1);
    border-color: var(--pdsp-success);
    color: var(--pdsp-success);
}

.alert-danger {
    background: rgba(220,53,69,0.1);
    border-color: var(--pdsp-error);
    color: var(--pdsp-error);
}

/* Navbar Public */
.navbar-dark {
    background: var(--pdsp-primary) !important;
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Badges */
.badge {
    padding: 8px 12px;
    font-weight: 500;
}
