/**
 * College Details Page Styles (SEO-Friendly & Mobile-Responsive)
 * Brand: medicalcounseling.in
 */

/* ===================================
   Hero Section
   =================================== */
.college-detail-hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 0 60px;
    position: relative;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    font-size: 14px;
}

.breadcrumb-nav a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
    color: var(--pure-white);
}

.breadcrumb-nav i {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

.breadcrumb-nav span {
    color: var(--pure-white);
    font-weight: 600;
}

.college-header {
    color: var(--pure-white);
}

.college-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--pure-white);
    margin-bottom: 24px;
    line-height: 1.2;
}

.college-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.meta-item i {
    color: var(--pure-white);
    font-size: 16px;
}

.meta-item span {
    color: var(--pure-white);
    font-size: 14px;
    font-weight: 500;
}

.college-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.btn-action {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-action.btn-primary {
    background: var(--medical-green);
    color: var(--pure-white);
    border-color: var(--medical-green);
}

.btn-action.btn-primary:hover {
    background: var(--medical-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46, 139, 87, 0.4);
}

.btn-action.btn-outline {
    background: transparent;
    color: var(--pure-white);
    border-color: var(--pure-white);
}

.btn-action.btn-outline:hover {
    background: var(--pure-white);
    color: var(--medical-navy);
}

/* ===================================
   Sticky Navigation
   =================================== */
.college-nav-sticky {
    background: var(--pure-white);
    border-bottom: 2px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.nav-tabs-modern {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.nav-tabs-modern::-webkit-scrollbar {
    height: 4px;
}

.nav-tabs-modern::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.nav-tabs-modern::-webkit-scrollbar-thumb {
    background: var(--medical-green);
    border-radius: 4px;
}

.nav-tabs-modern li {
    flex-shrink: 0;
}

.nav-tabs-modern a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-tabs-modern a:hover {
    color: var(--medical-green);
    background: rgba(46, 139, 87, 0.05);
}

.nav-tabs-modern a.active {
    color: var(--medical-green);
    border-bottom-color: var(--medical-green);
}

.nav-tabs-modern a i {
    font-size: 16px;
}

/* ===================================
   Content Section
   =================================== */
.college-content-section {
    padding: 60px 0;
    background: #F8F9FA;
}

.content-card {
    background: var(--pure-white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.content-header {
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-light);
}

.content-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--medical-navy);
    display: flex;
    align-items: center;
    gap: 12px;
}

.content-header h2 i {
    color: var(--medical-green);
    font-size: 28px;
}

.content-body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.content-body h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--medical-navy);
    margin-top: 32px;
    margin-bottom: 16px;
}

.content-body h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--medical-navy);
    margin-top: 24px;
    margin-bottom: 12px;
}

.content-body p {
    margin-bottom: 16px;
}

.content-body ul,
.content-body ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.content-body li {
    margin-bottom: 8px;
}

.content-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}

.content-body table th,
.content-body table td {
    padding: 12px;
    border: 1px solid var(--border-light);
    text-align: left;
}

.content-body table th {
    background: rgba(46, 139, 87, 0.1);
    color: var(--medical-navy);
    font-weight: 700;
}

.content-body table tr:nth-child(even) {
    background: #F8F9FA;
}

.content-empty {
    text-align: center;
    padding: 80px 20px;
}

.content-empty i {
    font-size: 64px;
    color: var(--border-light);
    margin-bottom: 24px;
}

.content-empty h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--medical-navy);
    margin-bottom: 12px;
}

.content-empty p {
    font-size: 16px;
    color: var(--text-secondary);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 991px) {
    .college-detail-hero {
        padding: 80px 0 40px;
    }

    .college-title {
        font-size: 32px;
    }

    .college-actions {
        justify-content: flex-start;
        margin-top: 20px;
    }

    .content-card {
        padding: 30px 24px;
    }

    .content-header h2 {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .college-detail-hero {
        padding: 60px 0 30px;
    }

    .college-title {
        font-size: 28px;
    }

    .college-meta {
        flex-direction: column;
        gap: 12px;
    }

    .meta-item {
        width: 100%;
    }

    .college-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-action {
        width: 100%;
        justify-content: center;
    }

    .nav-tabs-modern {
        gap: 8px;
        padding: 0 16px;
    }

    .nav-tabs-modern a {
        padding: 12px 16px;
        font-size: 13px;
    }

    .content-card {
        padding: 24px 16px;
        border-radius: 12px;
    }

    .content-header h2 {
        font-size: 24px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .content-body {
        font-size: 15px;
    }

    .content-body table {
        font-size: 14px;
    }

    .content-body table th,
    .content-body table td {
        padding: 8px;
    }
}

/* ===================================
   Print Styles
   =================================== */
@media print {

    .college-nav-sticky,
    .college-actions {
        display: none;
    }

    .content-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}