:root {
    --primary-color: #003366;
    --accent-color: #e2b347;
    /* --background-color: #f1f5fc; */
    --filter-bg-start: #4b6cb7;
    --filter-bg-end: #182848;
}
body {
    font-family: sans-serif;
}
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../imag/Img-2.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: -1;
}

.deans-section {
    padding: 4rem 0;
    background: linear-gradient(to bottom right, var(--background-color), #e2e8f0);
}

.container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.header1 {
    text-align: center;
    margin-bottom: 2rem;
}

.title-container {
    display: inline-block;
}

.title-container h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .title-container h2 {
        font-size: 3rem;
    }
}

.title-underline {
    width: 6rem;
    height: 0.25rem;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    margin: 0 auto;
    border-radius: 9999px;
}

.header-text1 {
    font-size: 1.125rem;
    color: #4b5563;
    margin-top: 1.5rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

.deans-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .deans-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .deans-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.dean-card {
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: all 0.3s ease;
}

.dean-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.dean-card-content {
    padding: 1.5rem;
}

.image-container {
    position: relative;
    margin-bottom: 1.5rem;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 0.75rem;
    background: #f3f4f6;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-position: center;
    transition: transform 0.3s ease;
}

.dean-card:hover .image-container img {
    transform: scale(1.02);
}

.dean-info {
    text-align: center;
}

.dean-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.dean-card:hover .dean-info h3 {
    color: var(--accent-color);
}

.tenure {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background: linear-gradient(to right, #dbeafe, #f3e8ff);
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.tenure svg {
    width: 1rem;
    height: 1rem;
    margin-right: 0.25rem;
    fill: var(--primary-color);
}

.dean-info p {
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.5;
}

.card-border {
    height: 0.25rem;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}



.line {
    width: 2rem;
    height: 1px;
} 

.line.left {
    background: linear-gradient(to right, transparent, #d1d5db);
}

.line.right {
    background: linear-gradient(to left, transparent, #d1d5db);
}