/* Custom CSS for IQF Education Website */

:root {
    --primary-color: #2F4B7C;
    --secondary-color: #9A2A2A;
    --accent-color: #B83B3B;
    --dark-color: #1F2937;
    --light-color: #F8FAFC;
    --text-color: #374151;
    --border-color: #E5E7EB;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.course-hero-section {
    position: relative;
    padding: 4rem 0;
    background-size: cover;
    background-position: center;
    color: white;
    height: 25rem;
}

.course-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(25, 33, 45, 0.3);
    z-index: 0;
}

.course-hero-section .container {
    position: relative;
    z-index: 0;
    align-items: center;
}

.hero-course-title {
    font-size: 3.5rem;
    font-weight: 700;
    z-index: 0;
    padding-top: 10px;
}

.hero-course-title2 {
    font-size: 3rem;
    font-weight: 700;
    z-index: 0;
}

.hero-course-level {
    font-size: 1.2rem;
    opacity: 0.9;
}

.hero-course-meta-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.hero-course-meta-card .price {
    color: white;
}

.hero-course-meta-card .course-meta li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.hero-course-meta-card .course-meta i {
    color: var(--accent-color);
    width: 20px;
    text-align: center;
}

/* Main Body Content */
.course-detail-body {
    background-color: white;
}

.course-info-section {
    margin-bottom: 2.5rem;
}

.course-info-section .info-title {
    font-weight: 600;
    font-size: 1.4rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.course-info-section p,
.course-info-section .info-list {
    color: var(--text-color);
    font-size: 1.05rem;
}

.course-info-section .info-list {
    list-style: none;
    padding-left: 0;
}

.course-info-section .info-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 0.5rem;
}

.course-info-section .info-list li::before {
    content: '\f058';
    /* Font Awesome check-circle icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary-color);
}

.course-level-tabs .nav-pills {
    gap: 1rem;
    /* Adds space between the buttons */
    justify-content: center;
}

.course-level-tabs .nav-pills .nav-link {
    font-size: 1rem;
    font-weight: 100;
    color: var(--text-color);
    background-color: var(--light-color);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 0.75rem 6rem;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

.course-level-tabs .nav-pills .nav-link:hover {
    background-color: #e9ecef;
}

.course-level-tabs .nav-pills .nav-link.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(139, 44, 139, 0.3);
}

.course-sidebar-card {
    background-color: var(--light-color);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    position: sticky;
    top: 120px;
}

.course-sidebar-card .price {
    color: var(--dark-color);
}

.course-sidebar-card .course-meta li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.course-sidebar-card .course-meta i {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

/* Accordion Styles */
.accordion-item {
    border: 1px solid var(--border-color);
    border-radius: 10px !important;
    overflow: hidden;
}

.accordion-button {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
    background-color: var(--light-color);
}

.accordion-button:not(.collapsed) {
    background: var(--primary-color);
    color: white;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .125);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(139, 44, 139, 0.25);
}

.accordion-button::after {
    filter: brightness(0) invert(1);
}

.accordion-button:not(.collapsed)::after {
    filter: none;
}

.accordion-body {
    padding: 1.5rem;
}

.course-modules-list {
    list-style: none;
    padding-left: 0;
}

.course-modules-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.course-modules-list li:last-child {
    border-bottom: none;
}

/* Header Styles */
.header-section {
    background: linear-gradient(135deg, var(--text-color), var(--dark-color));
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 2;
}

.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    margin-top: 0px;
    margin-bottom: 0px;
    padding-bottom: 0px;
    padding-top: 0px;
}

.navbar-brand .logo {
    height: 80px;
    width: auto;
}

.search-box {
    position: relative;
}

.search-box input {
    padding-right: 40px;
    border: none;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    width: 200px;
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-box input:focus {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    padding: 5px 10px;
}

#search-results {
    position: absolute;
    top: 120%;
    left: 0;
    width: 300px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1030;
    display: none;
    /* Hidden by default */
}

.search-result-item {
    display: block;
    padding: 12px 20px;
    color: var(--dark-color);
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s ease;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background-color: var(--light-color);
}

.search-result-item .title {
    font-weight: 600;
    display: block;
}

.search-result-item .category {
    font-size: 0.85rem;
    color: var(--text-color);
    opacity: 0.8;
}

.auth-buttons .btn {
    border-radius: 25px;
    padding: 8px 20px;
    font-weight: 500;
}

.navbar-nav .nav-link {
    color: white !important;
    font-weight: 400;
    margin: 0 px;5
    padding: 5px 10px !important;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background: rgba(255, 255, 255, 0.1);
    color: white !important;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin-top: 0px;
    z-index: 4;
}

.dropdown-item {
    padding: 10px 20px;
    transition: all 0.3s ease;
    z-index: 4;
}

.dropdown-item:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
}

.dropdown-submenu {
    position: relative;
    z-index: 4;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
}

.dropdown-submenu>.dropdown-toggle::after {
    border-top: 0.3em solid transparent;
    border-right: 0;
    border-bottom: 0.3em solid transparent;
    border-left: 0.3em solid;
    margin-left: 0.5em;
}

/*Mobile Style*/
@media(max-width: 991.98px) {
    .navbar-collapse {
        background-color: rgba(0, 0, 0, 0.2);
        border-radius: 10px;
        padding: 1rem;
        margin-top: 1rem;
    }

    .dropdown-menu {
        box-shadow: none;
        background-color: transparent;
        border: none;
    }

    .dropdown-item {
        color: rgba(255, 255, 255, 0.8);
        padding-left: 30px;
    }

    .dropdown-item:hover {
        color: white;
        background-color: transparent;
    }

    .dropdown-submenu>.dropdown-menu {
        position: static;
        display: none;
        width: 100%;
        padding-left: 15px;
    }

    .dropdown-submenu.show>.dropdown-menu {
        display: block;
    }

    .dropdown-submenu.show>.dropdown-item {
        display: block;
    }
}

/*Desktop Style*/
@media(min-width: 992px) {
    .dropdown:hover>.dropdown-menu {
        display: block;
    }

    .dropdown-submenu:hover>.dropdown-menu {
        display: block;
    }
}

.logo-subtitle {
    font-size: 1rem;
    font-weight: 450;
    line-height: 1;
    padding-left: 11px;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 82vh;
    color: white;
    overflow: hidden;
}

/* Carousel images */
.hero-slide {
    height: 82vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

/* Fixed overlay */
.hero-section::before {
    content: "";
    position: absolute;
    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    z-index: 1;
}

/* Text content */
.hero-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    z-index: 1;
    /* above overlay */
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons .btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Carousel Dots (Indicators) */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
    /* above overlay */
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background-color: rgba(255, 255, 255, 0.6);
    transition: background-color 0.3s, transform 0.3s;
}

.carousel-indicators button.active {
    background-color: #fff;
    transform: scale(1.2);
}

.carousel-indicators button:hover {
    background-color: #f8f9fa;
}

/* Partner Section */
.partner-section {
    background: var(--light-color);
    border-bottom: 1px solid var(--border-color);
}

.partner-badge {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.partner-badge:hover {
    opacity: 1;
}

/* Page Header */
.page-header {
    background: var(--primary-color);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.page-header2 {
    background: var(--dark-color);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Highlight Cards */
.highlight-section {
    background: white;
}

.highlight-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.highlight-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.highlight-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.highlight-card p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

/* Features Section */
.features-section {
    background: var(--light-color);
}

.feature-item {
    padding: 2rem;
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-item h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

/* Course Cards */
.courses-section {
    background: white;
}

.course-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.course-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.course-card .card-body {
    padding: 1.5rem;
}

.course-card .card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.course-info {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.course-info .badge {
    font-size: 0.9rem;
    padding: 8px 12px;
    border-radius: 20px;
}

/* Contact Form */
.contact-section {
    background: white;
}

.contact-form-wrapper {
    background: var(--light-color);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form .form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.contact-form .form-control,
.contact-form .form-select {
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(139, 44, 139, 0.25);
}

.contact-info-card {
    background: var(--light-color);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h5 {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.contact-details p {
    margin: 0;
    color: var(--text-color);
}

/* Footer */
.footer-section {
    background: var(--dark-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-section h5 {
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon2 {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: purple;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon2:hover {
    background: var(--dark-color);
    color: white;
    transform: translateY(-2px);
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 2rem 0 1rem;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(139, 44, 139, 0.3);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
    border-color: white;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.3;
    }

    .hero-course-title {
        font-size: 2.2rem;
    }

    .hero-course-title2 {
        font-size: 2.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons .btn {
        font-size: 1rem;
        padding: 12px 25px;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .highlight-card,
    .contact-form-wrapper,
    .contact-info-card {
        padding: 2rem;
    }

    .navbar-nav {
        background: rgba(0, 0, 0, 0.1);
        border-radius: 10px;
        margin-top: 1rem;
        padding: 1rem;
    }

    .search-box,
    .auth-buttons {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 70vh;
    }

    .hero-slide {
        height: 70vh;
    }

    .hero-section::before {
        top: 5%;
        left: 5%;
        width: 90%;
        height: 90%;
        border-radius: 15px;
    }

    .hero-content {
        top: 50%;
        left: 5%;
        transform: translateY(-50%);
        max-width: 90%;
        text-align: center;
        /* center content for mobile */
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-course-title {
        font-size: 1.8rem;
    }

    .hero-course-title2 {
        font-size: 1.8rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .carousel-indicators {
        bottom: 10px;
        gap: 6px;
    }

    .carousel-indicators button {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 60vh;
    }

    .hero-slide {
        height: 60vh;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-course-title {
        font-size: 1.5rem;
    }

    .hero-course-title2 {
        font-size: 1.5rem;
    }

    .hero-description {
        font-size: 0.85rem;
    }

    .carousel-indicators {
        bottom: 8px;
        gap: 5px;
    }

    .carousel-indicators button {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-course-title {
        font-size: 2rem;
    }

    .hero-course-title2 {
        font-size: 2rem;
    }

    .highlight-card,
    .contact-form-wrapper,
    .contact-info-card {
        padding: 1.5rem;
    }

    .feature-item {
        padding: 1rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Utility Classes */
.min-vh-75 {
    min-height: 75vh;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.featured-courses-section {
    background-color: var(--light-color);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 3rem;
}

.cta-section {
    background-color: var(--text-color);
    color: white;
    padding: 5rem 0;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.offerings-section {
    background-color: white;
}

.offering-card {
    background-color: var(--light-color);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2.5rem 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.offering-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.offering-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* --- Homepage - CMI Partner Section --- */
.cmi-partner-section {
    padding: 4rem 0;
    background-color: var(--light-color);
}

.cmi-partner-section img {
    max-width: 100%;
    height: auto;
    opacity: 0.8;
}

.cmi-partner-text h3 {
    font-weight: 700;
    color: var(--dark-color);
}

.cmi-partner-text p {
    font-size: 1.1rem;
    color: var(--text-color);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --- Become a Centre Page Styles --- */
.become-a-centre-page .contact-form-wrapper {
    height: 100%;
}

.process-steps-card {
    background-color: var(--light-color);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2.5rem;
    height: 100%;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.step-item:last-child {
    margin-bottom: 0;
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-content h5 {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
}

.step-content p {
    color: var(--text-color);
    line-height: 1.5;
}

.progression-intro-text h1 {
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.progression-intro-text p {
    font-size: 1.1rem;
    color: var(--text-color);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.university-logo-card {
    display: block;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 15px;
    background-color: white;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.university-logo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.university-logo-card img {
    max-width: 100%;
    height: auto;
    opacity: 1;
    transition: all 0.3s ease;
}

.university-logo-card:hover img {
    opacity: 1;
}