/* --- savema/static/css/aboutus.css --- */

.text-brand { color: #852248 !important; }
.bg-brand { background-color: #852248 !important; }

.image-decoration {
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}

.image-decoration::before {
    content: "";
    position: absolute;
    top: -20px; left: -20px;
    width: 100%; height: 100%;
    border: 2px solid #852248;
    border-radius: 1rem;
    z-index: -1;
    opacity: 0.3;
    transition: transform 0.3s ease;
}

.image-decoration:hover::before {
    transform: translate(10px, 10px);
}

.about-img {
    object-fit: cover;
    min-height: 400px;
    width: 100%;
}

.about-text {
    font-size: 1.05rem;
    line-height: 1.9;
    text-align: justify;
    color: #6c757d;
}

.quote-box {
    margin-top: 1.5rem;
    padding-left: 1rem;
    border-left: 4px solid #852248 !important;
}

.history-section {
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
    position: relative;
    overflow: hidden;
    padding: 3rem 0;
    margin-top: 3rem;
}

.history-bg-icon {
    font-size: 8rem;
    color: #852248;
    opacity: 0.03;
    position: absolute;
    top: -20px;
    right: -20px;
    z-index: 0;
    transform: rotate(-15deg);
}


.history-card {
    position: relative;
    z-index: 1;
    border: none;
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075);
    transition: transform 0.3s;
}

.history-card:hover {
    transform: translateY(-5px);
}


.history-icon-box {
    width: 60px; height: 60px;
    background-color: #f8f9fa;
    color: #852248;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}


@media (max-width: 991px) {
    .image-decoration::before {
        top: -10px; left: -10px;
    }
    .about-img {
        min-height: 300px;
    }
}