@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap");

/* ===================================
   BREADCRUMB SECTION
   =================================== */
.breadcrumb {
    background: url("../img/breadcrumb-bg.jpg");
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    margin-bottom: 0;
}

.breadcrumb h1 {
    font-family: "Source Sans 3", sans-serif;
    font-size: 42px;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* ===================================
   FACULTY FILTER SECTION
   =================================== */
.faculty-filter-section {
    background: #FFF4EA;
    padding: 30px 0;
    margin-bottom: 0;
}

.faculty-filter-dropdown {
    max-width: 250px;
}

.faculty-filter-dropdown select {
    background-color: #034B9F;
    border: none;
    color: #FFFFFF;
    padding: 14px 40px 14px 18px;
    border-radius: 8px;
    font-family: "Source Sans 3", sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23FFFFFF' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.faculty-filter-dropdown select:hover {
    background-color: #0c3d74;
    box-shadow: 0 4px 12px rgba(3, 75, 159, 0.3);
}

.faculty-filter-dropdown select:focus {
    outline: none;
    background-color: #0c3d74;
    box-shadow: 0 0 0 4px rgba(3, 75, 159, 0.2);
}

.faculty-filter-dropdown select option {
    background-color: white;
    color: #262626;
    padding: 10px;
    font-weight: 500;
}

.faculty-search {
    position: relative;
    max-width: 100%;
}

.faculty-search input {
    padding: 14px 45px 14px 18px;
    border: 2px solid #034B9F;
    border-radius: 8px;
    width: 100%;
    font-family: "Source Sans 3", sans-serif;
    font-size: 16px;
    background-color: #FFFFFF;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    color: #262626;
    cursor: text;
}

.faculty-search input:hover {
    border-color: #B84110;
    box-shadow: 0 4px 12px rgba(184, 65, 16, 0.15);
}

.faculty-search input:focus {
    outline: none;
    border-color: #B84110;
    box-shadow: 0 0 0 4px rgba(184, 65, 16, 0.1);
}

.faculty-search input::placeholder {
    color: #999;
    font-weight: 400;
}

.faculty-search .search-icon {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #034B9F;
    font-size: 18px;
    cursor: pointer;
    transition: color 0.3s ease;
    pointer-events: auto;
    z-index: 2;
}

.faculty-search .search-icon:hover {
    color: #B84110;
}

/* ===================================
   FACULTY CARDS SECTION
   =================================== */
.faculty-section {
    padding: 60px 0;
    background: #FFF4EA;
}

.faculty-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.faculty-card {
    background: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 420px;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.faculty-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(184, 65, 16, 0.15);
    border-color: rgba(184, 65, 16, 0.2);
}

.faculty-card-link:hover .faculty-card {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(184, 65, 16, 0.15);
    border-color: rgba(184, 65, 16, 0.2);
}

.faculty-img-wrapper {
    width: 100%;
    height: 260px;
    overflow: hidden;
    background: rgb(255, 255, 255);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faculty-img-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #B84110;
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.faculty-card:hover .faculty-img-wrapper::after {
    transform: scaleX(1);
}

.faculty-image {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.4s ease;
}


.faculty-card:hover .faculty-image {
    transform: scale(1.05);
}

.faculty-content {
    padding: 15px 20px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: white;
}

.faculty-name {
    font-family: "Source Sans 3", sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #B84110;
    margin-bottom: 4px;
    margin-top: 0;
    line-height: 1.3;
}

.faculty-designation {
    font-family: "Source Sans 3", sans-serif;
    font-size: 15px;
    color: #034B9F;
    margin-bottom: 4px;
    font-weight: 500;
    text-transform: capitalize;
}

.faculty-qualification {
    font-family: "Source Sans 3", sans-serif;
    font-size: 15px;
    color: #000000;
    margin-bottom: 4px;
    font-weight: 500;
    line-height: 1.4;
}

.faculty-department {
    font-family: "Source Sans 3", sans-serif;
    font-size: 15px;
    color: #000000;
    margin-bottom: 4px;
   line-height: 1.4;
    font-weight: 500;
}
.faculty-type {
    font-family: "Source Sans 3", sans-serif;
    font-size: 13px;
    color: #B84110;
    margin-bottom: 4px;
    font-weight: 600;
}
.faculty-email {
    font-family: "Source Sans 3", sans-serif;
    font-size: 14px;
    color: #034B9F;
    text-decoration: none;
    word-break: break-all;
    margin-top: auto;
    padding-top: 10px;
    border-top: 2px solid #FFF4EA;
    display: block;
    transition: all 0.3s ease;
    pointer-events: none;
}

.faculty-card-link:hover .faculty-email {
    color: #B84110;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1199px) {
    .faculty-img-wrapper {
        height: 280px;
    }
}

@media (max-width: 991px) {
    .breadcrumb {
        padding: 60px 0;
    }

    .breadcrumb h1 {
        font-size: 36px;
    }

    .faculty-img-wrapper {
        height: 260px;
    }

    .faculty-section {
        padding: 50px 0;
    }

    .faculty-filter-section {
        padding: 25px 0;
    }
}

@media (max-width: 767px) {
    .breadcrumb {
        padding: 50px 0;
    }

    .breadcrumb h1 {
        font-size: 32px;
    }

    .faculty-filter-section {
        padding: 20px 0;
    }

    .faculty-filter-section .mb-3 {
        margin-bottom: 15px !important;
    }

    .faculty-filter-section .mb-md-0 {
        margin-bottom: 15px !important;
    }

    .faculty-img-wrapper {
        height: 320px;
    }

    .faculty-section {
        padding: 40px 0;
    }
}

@media (max-width: 575px) {
    .breadcrumb {
        padding: 40px 0;
    }

    .breadcrumb h1 {
        font-size: 28px;
    }

    .faculty-filter-section {
        padding: 18px 0;
    }

    .faculty-filter-dropdown select,
    .faculty-search input {
        padding: 11px 38px 11px 16px;
        font-size: 15px;
    }

    .faculty-search .search-icon {
        right: 15px;
        font-size: 15px;
    }

    .faculty-img-wrapper {
        height: 300px;
    }

    .faculty-content {
        padding: 20px 15px;
    }

    .faculty-name {
        font-size: 19px;
    }

    .faculty-designation {
        font-size: 15px;
    }

    .faculty-qualification {
        font-size: 14px;
    }
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faculty-item {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.faculty-item:nth-child(1) {
    animation-delay: 0.1s;
}

.faculty-item:nth-child(2) {
    animation-delay: 0.15s;
}

.faculty-item:nth-child(3) {
    animation-delay: 0.2s;
}

.faculty-item:nth-child(4) {
    animation-delay: 0.25s;
}

.faculty-item:nth-child(5) {
    animation-delay: 0.3s;
}

.faculty-item:nth-child(6) {
    animation-delay: 0.35s;
}

.faculty-item:nth-child(7) {
    animation-delay: 0.4s;
}

.faculty-item:nth-child(8) {
    animation-delay: 0.45s;
}

.faculty-item:nth-child(9) {
    animation-delay: 0.1s;
}

.faculty-item:nth-child(10) {
    animation-delay: 0.15s;
}

.faculty-item:nth-child(11) {
    animation-delay: 0.2s;
}

.faculty-item:nth-child(12) {
    animation-delay: 0.25s;
}