/* Organization Profile Styles */

/* Organization Header */
.org-header {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%), 
                url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') center/cover;
    color: white;
    padding: 3rem 0;
    /* margin-bottom: 2rem; */
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.org-header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease-out;
}

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

.org-main-info {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    flex: 1;
}

.org-logo {
    flex-shrink: 0;
}

.org-logo-img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
    filter: grayscale(100%);
}

.org-details {
    flex: 1;
}

.org-name {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: white;
}

.org-type {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 0.5rem 0;
}

.org-location {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 0.5rem 0;
}

.org-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rating-stars {
    color: white;
    font-size: 1rem;
}

.rating-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.org-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-shrink: 0;
}

.org-action-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.org-action-btn.primary {
    background: var(--primary-blue);
    color: white;
    border: 2px solid white;
}

.org-action-btn.primary:hover {
    background: white;
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.org-action-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.org-action-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
}

/* Organization Stats */
.org-stats {
    background: white;
    padding: 2rem 0;
    margin-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
}

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

.stats-header h2 {
    margin: 0;
    flex: 1;
}

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

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
}

/* Profile Layout */
.profile-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Profile Content */
.profile-content {
    display: flex;
    flex-direction: column;
}

.profile-section {
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-light);
}

.profile-section:last-child {
    border-bottom: none;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 1.5rem 0;
}

/* About Section */
.about-content {
    line-height: 1.7;
}

.about-description {
    margin: 0 0 1rem 0;
    color: #495057;
    font-size: 1rem;
}

.about-description:last-child {
    margin-bottom: 0;
}

/* Expertise Grid */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.expertise-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border: 1px solid #e9ecef;
}

.expertise-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    filter: grayscale(100%);
}

.expertise-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 0.75rem 0;
}

.expertise-description {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0 0 1rem 0;
}

.expertise-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.expertise-stat {
    background: var(--primary-blue);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Projects List */
.projects-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.project-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border: 1px solid #e9ecef;
}

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

.project-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.project-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-status.completed {
    background: var(--bg-lighter);
    color: var(--text-dark);
}

.project-status.active {
    background: var(--bg-lighter);
    color: var(--text-dark);
}

.project-description {
    color: #6c757d;
    line-height: 1.6;
    margin: 0 0 1rem 0;
}

.project-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.project-amount,
.project-duration,
.project-location {
    background: white;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    color: #495057;
    border: 1px solid #dee2e6;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.team-member {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
}

.member-avatar {
    flex-shrink: 0;
}

.member-avatar-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    filter: grayscale(100%);
}

.member-info {
    flex: 1;
}

.member-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 0.25rem 0;
}

.member-title {
    font-size: 0.9rem;
    color: #495057;
    margin: 0 0 0.25rem 0;
}

.member-department {
    font-size: 0.8rem;
    color: #6c757d;
    margin: 0;
}

.team-member::after {
    content: '→';
    color: var(--primary-blue);
    font-size: 1.2rem;
    font-weight: 600;
    margin-left: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-member:hover::after {
    opacity: 1;
}

/* Profile Sidebar */
.profile-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-section {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-light);
}

.sidebar-section:last-child {
    border-bottom: none;
}

.sidebar-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 1rem 0;
}

/* Contact Information */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.contact-label {
    font-weight: 500;
    color: #495057;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.contact-value {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 0.9rem;
    text-align: right;
    word-break: break-word;
}

.contact-value:hover {
    text-decoration: underline;
}

/* Stats List */
.stats-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f3f4;
}

.stat-row:last-child {
    border-bottom: none;
}

.stat-label {
    font-weight: 500;
    color: #495057;
    font-size: 0.9rem;
}

.stat-value {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

/* Awards List */
.awards-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.award-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
}

.award-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    filter: grayscale(100%);
}

.award-info {
    flex: 1;
}

.award-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 0.25rem 0;
}

.award-issuer {
    font-size: 0.8rem;
    color: #6c757d;
    margin: 0;
}

/* Publications List */
.publications-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.publication-item {
    padding: 1rem;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
}

.publication-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 0.5rem 0;
}

.publication-date {
    font-size: 0.8rem;
    color: #6c757d;
    margin: 0 0 0.75rem 0;
}

.publication-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
}

.publication-link:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .profile-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .org-header-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .org-actions {
        flex-direction: row;
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .org-header {
        padding: 2rem 0;
        background-attachment: scroll;
    }
    
    .org-main-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .org-name {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .project-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .project-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .org-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .org-action-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-section {
        padding: 1.5rem;
    }
    
    .sidebar-section {
        padding: 1rem;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .contact-value {
        text-align: left;
    }
} 