/* About Pages Styling */

/* About Content */
.about-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    border-radius: 10px;
}

.about-subtitle h3 {
    color: #667eea;
    font-weight: 600;
}

.about-description {
    line-height: 1.8;
    color: #555;
}

.mission-section, .vision-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.mission-section h4, .vision-section h4 {
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.values-section h4 {
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.value-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.value-item:hover {
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.value-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.value-content i {
    font-size: 18px;
}

/* Vision Mission Cards */
.vision-card, .mission-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s ease;
}

.vision-card:hover, .mission-card:hover {
    transform: translateY(-5px);
}

.vision-card .card-header, .mission-card .card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    text-align: center;
}

.vision-card .card-header h3, .mission-card .card-header h3 {
    margin: 0;
    font-weight: 600;
}

.vision-card .card-body, .mission-card .card-body {
    padding: 30px;
}

.vision-image img, .mission-image img {
    width: 100%;
    border-radius: 10px;
    height: 200px;
    object-fit: cover;
}

.vision-description, .mission-description {
    line-height: 1.8;
    color: #555;
}

.values-section {
    background: #f8f9fa;
    padding: 50px 0;
    border-radius: 15px;
    margin-top: 30px;
}

.section-header h3 {
    color: #333;
    font-weight: 600;
    margin-bottom: 15px;
}

.value-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.value-icon i {
    font-size: 30px;
    color: white;
}

.value-content h4 {
    color: #333;
    font-weight: 600;
    margin-bottom: 15px;
}

.value-content p {
    color: #666;
    line-height: 1.6;
}

/* Blog-style sidebar widgets */
.sidebar-widget {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
}

.sidebar-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.05) 0%, rgba(23, 162, 184, 0.05) 100%);
    z-index: 1;
    pointer-events: none;
}

.sidebar-widget h4 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    z-index: 2;
    padding-bottom: 10px;
    border-bottom: 2px solid;
    border-image: linear-gradient(135deg, #28a745 0%, #20c997 100%) 1;
}

/* Recent posts styling */
.recent-posts-list {
    position: relative;
    z-index: 2;
}

.recent-post-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f1f3f4;
    transition: all 0.3s ease;
}

.recent-post-item:last-child {
    border-bottom: none;
}

.recent-post-item:hover {
    transform: translateX(5px);
}

.recent-post-image {
    flex-shrink: 0;
}

.recent-post-image img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.recent-post-placeholder {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.recent-post-content h6 {
    margin: 0 0 5px 0;
    font-size: 14px;
    line-height: 1.4;
}

.recent-post-content h6 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.recent-post-content h6 a:hover {
    color: #28a745;
}

.recent-post-date {
    color: #6c757d;
    font-size: 12px;
}

/* Recent posts navigation */
.recent-posts-navigation {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f1f3f4;
}

.navigation-info {
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
}

.navigation-buttons {
    display: flex;
    gap: 8px;
}

.nav-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: #f8f9fa;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
}

.nav-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.nav-btn i {
    font-size: 10px;
}

/* Quick links styling */
.quick-links-list {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quick-link-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 10px;
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.quick-link-item:hover {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    transform: translateX(5px);
    border-left-color: #28a745;
    text-decoration: none;
}

.quick-link-item i {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.quick-link-item span {
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about-content {
        padding: 20px;
    }
    
    .sidebar-widget {
        padding: 20px;
    }
    
    .recent-post-item {
        gap: 12px;
        padding: 12px 0;
    }
    
    .recent-post-image img,
    .recent-post-placeholder {
        width: 50px;
        height: 50px;
    }
    
    .recent-post-content h6 {
        font-size: 13px;
    }
    
    .recent-post-date {
        font-size: 11px;
    }
}
