/* Facilities Page Styles - Central University of Gujarat */

:root {
    --orange: #f57c00;
    --blue: #005cb9;
    --white: #ffffff;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f8f9fa;
}

.page-header {
    background: var(--orange);
    color: var(--white);
    margin-top: 24px;
    padding: 20px 0 !important;
    text-align: center;
}

.page-header h1 {
    font-size: 36px;
    font-weight: 700;
}

.page-header p {
    font-size: 18px;
}

.breadcrumb {
    background: transparent;
    font-size: 0.95rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.5rem 1rem;
    margin: 0 auto;
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #fff;
    font-weight: 500;
}

@media (max-width: 576px) {
    .breadcrumb {
        font-size: 0.85rem;
        padding: 0.25rem 0.5rem;
    }
}

.page-header h1 {
    font-weight: 600;
    color: var(--white) !important;
}

.main-content {
    padding: 60px 0;
}

.main-content h2 {
    color: var(--blue);
    font-weight: 600;
    margin-bottom: 20px;
}

.main-content p {
    text-align: justify;
}

.sidebar {
    background: #ffffff;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Section heading */
.section-heading-full {
    background-color: #005cb9;
    color: #ffffff !important;
    padding: 20px 30px;
    font-weight: 600;
    font-size: 1.75rem;
    text-align: left;
    margin-bottom: 30px;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 92, 185, 0.3);
    width: 100%;
    box-sizing: border-box;
}

/* Orange underline */
.section-heading-full::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #f57c00;
    margin-top: 10px;
    border-radius: 2px;
}

/* RESPONSIVE ADJUSTMENT */
@media (max-width: 768px) {
    .section-heading-full {
        font-size: 1.25rem;
        padding: 15px 20px;
        text-align: left;
    }

    .section-heading-full::after {
        width: 60px;
        margin-left: 0;
    }
}

.sidebar ul ul li a {
    font-size: 0.9rem;
    color: var(--orange);
    display: block;
    padding-left: 10px;
    margin-top: 4px;
}

.sidebar h4 {
    color: var(--blue);
    font-weight: 600;
    margin-bottom: 15px;
}

.sidebar ul {
    padding-left: 20px;
}

.sidebar ul li {
    margin-bottom: 10px;
    list-style-type: none;
}

.sidebar ul li a {
    text-decoration: none;
    color: var(--orange);
    font-weight: 500;
}

/* Sticky Sidebar */
.sticky-sidebar {
    position: sticky;
    top: 140px;
    /* Adjust to avoid overlap with header/nav */
    z-index: 100;
}

@media (max-width: 768px) {
    .page-header {
        padding: 30px 0;
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 28px;
    }
}

/* This is for offset of id tag with sidebar */
.anchor-offset::before {
    content: "";
    display: block;
    height: 140px;
    /* Same as fixed navbar height */
    margin-top: -90px;
    visibility: hidden;
}

/* ABOUT US */
.about-section {
    background: var(--orange);
    padding: 60px 0;
    margin-bottom: 60px;
    /* space for ticker */
}

.about-section h2 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 20px;
}

.about-section p {
    color: #fff;
    text-align: justify;
}

.about-section img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Card style for account and annual reports */
.card-body ul a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.card-body ul a:hover {
    color: #f57c00;
    text-decoration: underline;
}

/* card for facilities */
.card-img-top-wrapper {
    height: 200px;
    overflow: hidden;
    border-bottom: 1px solid #ddd;
}

.card-img-top {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.card-body {
    display: flex;
    flex-direction: column;
}