/* About Page Specific Styles */

/* Main Container */
.about-page {
    width: 100%;
    padding-top: 70px;
}

.about-page .main-content {
    padding: 0;
    margin: 0;
}

.about-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.about-page .py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* Typography */
.about-page .display-4 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.about-page .fw-bold {
    font-weight: 700;
}

.about-page .lead {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.6;
}

.about-page .h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.about-page .h5 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.about-page .small {
    font-size: 0.875rem;
}

/* Text Utilities */
.about-page .text-center {
    text-align: center;
}

.about-page .text-dark {
    color: #212529;
}

/* Layout Grid */
.about-page .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -0.75rem;
}

.about-page .col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 0.75rem;
}

.about-page .col-lg-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding: 0 0.75rem;
}

.about-page .col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 0 0.75rem;
}

.about-page .col-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 0.75rem;
}

/* Margin Utilities */
.about-page .mb-3 {
    margin-bottom: 1rem;
}

.about-page .mb-4 {
    margin-bottom: 1.5rem;
}

.about-page .mb-5 {
    margin-bottom: 3rem;
}

.about-page .me-2 {
    margin-right: 0.5rem;
}

/* Cards */
.about-page .card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    overflow: hidden;
}

.about-page .card.h-100 {
    height: 100%;
}

.about-page .card.border-0 {
    border: none;
}

.about-page .card.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.about-page .card-body {
    padding: 1.5rem;
}

.about-page .card-body.p-4 {
    padding: 1.5rem;
}

.about-page .card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.about-page .card-text {
    color: #6c757d;
    line-height: 1.6;
}

/* Flexbox Utilities */
.about-page .d-flex {
    display: flex;
}

.about-page .d-inline-flex {
    display: inline-flex;
}

.about-page .flex-column {
    flex-direction: column;
}

.about-page .flex-wrap {
    flex-wrap: wrap;
}

.about-page .justify-content-center {
    justify-content: center;
}

.about-page .align-items-center {
    align-items: center;
}

.about-page .justify-content-between {
    justify-content: space-between;
}

/* Buttons */
.about-page .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
}

.about-page .btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    border-radius: 0.5rem;
}

.about-page .btn-outline-danger {
    color: #dc3545;
    background-color: transparent;
    border-color: #dc3545;
}

.about-page .btn-outline-danger:hover {
    color: white;
    background-color: #dc3545;
    border-color: #dc3545;
}

/* Icons */
.about-page .fa-2x {
    font-size: 2em;
}

.about-page .fa-3x {
    font-size: 3em;
}

/* Rounded Circle */
.about-page .rounded-circle {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Core Values Section */
.about-page .values-section .rounded-circle {
    width: 80px;
    height: 80px;
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    transition: all 0.3s ease;
}

.about-page .values-section .rounded-circle:hover {
    background-color: #dc3545;
    color: white;
    transform: translateY(-5px);
}

/* Stats Display */
.about-page .stats-display {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.about-page .stats-display .h3 {
    color: #dc3545;
}

/* Team Section */
.about-page .team-section .rounded-circle {
    width: 80px;
    height: 80px;
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    margin-bottom: 1.5rem;
}

/* CTA Section */
.about-page .cta-section {
    background: linear-gradient(135deg, #dc3545, #c82333);
    border-radius: 15px;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.2);
    padding: 3rem 2rem;
}

.about-page .cta-section h3,
.about-page .cta-section p {
    color: white;
    position: relative;
    z-index: 2;
}

.about-page .cta-section .btn-outline-danger {
    border-color: rgb(255, 255, 255);
    color: white;
}

.about-page .cta-section .btn-outline-danger:hover {
    background-color: white;
    color: #dc3545;
}

.about-page .cta-section .btn-danger {
    border-color: rgb(255, 255, 255);
    color: white;
}

.about-page .cta-section .btn-danger:hover {
    background-color: white;
    color: #dc3545;
}

/* Gap Utility */
.about-page .gap-3 {
    gap: 1rem;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .about-page .col-lg-6,
    .about-page .col-lg-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 767.98px) {
    .about-page .col-md-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .about-page .cta-section {
        padding: 2rem;
    }
    
    .about-page .values-section .rounded-circle {
        width: 60px;
        height: 60px;
    }
    
    .about-page .team-section .rounded-circle {
        width: 60px;
        height: 60px;
    }
    
    .about-page .display-4 {
        font-size: 2rem;
    }
}

@media (max-width: 575.98px) {
    .about-page .col-6,
    .about-page .col-md-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .about-page .py-5 {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}