/* Study Details Page - Modern Design */
.study-details-page {
    background: linear-gradient(135deg, #f8f9fa 0%, #eef2f7 100%);
}

.study-hero {
    position: relative;
    min-height: 340px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 74px;
}

.study-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
}

.study-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11, 43, 87, 0.92) 0%, rgba(15, 61, 120, 0.78) 45%, rgba(255, 107, 53, 0.55) 100%);
}

.study-hero__content {
    position: relative;
    z-index: 2;
    padding: 70px 0 60px;
}

.study-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 18px;
    backdrop-filter: blur(8px);
}

.study-hero__title {
    color: #fff;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 14px;
}

.study-hero__title span {
    background: linear-gradient(135deg, #ff6b35, #ffd166);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.study-hero__subtitle {
    color: rgba(255, 255, 255, 0.88);
    font-size: 17px;
    max-width: 640px;
    line-height: 1.7;
    margin-bottom: 28px;
}

.study-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.study-breadcrumb li {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
}

.study-breadcrumb li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.study-breadcrumb li a:hover {
    color: #ffd166;
}

.study-breadcrumb li:not(:last-child)::after {
    content: "/";
    margin-left: 10px;
    opacity: 0.5;
}

.study-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.study-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    padding: 12px 18px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(8px);
}

.study-stat-pill i {
    color: #ffd166;
}

.study-main {
    position: relative;
    padding: 70px 0 90px;
}

.study-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 30px;
    align-items: start;
}

.study-sidebar {
    position: sticky;
    top: 100px;
}

.study-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.study-card + .study-card {
    margin-top: 24px;
}

.study-card__header {
    padding: 22px 24px 16px;
    border-bottom: 1px solid #eef2f7;
}

.study-card__header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
}

.study-card__header p {
    margin: 6px 0 0;
    color: #7f8c8d;
    font-size: 14px;
}

.study-country-list {
    list-style: none;
    padding: 12px;
    margin: 0;
}

.study-country-list li a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    text-decoration: none;
    color: #2c3e50;
    font-weight: 600;
    transition: all 0.3s ease;
}

.study-country-list li a:hover {
    background: #f8fafc;
    color: #ff6b35;
    transform: translateX(4px);
}

.study-country-list li.active a {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: #fff;
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.35);
}

.study-country-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 107, 53, 0.12);
    color: #ff6b35;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.study-country-list li.active .study-country-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.study-country-text small {
    display: block;
    font-size: 12px;
    font-weight: 500;
    opacity: 0.75;
    margin-top: 2px;
}

.study-contact-card {
    padding: 24px;
    background: linear-gradient(135deg, #0b2b57 0%, #134074 100%);
    color: #fff;
}

.study-contact-card h4 {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.study-contact-card p {
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.7;
    margin-bottom: 20px;
}

.study-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.study-contact-item i {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #ffd166;
}

.study-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 8px;
    padding: 14px 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.study-contact-btn:hover {
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(255, 107, 53, 0.35);
}

.study-content-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.study-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 18px 18px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    border-bottom: 1px solid #eef2f7;
}

.study-tabs .nav-item {
    flex: 1 1 calc(20% - 10px);
    min-width: 130px;
}

.study-tabs .nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 16px 12px;
    border: 1px solid transparent;
    border-radius: 16px 16px 0 0;
    background: transparent;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    text-align: center;
    transition: all 0.3s ease;
}

.study-tabs .nav-link i {
    font-size: 18px;
    color: #94a3b8;
    transition: color 0.3s ease;
}

.study-tabs .nav-link:hover {
    color: #ff6b35;
    background: rgba(255, 107, 53, 0.06);
}

.study-tabs .nav-link:hover i {
    color: #ff6b35;
}

.study-tabs .nav-link.active {
    color: #ff6b35;
    background: #fff;
    border-color: #eef2f7;
    border-bottom-color: #fff;
    box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.05);
}

.study-tabs .nav-link.active i {
    color: #ff6b35;
}

.study-tab-content {
    padding: 36px;
}

.study-tab-pane {
    animation: studyFadeIn 0.35s ease;
}

@keyframes studyFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.study-tab-pane__header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eef2f7;
}

.study-tab-pane__icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.12), rgba(247, 147, 30, 0.18));
    color: #ff6b35;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.study-tab-pane__header h3 {
    margin: 0 0 4px;
    font-size: 24px;
    font-weight: 800;
    color: #2c3e50;
}

.study-tab-pane__header p {
    margin: 0;
    color: #7f8c8d;
    font-size: 14px;
}

.study-rich-content {
    line-height: 1.9;
    font-size: 16px;
    color: #475569;
}

.study-rich-content h1,
.study-rich-content h2,
.study-rich-content h3,
.study-rich-content h4,
.study-rich-content h5,
.study-rich-content h6 {
    color: #0b2b57;
    font-weight: 700;
    margin: 28px 0 14px;
    line-height: 1.35;
}

.study-rich-content p {
    margin-bottom: 18px;
}

.study-rich-content ul,
.study-rich-content ol {
    margin: 16px 0 22px;
    padding-left: 22px;
}

.study-rich-content li {
    margin-bottom: 10px;
}

.study-rich-content img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 20px 0;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.study-rich-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 22px 0;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.study-rich-content table th,
.study-rich-content table td {
    border: 1px solid #e2e8f0;
    padding: 12px 14px;
    text-align: left;
}

.study-rich-content table th {
    background: linear-gradient(135deg, #0b2b57, #134074);
    color: #fff;
}

.study-rich-content blockquote {
    margin: 24px 0;
    padding: 18px 22px;
    border-left: 4px solid #ff6b35;
    background: #fff7f2;
    border-radius: 0 14px 14px 0;
}

.study-empty-state {
    text-align: center;
    padding: 50px 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 18px;
    border: 1px dashed #cbd5e1;
}

.study-empty-state i {
    font-size: 42px;
    color: #ff6b35;
    margin-bottom: 16px;
}

.study-empty-state h4 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.study-empty-state p {
    color: #7f8c8d;
    margin-bottom: 0;
}

@media (max-width: 1199px) {
    .study-layout {
        grid-template-columns: 280px 1fr;
    }
}

@media (max-width: 991px) {
    .study-hero {
        min-height: 300px;
    }

    .study-layout {
        grid-template-columns: 1fr;
    }

    .study-sidebar {
        position: static;
    }

    .study-tabs .nav-item {
        flex: 1 1 calc(50% - 10px);
    }

    .study-tab-content {
        padding: 24px 18px;
    }
}

@media (max-width: 576px) {
    .study-hero__content {
        padding: 50px 0 40px;
    }

    .study-tabs {
        padding: 12px 12px 0;
    }

    .study-tabs .nav-item {
        flex: 1 1 100%;
    }

    .study-tabs .nav-link {
        flex-direction: row;
        justify-content: flex-start;
        border-radius: 12px;
        margin-bottom: 8px;
    }

    .study-tabs .nav-link.active {
        border-radius: 12px;
        box-shadow: 0 4px 16px rgba(255, 107, 53, 0.12);
    }
}
