/* About Us Pages Styles - Consolidated */
.about-hero-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

.page-hero-section {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-success) 100%);
}

.page-hero-section.bg-success {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%) !important;
}

.page-hero-section.bg-warning {
    background: linear-gradient(135deg, #f39c12 0%, #f1c40f 100%) !important;
}

/* Navigation Cards */
.about-nav-card {
    transition: all 0.3s ease;
}

.about-nav-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important;
}

.about-nav-icon {
    transition: all 0.3s ease;
}

.about-nav-card:hover .about-nav-icon {
    transform: scale(1.1);
}

/* Content Styles */
.about-experience-image {
    border: 2px dashed #dee2e6;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.about-image-placeholder {
    min-height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f8f9fa;
    border-radius: 8px;
}

.corporate-content {
    line-height: 1.7;
    color: #5a6c7d;
}

.corporate-content h1,
.corporate-content h2,
.corporate-content h3,
.corporate-content h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.corporate-content p {
    margin-bottom: 1rem;
}

.corporate-content ul,
.corporate-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.corporate-content li {
    margin-bottom: 0.5rem;
}

/* Breadcrumb Styles */
.breadcrumb {
    background: transparent !important;
    padding: 0 !important;
}

.breadcrumb-item a {
    color: #6c757d;
}

.breadcrumb-item.active {
    color: #2c3e50;
    font-weight: 500;
}

/* Image Styles */
.about-image {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.about-image:hover {
    transform: scale(1.02);
}

/* Button Fixes - Consolidated */
.card-btn {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    font-weight: 500;
    transition: all 0.3s ease;
    display: block;
    width: auto;
    min-width: 160px;
    margin: 0 auto;
    max-width: 200px;
}

.card-btn:hover {
    background: linear-gradient(135deg, #34495e, #2c3e50);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Card content layout */
.card-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Quick Navigation */
.quick-nav {
    background: white;
    padding: 2rem 0;
    border-bottom: 1px solid #e9ecef;
}

.quick-nav .row {
    justify-content: center;
    text-align: center;
}

.quick-nav .col-md-3,
.quick-nav .col-6 {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.nav-btn {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    min-width: 200px;
    margin: 0.5rem 0;
}

.nav-btn:hover {
    background: linear-gradient(135deg, #34495e, #2c3e50);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Hero section buttons */
.hero-content .btn {
    display: inline-block;
    margin: 0.25rem;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .nav-btn {
        min-width: 180px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .card-btn {
        min-width: 140px;
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .quick-nav .col-md-3,
    .quick-nav .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Fix for card-text spacing */
.card-text {
    margin-bottom: 1rem;
    line-height: 1.6;
    text-align: justify;
}

/* Remove extra whitespace from HTML */
.card-text br {
    display: none;
}

/* Ensure proper text wrapping */
.card-content p {
    margin-bottom: 1rem;
}

.card-content p:last-child {
    margin-bottom: 0;
}
