:root {
    --primary-color: #0056b3;  
    --secondary-color: #495057;
    --dark-color: #212529;
    --light-color: #e9ecef;
    --accent-color: #17a2b8;   
    --footer-bg: #222;
    --footer-bottom-bg: #333;
}


.about-header {
    background: 
        linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url('../images/aboutbackground.jpeg') center/cover no-repeat;
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    color: white;
}


.about-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    z-index: -1;
}


.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

.text-center .section-title:after {
    left: 50%;
    transform: translateX(-50%);
}


.mission-card, 
.vision-card, 
.value-card, 
.focus-card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.mission-card:hover, 
.vision-card:hover {
    transform: translateY(-5px);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.focus-card:hover {
    transform: scale(1.03);
}


.icon-box {
    background-color: var(--primary-color);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
}

.btn-danger {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-danger:hover {
    background-color: #004494;
    border-color: #004494;
}

.btn-outline-danger {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-danger:hover {
    background-color: var(--primary-color);
    color: white;
}


.bg-danger {
    background-color: var(--primary-color) !important;
}

.counter-item h2 {
    font-weight: 700;
    color: white;
}


.about-image-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
}

.about-image-container img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.about-image-container:hover img {
    transform: scale(1.02);
}


footer {
    background-color: var(--footer-bg);
    color: white;
    padding: 40px 0;
}

footer h4 {
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
    padding-bottom: 5px;
}

footer a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    background-color: var(--footer-bottom-bg);
    padding: 15px 0;
    text-align: center;
}


@media (max-width: 992px) {
    .about-header {
        min-height: 50vh;
        text-align: center;
    }
    
    .about-image-container {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .about-header {
        min-height: 40vh;
        padding: 3rem 0;
    }
    
    .section-title:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .counter-item {
        margin-bottom: 2rem;
    }
    
    .counter-item h2 {
        font-size: 2.5rem;
    }
    
    .about-image-container img {
        max-height: 300px;
    }
    
    .icon-box {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}




.value-card {
    background-color: var(--primary-color) !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15) !important;
    transition: all 0.3s ease;
    color: var(--light-color) !important;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.2) !important;
}

.value-card i,
.value-card h4,
.value-card p {
    color: var(--light-color) !important;
}


.key-value-card {
    background-color: var(--primary-color);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    height: 100%;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.key-value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    z-index: -1;
}

.key-value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white;
    transition: transform 0.3s ease;
}

.key-value-card:hover .card-icon {
    transform: scale(1.1);
}

.key-value-card h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.key-value-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.6;
}

.history-content p.animate-words {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.history-content p.animate-words.visible {
    opacity: 1;
    transform: translateY(0);
}

.history-content p.animate-words:nth-child(1) { transition-delay: 0.1s; }
.history-content p.animate-words:nth-child(2) { transition-delay: 0.3s; }
.history-content p.animate-words:nth-child(3) { transition-delay: 0.5s; }
.history-content p.animate-words:nth-child(4) { transition-delay: 0.7s; }