.university-hero {
        background: #F8F9FA;
        position: relative;
        overflow: hidden;
        padding: 2rem 0 2rem;
    }

    .university-hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        opacity: 0.5;
        pointer-events: none;
    }

    .hero-content {
        position: relative;
        z-index: 2;
    }

    .university-logo-wrapper {
        width: 90px;
        height: 90px;
        flex-shrink: 0;
        background: white;
        border-radius: 50%;
        padding: 12px;
        box-shadow: 0 5px 20px rgb(125 125 125 / 30%);
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .university-logo-wrapper img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        padding: 10px;
    }

    .university-logo-placeholder {
        width: 140px;
        height: 90px;
        background: rgba(255,255,255,0.15);
        border-radius: 45%;
        display: flex;
        align-items: center;
        justify-content: center;
        backdrop-filter: blur(10px);
        padding: 30px;
    }

    .hero-title {
        font-size: 1.5rem;
        font-weight: 600;
        color: #212529;
        margin-bottom: 0.5rem;
    }

    .hero-subtitle {
        color: #212529;
        font-size: 1.1rem;
        font-weight: 500;
    }

    .hero-motto {
        color: #212529;
        font-style: italic;
        font-size: 1rem;
        margin-top: 0.5rem;
    }

    .hero-badges {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
        margin-top: 1.5rem;
    }

    .hero-badge {
        background: rgba(255,255,255,0.25);
        backdrop-filter: blur(10px);
        padding: 0.5rem 1rem;
        border-radius: 50px;
        color: #212529;
        font-size: 0.9rem;
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        border: 1px solid rgb(169 169 169 / 30%);
    }

    /* Floating Stats Card */
    .floating-stats-card {
        background: white;
        border-radius: 16px;
        box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
        overflow: hidden;
    }

    .stats-header {
        background: #FFFFFF;
        padding: 1.25rem 1rem 1.25rem 1rem;
        display: flex;
        align-items: center;
        gap: 1rem;
        position: relative;
        border-bottom: 1px solid #f3f4f6;
    }

    .stats-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M20 20l-10-10v20l10-10zm0 0l10-10v20l-10-10z'/%3E%3C/g%3E%3C/svg%3E");
        opacity: 0.3;
    }

    .world-rank-badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: white;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        font-size: 0.85rem;
        font-weight: 800;
        color: #3E4145;
        box-shadow: 0 5px 20px rgba(0,0,0,0.15);
        position: relative;
        z-index: 1;
        flex-shrink: 0;
    }

    .rank-info {
        position: relative;
        z-index: 1;
    }

    .rank-label {
        color: #212529;
        font-weight: 700;
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    }

    .rank-sublabel {
        color: #212529;
        font-size: 0.75rem;
        margin-top: 0.15rem;
    }

    .stats-body {
        padding: 1rem 1.25rem;
    }

    .stat-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .stat-row:last-child {
        border-bottom: none;
    }

    .stat-label {
        color: #4b5563;
        font-size: 0.85rem;
        font-weight: 500;
    }

    .stat-value {
        font-weight: 700;
        color: #111827;
    }

    /* Main Content Area */

    .info-card {
        background: white;
        border-radius: 16px;
        box-shadow: 0 5px 30px rgba(0,0,0,0.08);
        overflow: hidden;
        margin-bottom: 1.5rem;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .info-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    }

    .card-header-custom {
        padding: 0.9rem;
        border-bottom: 1px solid #f0f0f0;
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .card-icon {
        width: 45px;
        height: 45px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.25rem;
        border: 1px solid rgb(169 169 169 / 30%);
    }

    .card-icon.primary { background: #F8F9FA; color: #3E4145; }
    .card-icon.success { background: #F8F9FA; color: #3E4145; }
    .card-icon.warning { background: #F8F9FA; color: #3E4145; }
    .card-icon.danger { background: #F8F9FA; color: #3E4145; }
    .card-icon.info { background: #F8F9FA; color: #3E4145; }
    .card-icon.purple { background: #F8F9FA; color: #3E4145; }

    .card-title-custom {
        font-size: 1rem;
        font-weight: 700;
        margin: 0;
        color: #111827;
    }

    .card-body-custom {
        padding: 15px 1.5rem 1.5rem 1.5rem;
    }

    /* Info Grid */
    .info-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .info-item {
        display: flex;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .info-icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        font-size: 0.9rem;
        border: 1px solid rgb(169 169 169 / 30%);
        color:#727986;
    }

    .info-content {
        flex: 1;
    }

    .info-label {
        font-size: 0.75rem;
        color: #6b7280;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 0.25rem;
        font-weight: 600;
    }

    .info-value {
        font-weight: 700;
        color: #1f2937;
        font-size: 0.95rem;
    }

    /* Tuition Cards */
    .tuition-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .tuition-card {
        text-align: center;
        padding: 0.5rem 1rem;
        border-radius: 12px;
        transition: transform 0.3s ease;
        color:#02188D;
    }


    .tuition-label {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
        font-weight: 600;
    }

    .tuition-amount {
        font-size: 0.8rem;
        font-weight: 800;
    }

    /* Metrics Cards */
    .metrics-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .metric-card {
        padding: 0.8rem;
        border-radius: 12px;
        text-align: center;
    }

    .metric-card.publications {
        border: 1px solid #dedede;;
    }

    .metric-card.citations {
        border: 1px solid #dedede;;
    }

    .metric-value {
        font-size: 1rem;
        font-weight: 700;
        margin-bottom: 0.25rem;
    }

    .metric-card.publications .metric-value { color: #02188D; }
    .metric-card.citations .metric-value { color: #02188D; }

    .metric-label {
        color: #374151;
        font-size: 0.9rem;
        font-weight: 600;
    }

    /* Programs Section */
    .programs-section {
        margin-top: 1rem;
    }

    .program-category {
        margin-bottom: 1.5rem;
    }

    .program-category:last-child {
        margin-bottom: 0;
    }

    .program-header {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 1rem;
    }

    .program-icon {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.9rem;
        border: 1px solid rgb(169 169 169 / 30%);
    }


    .program-title {
        font-weight: 700;
        font-size: 1rem;
        color: #111827;
        margin: 0;
    }

    .subject-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .subject-tag {
        padding: 0.25rem 0.6rem;
        border-radius: 6px;
        font-size: 0.8rem;
        font-weight: 500;
        background: #f8f9fa;
        color: #4b5563;
        border: 1px solid #e5e7eb;
        display: inline-block;
    }
    .subject-tag:hover {
        background: #e2e8f0;
    }

    /* Description Section */
    .description-text {
        line-height: 1.8;
        color: #374151;
        font-size: 1.05rem;
    }

    .description-text p {
        margin-bottom: 1.25rem;
    }

    .description-text p:last-child {
        margin-bottom: 0;
    }



    /* Sidebar */
    .sidebar-card {
        background: white;
        border-radius: 16px;
        box-shadow: 0 5px 30px rgba(0,0,0,0.08);
        overflow: hidden;
        margin-bottom: 1.5rem;
    }

    .sidebar-header {
        padding: 1rem 1.25rem;
        border-bottom: 1px solid #f0f0f0;
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    .sidebar-icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid rgb(169 169 169 / 30%);
        color:#727986;

    }

    .sidebar-title {
        font-size: 1rem;
        font-weight: 700;
        margin: 0;
        color: #111827;
    }

    .sidebar-body {
        padding: 0.5rem 1.25rem 1.25rem 1.5rem;
    }

    /* Location Items */
    .location-item {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 0.4rem 0;
    }

    .location-item:last-child {
        border-bottom: none;
    }

    .location-icon {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.85rem;
        border: 1px solid rgb(169 169 169 / 30%);
        color:#727986;
    }

    .location-label {
        font-size: 0.75rem;
        color: #6b7280;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-weight: 600;
    }

    .location-value {
        font-weight: 700;
        color: #1f2937;
        font-size: 0.9rem;
    }

    /* Rankings */
    .ranking-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0.5rem;
    }

    .ranking-item:last-child {
        margin-bottom: 0;
        border-bottom: 0px;
    }

    .ranking-label {
        font-weight: 600;
        color: #1f2937;
        font-size: 0.9rem;
    }

    .ranking-badge {
        padding: 0.35rem 0.75rem;
        border-radius: 50px;
        font-weight: 800;
        font-size: 0.85rem;
        color: white;
        text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    }

    .ranking-item.world .ranking-badge { background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); }
    .ranking-item.continent .ranking-badge { background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); }
    .ranking-item.country .ranking-badge { background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); }
    .ranking-item.city .ranking-badge { background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); color: white; }

    /* Social Links */
    .social-links {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .social-link {
        width: 45px;
        height: 45px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        color: white;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .social-link:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        color: white;
    }

    .social-link.facebook { background: #1877f2; }
    .social-link.twitter { background: #1da1f2; }
    .social-link.instagram { background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
    .social-link.linkedin { background: #0a66c2; }
    .social-link.youtube { background: #ff0000; }
    .social-link.alumni { background: #6c757d; }

    /* Website Button */
    .website-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        width: 100%;
        padding: 0.6rem 1rem;
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        color: white;
        border-radius: 8px;
        font-weight: 600;
        font-size: 0.85rem;
        text-decoration: none;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .website-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(65, 114, 255, 0.35);
        color: white;
    }

    /* Extended Content Sections */
    .extended-section {
        background: white;
        border-radius: 16px;
        box-shadow: 0 5px 30px rgba(0,0,0,0.08);
        overflow: hidden;
        margin-bottom: 1.5rem;
    }

    .extended-header {
        padding: 1.1rem 1.5rem;
        color: #111827;
        display: flex;
        align-items: center;
        gap: 0.75rem;
        border-bottom: 1px solid #f3f4f6;
    }

    .extended-title {
        font-size: 1.1rem;
        font-weight: 700;
        margin: 0;
    }

    .extended-body {
        padding: 1.5rem;
    }

    .extended-text {
        line-height: 1.8;
        color: #374151;
        font-size: 1.05rem;
    }

    .extended-text p {
        margin-bottom: 1.25rem;
    }

    .extended-text p:last-child {
        margin-bottom: 0;
    }

    /* Editor.js rendered output */
    .editorjs-content h1, .editorjs-content h2,
    .editorjs-content h3, .editorjs-content h4 {
        font-weight: 700; color: #1a1a2e; margin: 1.5rem 0 0.75rem;
    }
    .editorjs-content ul, .editorjs-content ol {
        padding-left: 1.5rem; margin-bottom: 1.25rem;
    }
    .editorjs-content li { margin-bottom: 0.4rem; }
    .editorjs-content blockquote {
        border-left: 4px solid #00198c;
        padding: 0.75rem 1.25rem;
        background: #f8f9ff;
        border-radius: 0 8px 8px 0;
        margin: 1.25rem 0;
        font-style: italic;
        color: #4a5568;
    }
    .editorjs-content table {
        width: 100%; border-collapse: collapse; margin-bottom: 1.25rem;
    }
    .editorjs-content td {
        border: 1px solid #e2e8f0; padding: 0.6rem 1rem; font-size: 0.95rem;
    }
    .editorjs-content .delimiter {
        text-align: center; margin: 2rem 0; color: #adb5bd; letter-spacing: 4px;
    }
    .editorjs-content .delimiter::before { content: "· · ·"; }
    .editorjs-content .alert {
        background: #fff8e1; border-left: 4px solid #f8961e;
        padding: 1rem 1.25rem; border-radius: 0 8px 8px 0; margin-bottom: 1.25rem;
    }
    .editorjs-content .alert__title { font-weight: 700; margin-bottom: 0.25rem; }
    .editorjs-content code {
        background: #f1f3f5; padding: 0.2rem 0.5rem;
        border-radius: 4px; font-size: 0.9rem; font-family: monospace;
    }



    /* Paragraph Readability */
    .extended-text p, .description-text p {
        font-size: 0.95rem;
        line-height: 2.0;
        letter-spacing: 0.3px;
        color: #4a5568;
        margin-bottom: 1.75rem;
    }

    /* Similar Universities */
    .similar-section {
        background: #f8f9fa;
        padding: 4rem 0;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
        font-weight: 800;
        color: #111827;
        margin-bottom: 0.5rem;
    }

    .section-subtitle {
        color: #4b5563;
        font-size: 1rem;
        font-weight: 500;
    }

    .similar-card {
        background: white;
        border-radius: 16px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.08);
        overflow: hidden;
        height: 100%;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .similar-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    }

    .similar-card-body {
        padding: 1.5rem;
    }

    .similar-logo {
        width: 60px;
        height: 60px;
        border-radius: 12px;
        background: #f8f9fa;
        padding: 8px;
        object-fit: contain;
    }

    .similar-logo-placeholder {
        width: 60px;
        height: 60px;
        border-radius: 12px;
        background: linear-gradient(135deg, #1e40af 0%, #4338ca 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
    }

    .similar-rank {
        display: inline-block;
        padding: 0.25rem 0.6rem;
        background: linear-gradient(135deg, #1e40af 0%, #4338ca 100%);
        color: white;
        border-radius: 50px;
        font-size: 0.75rem;
        font-weight: 700;
    }

    .similar-name {
        font-size: 1rem;
        font-weight: 700;
        color: #111827;
        margin: 0;
    }

    .similar-location {
        color: #4b5563;
        font-size: 0.875rem;
        font-weight: 500;
    }

    .similar-btn {
        display: block;
        width: 100%;
        padding: 0.75rem;
        text-align: center;
        background: #ffffff;
        color: #1e40af;
        font-weight: 700;
        text-decoration: none;
        transition: background 0.3s ease;
    }

    .similar-btn:hover {
        background: #1e40af;
        color: white;
    }

    /* Responsive */
    @media (max-width: 991px) {
        .hero-title { font-size: 1.4rem; }
        .university-logo-wrapper { width: 75px; height: 75px; padding: 8px; }
        .floating-stats-card { transform: none; margin-top: 20px; }
        .info-grid { grid-template-columns: 1fr; }
        .tuition-grid { grid-template-columns: 1fr; }
        .metrics-grid { grid-template-columns: 1fr; }
        .breadcrumb {
                    font-size: 14px;
                }
    }

    @media (max-width: 767px) {
        .university-hero { padding: 1.5rem 0 2rem; }
        .hero-title { font-size: 1.25rem; }
        .card-body-custom { padding: 15px 1rem 1rem 1rem; }
        .extended-body { padding: 1rem; }
        .sidebar-body { padding: 0.5rem 1rem 1rem 1rem; }
        .breadcrumb {
                    font-size: 13px;
                    line-height: 30px;
                }
    }