.text-decoration-none {
    text-decoration: none;
}

.banner-content-btn {
    cursor: pointer;
}

.owl-carousel-2 .item {
    padding-inline: 1rem;
}

.percent-counter::after {
    content: counter(percent) !important;
    counter-reset: percent var(--percent);
    animation: count-up var(--duration) steps(1) forwards !important;
}

.flex-menu {
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
}

.main-noChild {
    text-decoration: none;
    color: var(--black);
}

.search-a {
    text-decoration: none;
    color: var(--primary-dark);
}

.service-a {
    text-decoration: none;
    color: var(--black);
}

.logo-link {
    z-index: 2;
}

.next-prev {
    margin-right: 10px;
}

html[dir="rtl"] .next-prev {
    margin-left: 10px;
}

.grecaptcha-badge {
    display: none;
}

.h-100 {
    height: 100%;
}

.w-100 {
    width: 100% !important;
}

.service-card {
    min-height: 100px;
}

.banner-item.remove-gradient::after {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    right: 0;
    background: unset;
    z-index: 0;
}

a.btn:hover {
    color: var(--bs-btn-hover-color);
    background-color: var(--bs-btn-hover-bg);
    border-color: var(--bs-btn-hover-border-color);
}

@media (max-width: 499px) {
    .pb-mobile {
        padding: 0;
        margin: 0;
    }
}

.faculty-icon {
    height: 4.0625rem;
    width: 4.8625rem;
}

td,
th {
    padding: 0.5rem 1rem;
    text-align: start !important;
}

.news-list {
    display: grid;
    grid-template-columns: calc(33% - 0.5rem) calc(33% - 0.5rem) calc(33% - 0.5rem);
    gap: 1rem;
    margin-bottom: 1rem;
}

.text-primary {
    color: var(--primary-dark);
}

.download-brochure {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    background-color: var(--primary-dark);
    color: white;
    padding: 10px 16px;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
}

    .download-brochure:hover {
        background-color: #0056b3;
        transform: translateY(-2px);
    }

    .download-brochure svg {
        margin-right: 8px;
        width: 20px;
        height: 20px;
        fill: white;
    }

.study-icon {
    height: 1.0625rem;
    width: 0.8625rem;
}

.btn-border {
    background-color: unset !important;
    border-radius: 0.75rem;
    color: var(--secondary);
    font-size: 1.5625rem;
    font-weight: 300;
    padding-inline: 1rem;
    padding-top: 0.2rem;
    padding-bottom: 0.3rem;
    border: 2px solid var(--secondary);
}

    .btn-border:hover {
        background-color: var(--secondary) !important;
        border-radius: 0.75rem;
        color: white !important;
        font-size: 1.5625rem;
        font-weight: 300;
        padding-inline: 1rem;
        padding-top: 0.2rem;
        padding-bottom: 0.3rem;
        border: 2px solid var(--secondary);
    }

#video-section .iframe {
    height: 15rem;
}

    #video-section .iframe img {
        height: 100% !important;
    }

    #video-section .iframe.img {
        height: 100%;
    }

.d-none {
    display: none !important;
}

.table-container table tr:first-child th,
.table-container table tr:first-child td {
    background-color: #183c99b3;
    color: white;
}

td p {
    margin: 10px;
}

/* Download PDF Cards Styles */
.download-cards-section {
    top: 2rem;
    padding-left: 1.2rem;
}

html[dir=rtl] .download-cards-section {
    padding-right: 1.2rem;
    padding-left: unset !important;
}

.download-section-title {
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    padding-bottom: 0.75rem;
}

.download-cards-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.download-card {
    background: white;
    border-radius: 10px;
    padding: 1.25rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

    .download-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        border-color: #3498db;
    }

    .download-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 4px;
        height: 100%;
        background: linear-gradient(135deg, #3498db, #2980b9);
        transform: scaleY(0);
        transition: transform 0.3s ease;
    }

    .download-card:hover::before {
        transform: scaleY(1);
    }

.download-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 12px;
    margin-bottom: 1rem;
    color: white;
    transition: all 0.3s ease;
}

.download-card:hover .download-card-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.download-card-content {
    flex: 1;
}

.download-card-title {
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.download-card-description {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.download-card-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

    .download-card-button:hover {
        background: linear-gradient(135deg, #2980b9, #1f5f8b);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
        color: white;
        text-decoration: none;
    }

    .download-card-button svg {
        transition: transform 0.3s ease;
    }

    .download-card-button:hover svg {
        transform: translateY(2px);
    }

/* Responsive Design */
@media (max-width: 991.98px) {
    .download-cards-section {
        margin-top: 2rem;
        position: static;
    }

    .download-cards-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 767.98px) {
    .download-cards-section {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }

    .download-section-title {
        font-size: 1.25rem;
    }

    .download-cards-container {
        grid-template-columns: 1fr;
    }

    .download-card {
        padding: 1rem;
    }

    .download-card-icon {
        width: 40px;
        height: 40px;
    }

    .download-card-title {
        font-size: 1rem;
    }

    .download-card-description {
        font-size: 0.85rem;
    }
}

/* Animation for cards appearing */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.download-card {
    animation: fadeInUp 0.6s ease forwards;
}

    .download-card:nth-child(1) {
        animation-delay: 0.1s;
    }

    .download-card:nth-child(2) {
        animation-delay: 0.2s;
    }

    .download-card:nth-child(3) {
        animation-delay: 0.3s;
    }

    .download-card:nth-child(4) {
        animation-delay: 0.4s;
    }

    .download-card:nth-child(5) {
        animation-delay: 0.5s;
    }

    .download-card:nth-child(6) {
        animation-delay: 0.6s;
    }

/* Focus states for accessibility */
.download-card-button:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* Loading state for download button */
.download-card-button.loading {
    pointer-events: none;
    opacity: 0.7;
}

    .download-card-button.loading svg {
        animation: spin 1s linear infinite;
    }

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.pdf-card.youtube {
    background-color: #fff;
    border: 1px solid #13358f75;
    align-items: center !important;
}

    .pdf-card.youtube:hover {
        box-shadow: 0 0 12px #13358f75;
        transform: translateY(-1px);
    }

.youtube svg {
    fill: var(--primary);
}

.speech-grid {
    grid-template-columns: calc(32% - 1rem) calc(32% - 1rem) calc(32% - 1rem);
}

.pdf-card.useful-link {
    background-color: #fff;
    border: 1px solid #13358f75;
    align-items: center !important;
}

    .pdf-card.useful-link:hover {
        box-shadow: 0 0 12px #13358f75;
        transform: translateY(-1px);
    }

.useful-link svg {
    fill: var(--primary);
}

/* --- Tabs Navigation --- */
.desktop-contacts {
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.tabs {
    display: flex;
    flex-direction: column;
    background-color: var(--primary);
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

html[dir=rtl] .tabs {
    border-top-left-radius: unset;
    border-bottom-left-radius: unset;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

.tab-link {
    padding: 10px 20px;
    cursor: pointer;
    border: none;
    background: none;
    font-size: 16px;
    transition: background 0.2s;
    text-align: start;
    align-items: center;
    display: flex;
    color: #fff;
}

.graduation-tabs {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 17px;
}

    .graduation-tabs .tab-link {
        padding: 10px 20px;
        cursor: pointer;
        background: none;
        font-size: 16px;
        transition: background 0.2s;
        text-align: start;
        align-items: center;
        display: flex;
        border-radius: 24px;
        color: var(--primary);
        border: 1px solid var(--primary);
    }

        .graduation-tabs .tab-link:hover {
            background-color: var(--primary);
            color: #fff;
        }

        .graduation-tabs .tab-link.active {
            background-color: var(--primary);
            color: #fff;
        }

.tab-link {
    padding: 10px 20px;
    cursor: pointer;
    border: none;
    background: none;
    font-size: 16px;
    transition: background 0.2s;
    text-align: start;
    align-items: center;
    display: flex;
    color: #fff;
}

    .tab-link:hover {
        color: var(--primary);
        background: #fff;
    }

    .tab-link.active {
        color: var(--primary);
        background: #fff;
    }

    .tab-link .colored-icon {
        display: none;
    }

    .tab-link:hover .colored-icon {
        display: block;
    }

    .tab-link.active .colored-icon {
        display: block;
    }

    .tab-link:hover .white-icon {
        display: none;
    }

    .tab-link.active .white-icon {
        display: none;
    }

    .tab-link.active {
        color: var(--primary);
        background: #fff;
    }

    .tab-link:first-child.active {
        border-top-left-radius: 20px;
    }

    .tab-link:first-child:hover {
        border-top-left-radius: 20px;
    }

    .tab-link:last-child.active {
        border-bottom-left-radius: 20px;
    }

    .tab-link:last-child:hover {
        border-bottom-left-radius: 20px;
    }

html[dir=rtl] .tab-link:first-child.active {
    border-top-left-radius: unset;
    border-top-right-radius: 20px;
}

html[dir=rtl] .tab-link:first-child:hover {
    border-top-left-radius: unset;
    border-top-right-radius: 20px;
}

html[dir=rtl] .tab-link:last-child.active {
    border-bottom-left-radius: unset;
    border-bottom-right-radius: 20px;
}

html[dir=rtl] .tab-link:last-child:hover {
    border-bottom-left-radius: unset;
    border-bottom-right-radius: 20px;
}

.tab-link {
    font-family: MU, sans-serif;
}

html[dir=rtl] .tab-link {
    font-family: MU-RTL, sans-serif;
}

.tab-link span {
    margin-right: 3px;
    margin-left: 3px;
}

/* --- Tab Content --- */
.tab-content {
    display: none;
    padding: 15px;
    border-radius: 10px;
}

    .tab-content.active {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .tab-content p {
        text-align: start !important;
    }

.mobile-contacts {
    display: none;
}

    .mobile-contacts .accordion-content p {
        text-align: start !important;
    }

.accordion-label.contact {
    justify-content: unset !important;
    background: var(--primary);
    color: #fff;
}

@media (max-width: 799px) {
    .pdf-card {
        margin-bottom: 10px;
    }

    .desktop-contacts {
        display: none;
    }

    .mobile-contacts {
        display: block;
    }
}
/* Main Content */
.main-content {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.calendar-container {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin: 0 auto;
}

.calendar-header {
    text-align: center;
    margin-bottom: 20px;
}

    .calendar-header h1 {
        color: #333;
        margin-bottom: 10px;
    }

.calendar-controls {
    margin-bottom: 20px;
    text-align: center;
}

.btn-success {
    background: #28a745;
}

    .btn-success:hover {
        background: #1e7e34;
    }

.btn-danger {
    background: #dc3545;
}

    .btn-danger:hover {
        background: #c82333;
    }

/* Custom event colors */
.event-meeting {
    background-color: #007bff !important;
    border-color: #0056b3 !important;
}

.event-deadline {
    background-color: #dc3545 !important;
    border-color: #c82333 !important;
}

.event-reminder {
    background-color: #ffc107 !important;
    border-color: #e0a800 !important;
    color: #212529 !important;
}

.event-success {
    background-color: #28a745 !important;
    border-color: #1e7e34 !important;
}

.study-program-desc div {
    gap: 5px;
}

.member-card.single {
    gap: 1rem;
    display: block;
    align-items: start;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid #eee;
    margin-top: 1rem;
}

/* podcasts */
.audio-player {
    width: 100%;
    padding-bottom: .8rem;
}

.controls {
    display: flex;
    align-items: center;
    gap: .625rem;
}

.play-pause-btn {
    border: 0rem;
    border-radius: 50%;
    width: 1.938rem;
    height: 1.938rem;
    padding-inline: .625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    background-color: var(--primary);
}

input[type=range] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    cursor: pointer;
    outline: 0;
    overflow: hidden;
    border-radius: 1rem;
    height: .438rem;
    background-color: #ddd;
}

.time {
    font-size: .75rem;
    display: flex;
    justify-content: flex-end;
    margin-top: -.625rem;
}

.play-pause-btn svg {
    height: .5rem;
    width: .5rem;
}

.poscast-list .news-card-des {
    width: 100%;
}

.poscast-list .news-card.news-cardinnerpage {
    box-shadow: var(--box-shadow);
}

.poscast-list .news-card {
    display: flex;
    flex-direction: row;
    margin-bottom: 1.0625rem;
    border-radius: var(--input-raduis);
    background-color: #fff;
    height: 8.875rem;
    position: relative;
}

.poscast-list {
    display: grid;
    grid-template-columns: calc(50% - 0.5rem) calc(50% - 0.5rem);
    gap: 1rem;
    margin-bottom: 1rem;
}

.podcast-item {
    display: grid;
    grid-template-columns: calc(30% - 0.5rem) calc(70% - 0.5rem);
    gap: 1rem;
    align-items: start;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid #eee;
    margin-top: 1rem;
}

.news-card-image {
    width: 200px;
    height: 200px;
}

.faculty-menu {
    min-height: 250px;
}

.list-style-none {
    list-style: none;
}

.ps-2 {
    padding-left: 10px;
}

html[dir="rtl"] .ps-2 {
    padding-left: unset;
    padding-right: 10px;
}

.list-style-none {
    list-style: none;
}

.ps-2 {
    padding-left: 10px;
}

html[dir="rtl"] .ps-2 {
    padding-left: unset;
    padding-right: 10px;
}

.map-locations .location {
    display: flex;
    flex-direction: column;
    gap: unset !important;
    align-items: start;
}

#gallery {
    border-radius: 20px;
}

.info-html {
    display: block !important;
    color: black
}

.add-border {
    border: 1px solid var(--primary);
    border-radius: 20px;
    padding: 1rem;
}

.mb-3 {
    margin-bottom: 2rem;
}

.add-color {
    position: relative;
    padding: 17px;
    text-align: justify;
}

    .add-color::before {
        content: "";
        position: absolute;
        background-color: #e8ebf4;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        top: 0;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100vw;
        z-index: -1;
    }

#video-section.Start{
    align-items: start;
}

#video-section.End{
    align-items: end;
}

.pattern {
    padding-inline: var(--padding-inline);
    padding-block: 4rem;
    background-color: #f8f8f8;
    background-image: url(/assets/images/testimonials-bg.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% auto;
}

.speech {
    flex-direction: row;
    gap: 20px;
}

@media(max-width: 750px) {
    iframe {
        width: 100%;
        height: 100%;
    }
}

.padding {
    padding: 1rem;
    padding-inline: 0;
}

.add-shadow{    
    padding: 0.5rem;
    border-radius: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.services{
    padding-top: 0 !important;
}

@media (max-width: 767.5px) {
    .news-list{
        display: block;
    }
    .member-card-desc {
        padding-block: 0.5em 1rem;
        padding-right: 1rem;
        padding-left: 1rem;
    }
    .member-card {
        display: grid;
        grid-template-columns: calc(100%);
    }
}