:root {
    --about-red: #e73332;
    --about-blue: #0f4479;
    --about-dark: #052241;
    --about-light: #f4f8ff;
    --about-gold: #f7b94d;
}

.about-banner {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.about-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-card {
    padding: 0 0 0.5rem;
}

.management-message {
    background-color: #ffffff;
    border-radius: 1rem;
    border: 1px solid rgba(15, 68, 121, 0.08);
    padding: 1.75rem;
    box-shadow: 0 1.5rem 2.5rem rgba(15, 68, 121, 0.08);
}

.management-message img {
    width: 100%;
    height: 100%;
    max-height: 380px;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 1rem 1.75rem rgba(15, 68, 121, 0.12);
}

.section-title {
    font-size: 1.75rem;
    color: var(--about-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.about-card-header {
    display: inline-flex;
    align-items: center;
    padding: 0.85rem 1.5rem;
    background-color: var(--about-red);
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
    clip-path: polygon(
        0 0,
        calc(100% - 1rem) 0,
        100% 50%,
        calc(100% - 1rem) 100%,
        0 100%
    );
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.quote-panel {
    margin-top: 1.75rem;
    padding: 2.25rem 2rem;
    background-color: #fff;
    border-radius: 0.85rem;
    border: 1px solid rgba(15, 68, 121, 0.08);
    box-shadow: 0 1.5rem 2.5rem rgba(15, 68, 121, 0.08);
}

.quote-text {
    margin: 0;
    color: var(--about-blue);
    font-size: 1.9rem;
    line-height: 1.35;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.01em;
}

.quote-author {
    margin: 1.75rem 0 0;
    text-align: right;
    color: var(--about-blue);
    font-weight: 700;
    font-size: 1rem;
}

.about-sidebar {
    position: relative;
    min-height: 100%;
}

.sidebar-panel {
    position: relative;
    padding: 2.5rem 2rem 2rem 2.25rem;
    background-color: var(--about-dark);
    color: #fff;
    border-radius: 0.85rem;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 7% 100%, 0 88%);
    overflow: hidden;
    box-shadow: 0 1.5rem 2.5rem rgba(0, 0, 0, 0.18);
}

.sidebar-panel::before {
    content: "";
    position: absolute;
    top: 1.5rem;
    left: 0;
    width: 5rem;
    height: 2.2rem;
    background-color: var(--about-red);
    clip-path: polygon(0 0, 100% 0, 85% 50%, 100% 100%, 0 100%);
}

.sidebar-heading {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.sidebar-heading h2 {
    margin: 0;
    font-size: 1.9rem;
    letter-spacing: 0.02em;
    max-width: 65%;
}

.sidebar-circle {
    position: relative;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background-color: #0b3566;
    border: 10px solid #fff;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.12);
    display: grid;
    place-items: center;
}

.sidebar-icon-grid {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 0.4rem;
    padding: 0.4rem;
}

.sidebar-icon-grid i {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 0.75rem;
    font-size: 1rem;
}

.sidebar-menu {
    margin: 2rem 0 0;
    padding: 0;
}

.sidebar-menu li {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1rem;
    color: #f6d69b;
    font-size: 1rem;
    line-height: 1.5;
}

.sidebar-menu li:last-child {
    margin-bottom: 0;
}

.menu-icon {
    width: 2.4rem;
    height: 2.4rem;
    display: grid;
    place-items: center;
    background-color: rgba(255, 255, 255, 0.12);
    border-radius: 0.8rem;
    color: #fff;
    font-size: 1rem;
}

.sidebar-menu li span:last-child {
    color: #fff;
    font-weight: 600;
}

.active {
    width: 2.4rem;
    height: 2.4rem;
    display: grid;
    place-items: center;
    background-color: rgba(255, 255, 255, 0.12);
    border-radius: 0.8rem;
    color: var(--about-red);
    font-size: 1rem;
}

.testimonial-heading h3 {
    margin: 0;
    font-size: 1.65rem;
    color: var(--about-dark);
}

.testimonial-section .testimonial-card {
    position: relative;
    padding: 10px;
    background-color: #ffffff;
    border-radius: 2rem;
    box-shadow: 0 1.5rem 2.75rem rgba(15, 68, 121, 0.12);
    border: 1px solid rgba(15, 68, 121, 0.08);
    text-align: center;
}

.testimonial-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background-color: var(--about-red);
    border: 6px solid #fff;
    margin: 0 auto 1rem;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 2rem;
    box-shadow: 0 0.75rem 1.25rem rgba(15, 68, 121, 0.12);
}

.testimonial-name {
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--about-dark);
}

.testimonial-stars {
    display: inline-flex;
    gap: 0.15rem;
    margin-bottom: 1rem;
    color: #f7b94d;
    font-size: 0.95rem;
}

.testimonial-text {
    margin: 0;
    color: #4a5568;
    line-height: 1.8;
    font-size: 0.97rem;
}

.faculty-card {
    background-color: #ffffff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 1.5rem 2.5rem rgba(15, 68, 121, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.faculty-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 2.5rem 3.5rem rgba(15, 68, 121, 0.16);
}

.faculty-image-wrapper {
    width: 100%;
    overflow: hidden;
}

.faculty-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.faculty-info {
    padding: 1.5rem;
}

.faculty-name {
    margin: 0 0 0.65rem;
    font-size: 1.2rem;
    color: var(--about-dark);
    font-weight: 700;
}

.faculty-designation,
.faculty-subject {
    margin: 0;
    color: #4f5d72;
    line-height: 1.5;
}

.faculty-designation {
    font-weight: 600;
}

.faculty-subject {
    margin-top: 0.5rem;
    color: var(--about-red);
    font-weight: 700;
}

@media (max-width: 767.98px) {
    .faculty-image {
        height: 220px;
    }
}

@media (max-width: 991.98px) {
    .quote-panel {
        padding: 1.75rem 1.5rem;
    }

    .sidebar-panel {
        padding: 2rem 1.5rem 1.8rem;
    }

    .sidebar-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .sidebar-circle {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 767.98px) {
    .quote-text {
        font-size: 1.5rem;
    }

    .sidebar-menu li {
        font-size: 0.95rem;
    }

    .sidebar-circle {
        width: 100px;
        height: 100px;
    }
}
