@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
    --rz-primary-color: #3f3854;
    --rz-secondary-color: #E8A72B;
    --rz-lightpurple: #d3cad7;
    --rz-light: #fff;
    --rz-black: #000;
}

[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .navbar-nav {
    margin-left: 0 !important;
    margin-right: auto;
}

[dir="rtl"] .me-auto {
    margin-left: initial !important;
    margin-right: auto !important;
}


.bg__primary {
    background: var(--rz-primary-color);
}

.bg__secondary {
    background: var(--rz-secondary-color);
}

.bg__light_gray {
    background: rgba(246, 246, 246, 1);
}

.text__white {
    color: var(--rz-light);
}

.text__lightpurple {
    color: var(--rz-lightpurple);
}

.text__primary {
    color: var(--rz-primary-color);
}

.text__secondary {
    color: var(--rz-secondary-color);
}

.cursor-pointer,
.cursor-pointer * {
    cursor: pointer;
}

.fw-800 {
    font-weight: 800;
}

.fw-700 {
    font-weight: 700;
}

.fw-600 {
    font-weight: 600;
}

.sec_pad {
    padding: 80px 0;
}

.sec_padb {
    padding-bottom: 80px;
}

.line_height {
    line-height: 1.5;
}

.hover-effect {
    transition: all .5s ease;
}

.hover-effect:hover {
    transform: translateY(-10px);
}

.h-0 {
    height: 0;
}

body {
    font-family: 'Poppins', sans-serif;
}

.social-links svg {
    font-size: 20px;
    transition: all 0.3s ease-in-out;
}

.social-links button {
    transition: all 0.3s ease-in-out;
}

.social-links button:hover svg {
    color: var(--rz-primary-color) !important;
}

.social-links button:hover {
    transform: translateY(-5px);
}

.navbar.custom-navbar {
    z-index: 999;
    padding: 6px 0;
    position: absolute;
    left: 0;
    right: 0;
    box-shadow: none;
    transition: transform 0.5s ease-in-out, position 0.5s ease-in-out, box-shadow 0.5s ease-in-out;

}

/* 
.slide-down {
    transform: translateY(0);
    transition: transform 0.5s ease-in-out;
} */

.header.active .navbar.custom-navbar {
    background-color: #3f3854;
    left: 0;
    right: 0;
    position: fixed;
    box-shadow: 0px 0px 40px 0px rgba(0, 0, 0, 0.05);
}

.nav-item .nav-link {
    color: var(--rz-light);
}

.nav-link.active,
.nav-link:focus,
.nav-link:hover {
    color: var(--rz-secondary-color) !important;
}

.nav-item {
    padding-right: 20px;
}

.text_shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
}

.home-vector {
    top: 68rem;
    left: 0;
    bottom: 0;
    opacity: 0.5;
}

.home-vector2 {
    top: 0;
    right: 0;
    bottom: 0;
    opacity: 0.5;
    margin: auto;
}

.sec_title {
    color: var(--rz-primary-color);
    font-size: 42px;
    text-transform: capitalize;
    font-weight: 800;
    line-height: 1.55;
}

.story_content {
    border-top: 1px solid rgba(2, 36, 92, 1);
}

.story_title {
    color: rgba(0, 0, 0, 1);
    font-weight: 600;
    font-size: 18px;
    text-transform: capitalize;
    text-decoration: underline;
}

.story_title:hover {
    color: var(--rz-primary-color);
}

.card-title:hover {
    color: var(--rz-secondary-color);
}

.sec_bb {
    border-top: 2px solid var(--rz-primary-color);
}

.story_img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.first-story .story_img {
    height: 250px;
}

.author_name {
    text-decoration: underline;
}

.story_author {
    opacity: 0.7;
    font-size: 16px;
}

.category_name {
    border-bottom: 2px solid;
    width: max-content;
    margin: 0 auto;
}

.map-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--rz-secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.faculty-slider .slick-slide {
    padding: 15px 10px;
    box-sizing: border-box;
}


.para_text {
    font-size: 20px;
}

.page__subtitle {
    padding: 20px;
}

.page__subtitle h5 {
    font-size: 42px;

}

.banner__heading {
    font-size: 52px;
}

.page-banner {
    display: flex;
    align-items: center;
    position: relative;
    background-position: center;
    background-size: cover;
    z-index: 1;
}

.page-banner::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    background-color: #161616;
    opacity: 0.6;
}


.page-banner.common-banner::after {
    opacity: 0.6;
    background-color: #382d5b;
}

.subText {
    font-size: 36px;
    margin-bottom: 0;
}

.shadow_card {
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.25);
}

.card-style1 {
    border-radius: 2rem 2rem 0 0;
}

.custom-arrows {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.custom-prev,
.custom-next {
    cursor: pointer;
    font-size: 18px;
    color: var(--rz-secondary-color);
    margin: 0 10px;
    position: absolute;
    top: 40%;
    right: 55px;
    background: var(--rz-primary-color);
    border-radius: 50%;
    height: 45px;
    width: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.custom-next {
    right: -80px;
}

.custom-prev {
    left: -80px;
}

.custom-prev:hover,
.custom-next:hover {
    opacity: 0.9;
}

.slick-slide {
    padding: 20px 0;
}


.top-head th {
    background: var(--rz-primary-color);
    color: var(--rz-light);
    height: 55px;
    vertical-align: middle;
    padding-left: 10px;

}

.top-head th:first-child {
    border-top-left-radius: 12px;
}

.top-head th:last-child {
    border-top-right-radius: 12px;
}



.width_small {
    width: 9.24527%;
}

.width_large {
    width: 48.7278%;
}

.table>tbody>tr td {
    background-color: #e7e7e7;
}

.table>tbody>tr:nth-of-type(odd)>* {
    background-color: #f4f4f4;
}

.border_none td,
.border_none,
.table-striped>tbody>tr.border_none {
    border: 0;
    background: var(--rz-white) !important;
}

.loader-wrapper {
    /* height: 100vh; */
    display: flex;
    justify-content: center;
    align-items: center;
}

.dot-flashing {
    position: relative;
    width: 15px;
    height: 15px;
    border-radius: 10px;
    background-color: var(--rz-primary-color);
    color: var(--rz-primary-color);
    animation: dot-flashing 1s infinite linear alternate;
    animation-delay: 0.5s;
}

.dot-flashing::before,
.dot-flashing::after {
    content: "";
    display: inline-block;
    position: absolute;
    top: 0;
}

.dot-flashing::before {
    left: -20px;
    width: 15px;
    height: 15px;
    border-radius: 10px;
    background-color: var(--rz-primary-color);
    color: var(--rz-primary-color);
    animation: dot-flashing 1s infinite alternate;
    animation-delay: 0s;
}

.dot-flashing::after {
    left: 20px;
    width: 15px;
    height: 15px;
    border-radius: 10px;
    background-color: var(--rz-primary-color);
    color: var(--rz-primary-color);
    animation: dot-flashing 1s infinite alternate;
    animation-delay: 1s;
}

@keyframes dot-flashing {
    0% {
        background-color: var(--rz-primary-color);
    }

    50%,
    100% {
        background-color: #f8951e3d;
    }
}

.scroll-to-top {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 50;
    transition: all 1s ease-in-out;
    border-radius: 50%;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.scroll-to-top.show {
    transform: translateX(0);
    opacity: 1;
}

@media (min-width: 640px) {
    .scroll-to-top {
        bottom: 2rem;
        right: 2rem;
    }
}

.scroll-to-top button {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #3f3854;
    color: white;
    border-radius: 50%;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.141);
    border: 1px solid #3f3854;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0.5;
    transition: background-color 0.3s, color 0.3s, opacity 0.3s;
}

.scroll-to-top button:hover {
    opacity: 1;
}



.contact-area {
    background: var(--rz-primary-color);
    padding: 30px;
    border-radius: 22px;
}

#contactForm p {
    margin-bottom: 30px;
}

#contactForm .form-group {
    margin-bottom: 20px;
    position: relative;
}

#contactForm .form-group label {
    margin-bottom: 0;
    position: absolute;
    color: var(--rz-light);
}

#contactForm .form-group label i,
#contactForm .form-group label svg {
    position: absolute;
    top: 13px;
    left: 12px;
    display: inline-block;
    font-size: 14px;
    color: var(--rz-light);
}

#contactForm .form-group label a {
    color: var(--rz-secondary-color);
    transition: 0.5s all ease;
}

#contactForm .form-group label a:hover {
    color: var(--rz-primary-light);
}

#contactForm .form-group .form-check {
    display: flex;
    flex-direction: column;
}

#contactForm .form-group .form-control {
    height: 40px;
    border-radius: 0;
    background-color: transparent;
    padding-left: 40px;
    font-size: 15px;
    border: 0;
    color: var(--rz-light);
    border-bottom: 2px solid #7971cf;
}

#contactForm .form-group .form-control::placeholder {
    color: var(--rz-light);
}

#contactForm .form-group .form-control {
    height: 40px;
    border-radius: 0;
    background-color: transparent;
    padding-left: 40px;
    font-size: 15px;
    border: 0;
    border-bottom: 2px solid #fff;
}

#contactForm .form-group .form-control:focus {
    box-shadow: none;
}

#contactForm .form-group textarea {
    height: auto !important;
    padding-top: 13px;
    border-radius: 10px !important;
    background-color: transparent;
    padding-left: 40px;
    border: 2px solid #fff !important;
}

#contactForm .form-group .list-unstyled {
    font-size: 15px;
    margin-top: 10px;
    color: #dc3545;
}

#contactForm .text-danger {
    margin-bottom: 0;
    margin-top: 10px;
    font-size: 22px;
    color: #dc3545;
}

#contactForm .text-success {
    margin-bottom: 0;
    margin-top: 10px;
    font-size: 22px;
    color: #28a745;
}

.with-errors {
    font-size: 12px;
    color: #f27474;
    text-align: left;
}

.rtl-body .with-errors {
    text-align: right;
}

.table-wrapper {
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--rz-primary-color);
}

/* updates */
.card-container {
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background-color: white;
    font-family: 'Segoe UI', sans-serif;
    display: flex;
    flex-direction: column;
}

.card-top {
    position: relative;
    background-color: var(--rz-primary-color);
    height: 160px;
    clip-path: polygon(50% 100%, -160% 0%, 270% 0);
}

.card-image {
    width: 100%;
    height: auto;
    height: 150px;
    object-fit: cover;
    display: block;
    clip-path: polygon(50% 100%, -130% 0%, 240% 0%);
}

.card-badge {
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(8, 70, 171, 1);
    color: white;
    font-size: 12px;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: bold;
}

.card-body {
    padding: 20px 16px;
    text-align: center;
    flex: 1;
}

.card-text {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--rz-primary-color);
    color: white;
    padding: 12px 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.card-footer:hover {
    background: #0056d2;
}

.card-footer .arrow svg {
    transition: transform 0.3s ease-in-out;
}

.card-footer:hover .arrow svg {
    transform: translateX(10px);
    transition: transform 0.3s ease-in-out;
}

.arrow {
    font-size: 16px;
    background: #0056d2;
    position: absolute;
    right: 0;
    height: 100%;
    width: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faculty-slider .slick-dots {
    bottom: 0px;
}

.slick-dots li button:before {
    font-size: 10px !important;
}



.news_title {
    color: var(--rz-primary-color);
    font-size: 36px;
    font-weight: 600;
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-content>.tab-pane {
    display: block;
}

.faculty_img {
    height: 400px;
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
}

.post-card {
    border-radius: 16px;
    overflow: hidden;
}

.post-card-img {
    height: 200px;
    object-fit: cover;
}



.info-card {
    position: relative;
    background-color: var(--rz-primary-color);
    height: 230px;
    border-radius: 22px;
    overflow: hidden;
    display: flex;
}

.profile-img {
    width: 35%;
    padding: 12px 10px;
}

.profile-img img {
    border-radius: 15px;
    height: 207px;
    width: 190px;
    object-fit: cover;
}

.profile_text {
    padding: 35px 5px;
    width: 60%;
}

.hover-up-2:hover {
    transform: translateY(-5px);
}

.transition-normal {
    transition: all 0.25s cubic-bezier(0.02, 0.01, 0.47, 1);
}

.news_banner_img {
    height: 500px;
    object-fit: cover;
}

.delay-300 {
    animation-delay: 0.3s;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-down {
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInDown 0.6s ease-out forwards;
}

@keyframes fadeInDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.row-wrapper {
    min-height: 60vh;
}

.not-found {
    margin-top: 50px;
}

.page-item.active .page-link {
    background-color: var(--rz-primary-color);
    border-color: var(--rz-primary-color);
}

.pagination {
    gap: 10px;
}

.page-item .page-link {
    padding: 8px 15px !important;
    border-radius: 6px;
    font-size: 16px;
}

.border_bottom {
    border-bottom: 1px dashed #ccc;
    padding-top: 20px;
}

.border_bottom:last-child {
    border-bottom: none;
}

.rtl-body .unique-arrow {
    margin-right: .5rem;
    margin-left: 0;
}

.rtl-body .dropdown-columns li:hover a {
    transform: translateX(-5px);
}

.rtl-body .unique-card-accent {
    position: absolute;
    top: 0;
    right: 0;
    width: 6px;
    height: 0;
    background-color: #3f3854;
    transition: height .3s;
}

.rtl-body p.text-end {
    text-align: left !important;
}

.rtl-body .share_container.text-end {
    text-align: left !important;
}

.rtl-body #contactForm .form-group label {
    margin-bottom: 0;
    position: absolute;
    right: 30px;
}

.rtl-body #contactForm .form-group .form-control {
    height: 40px;
    border-radius: 0;
    background-color: #0000;
    padding-right: 30px;
    font-size: 15px;
    border: 0;
    border-bottom: 2px solid #fff;
}

#flipbook-container.fullscreen {
    position: relative;
}

#flipbook-container {
    background: #fff;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding-top: 0.5%;
}

#flipbook-container.fullscreen .flipbook-controls {
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 20px;
    border-radius: 8px;
    z-index: 1000;
}

.star-rating {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
}

.star-button {
    padding: 0 2px;
    cursor: pointer;
}

.nav-tabs .nav-link {
    color: #495057;
    border: none;
    padding: 0.5rem 0.5rem;
    font-weight: 500;
}

.nav-tabs .nav-link.active {
    color: #3f3854;
    background-color: transparent;
    border-bottom: 2px solid #3f3854;
}

.card {
    transition: transform 0.3s ease;
    border-radius: 10px;
}

.star-preview {
    display: flex;
    gap: 0.25rem;
    font-size: 1.5rem;
}

.ctdc-card {
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background-color: white;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.ctdc-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.ctdc-card-body {
    padding: 1rem;
    flex-grow: 1;
}

.ctdc-card-title {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.ctdc-card-title i {
    margin-left: 5px;
}

.ctdc-card-button {
    background-color: #3f345f;
    color: white;
    border: none;
    padding: 10px 1rem;
    border-radius: 8px;
    transition: 0.3s;
}

.ctdc-card-button:hover {
    background-color: #2e2648;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    color: #3f3854;
    font-size: 22px;
}

.swiper-button-next,
.swiper-button-prev {
    background: #f8f9fc;
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.swiper-button-next {
    right: -40px;
}

.swiper-button-prev {
    left: -40px;
}