/* NSS Page Styles - Central University of Gujarat */

:root {
    --orange: #f57c00;
    --blue: #005cb9;
    --white: #ffffff;
    --dark: #333333;
    --light-gray: #f8f9fa;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f8f9fa;
}

/* Page Header */
.page-header {
    background: var(--orange);
    color: var(--white);
    margin-top: 24px;
    padding: 15px 0 !important;
    text-align: center;
}

.page-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--white) !important;
    margin-bottom: 8px;
}

.page-header .motto {
    font-size: 20px;
    font-weight: bold;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin: 15px 0;
}

.page-header p {
    font-size: 16px;
}

.breadcrumb {
    background: transparent;
    font-size: 0.9rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.25rem 0.5rem;
    margin: 0 auto;
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #fff;
    font-weight: 500;
}

@media (max-width: 768px) {
    .page-header {
        padding: 12px 0;
        margin-top: 80px !important;
    }

    .page-header h1 {
        font-size: 20px;
        margin-bottom: 6px;
    }

    .page-header .motto {
        font-size: 16px;
    }
}

@media (max-width: 991.98px) {
    .page-header {
        margin-top: 90px !important;
    }
}

@media (max-width: 480px) {
    .page-header {
        margin-top: 100px !important;
    }
}

/* Header Logos Section */
.header-logos {
    background: var(--white);
    padding: 30px 0;
    border-bottom: 1px solid #ddd;
}

.logo-item {
    text-align: center;
    padding: 20px;
    background: rgba(0, 91, 185, 0.05);
    border-radius: 15px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.logo-item:hover {
    transform: translateY(-5px);
    border-color: var(--orange);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.nss-badge,
.director-photo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 15px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.nss-badge {
    background: linear-gradient(45deg, var(--orange), #dc3545);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    border: 4px solid var(--orange);
    border-radius: 50%;
}

.director-photo {
    object-fit: cover;
    border: 4px solid var(--orange);
    border-radius: 50%;
}

.logo-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--blue);
    margin: 0;
    line-height: 1.4;
}

.nss-motto-badge {
    background: var(--orange);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(245, 124, 0, 0.3);
}

/* Main Content Structure */
.main-content {
    padding: 0;
    margin: 0;
}

.main-content .row {
    margin: 0;
}

.main-content .row .col-lg-2 {
    padding: 0;
}

.main-content .row .col-lg-10 {
    padding: 30px 30px 60px 30px;
}

/* Sidebar - remove extra space and optimize height */
.sidebar {
    background: #ffffff;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 0;
    box-shadow: 2px 0 6px rgba(0, 0, 0, 0.1);
    margin: 0;
    height: fit-content;
    max-height: calc(100vh - 140px);
    border-left: none;
    padding-top: 20px;
    overflow: hidden;
}

.sidebar h4 {
    color: var(--white) !important;
    font-weight: 600;
    margin-bottom: 15px;
    margin-top: 0;
    font-size: 1.1rem;
    text-align: center;
    background: linear-gradient(135deg, var(--blue) 0%, #004494 100%);
    padding: 12px 15px;
    border-radius: 0;
    box-shadow: 0 2px 8px rgba(0, 92, 185, 0.3);
    position: sticky;
    top: 0;
    z-index: 101;
    letter-spacing: 0.5px;
    margin-left: -15px;
    margin-right: -15px;
    margin-top: -20px;
}

.sidebar h4::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--white);
    margin: 8px auto 0;
    border-radius: 1px;
}

.sidebar ul {
    padding-left: 20px;
    margin-top: 15px !important;
}

.sidebar ul li:first-child {
    margin-top: 15px !important;
    padding-top: 10px !important;
}

.sidebar ul li {
    margin-bottom: 5px;
    list-style-type: none;
}

.sidebar ul li a {
    text-decoration: none;
    color: var(--orange);
    font-weight: 500;
    transition: all 0.3s ease;
    display: block;
    padding: 3px 0;
    font-size: 0.9rem;
}

.sidebar ul li a:hover,
.sidebar ul li a.active {
    color: var(--blue);
    padding-left: 10px;
}

/* Sticky Sidebar */
.sticky-sidebar {
    position: sticky;
    top: 0;
    z-index: 100;
    height: fit-content;
    max-height: calc(100vh - 20px);
    overflow-y: auto;
}

/* Mobile Dropdown Menu */
.mobile-dropdown {
    display: none;
    background: var(--white);
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    overflow: hidden;
}

.mobile-toggle-btn {
    width: 100%;
    background: var(--blue);
    color: var(--white);
    border: none;
    padding: 15px 20px;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border-radius: 0;
    transition: background-color 0.3s ease;
}

.mobile-toggle-btn:hover {
    background: #004494;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
    font-size: 1.1rem;
}

.mobile-toggle-btn.active .dropdown-arrow {
    transform: rotate(180deg);
}

.mobile-menu-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: var(--white);
}

.mobile-menu-list.open {
    max-height: 800px;
    padding: 10px 0;
}

.mobile-menu-list a {
    display: block;
    padding: 12px 20px;
    color: var(--orange);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.mobile-menu-list a:hover,
.mobile-menu-list a.active {
    color: var(--blue);
    background: rgba(245, 124, 0, 0.08);
    padding-left: 30px;
}

.mobile-menu-list a:last-child {
    border-bottom: none;
}

/* Section heading */
.section-heading-full,
h2.section-heading-full,
.content-section .section-heading-full {
    background-color: #005cb9 !important;
    color: #ffffff !important;
    padding: 12px 20px !important;
    font-weight: 600 !important;
    font-size: 22px !important;
    text-align: left !important;
    margin-bottom: 20px !important;
    position: relative !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0, 92, 185, 0.3) !important;
    width: 100% !important;
    box-sizing: border-box !important;
    line-height: 1.3 !important;
}

.section-heading-full::after {
    content: '';
    display: block;
    width: 65px;
    height: 3px;
    background-color: #f57c00;
    margin-top: 6px;
    border-radius: 2px;
}

@media (max-width: 768px) {

    .section-heading-full,
    h2.section-heading-full,
    .content-section .section-heading-full {
        font-size: 18px !important;
        padding: 10px 16px !important;
        text-align: left !important;
        margin-bottom: 16px !important;
    }

    .section-heading-full::after {
        width: 40px !important;
        height: 2px !important;
        margin-top: 4px !important;
        margin-left: 0 !important;
    }
}

/* Content sections - NO auto-display */
.content-section {
    display: none;
}

.content-section.active {
    display: block;
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Anchor offset for proper scrolling */
.anchor-offset::before {
    content: "";
    display: block;
    height: 120px;
    margin-top: -120px;
    visibility: hidden;
}

/* Section Cards */
.section-content {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 2rem;
    border-top: 4px solid var(--orange);
}

.section-body {
    padding: 30px;
}

.section-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--dark);
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* NSS Badge Display */
.nss-badge-display {
    text-align: center;
    background: linear-gradient(135deg, var(--blue) 0%, #2a5298 100%);
    color: white;
    padding: 40px;
    border-radius: 20px;
    margin: 30px 0;
}

.badge-visual {
    width: 200px;
    height: 200px;
    margin: 0 auto 30px;
    /* background: linear-gradient(45deg, var(--blue), #dc3545); */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    position: relative;
}

.wheel-icon {
    font-size: 5rem;
    color: white;
    animation: rotate 15s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.badge-meaning {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 15px;
    margin-top: 20px;
    backdrop-filter: blur(10px);
}

.badge-image {
    width: 150px;
    /* Adjust size as needed */
    height: 150px;
    object-fit: contain;
    /* or 'cover' depending on your preference */
    border-radius: 5px;
    /* Optional: for rounded corners */
}

/* Objectives Cards */
.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.objective-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 5px solid var(--orange);
    position: relative;
    overflow: hidden;
}

.objective-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(245, 124, 0, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.objective-card:hover::before {
    opacity: 1;
}

.objective-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.objective-card h5 {
    color: var(--blue);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.objective-card p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Benefits List */
.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    background: #f8f9fa;
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 10px;
    border-left: 5px solid var(--orange);
    transition: all 0.3s ease;
}

.benefits-list li:hover {
    background: var(--orange);
    color: white;
    transform: translateX(10px);
}

.benefits-list li i {
    margin-right: 15px;
    color: var(--orange);
    font-size: 1.2rem;
}

.benefits-list li:hover i {
    color: white;
}

/* Activities Grid */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.activity-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    border-top: 5px solid var(--orange);
}

.activity-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.activity-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--orange), #dc3545);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

.activity-card h5 {
    color: var(--blue);
    margin-bottom: 15px;
    font-weight: 600;
}

/* CUG NSS Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.stat-item {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--orange);
    display: block;
}

.stat-label {
    color: var(--blue);
    font-weight: 500;
    margin-top: 10px;
}

/* Reports List */
.reports-list {
    list-style: none;
    padding: 0;
}

.reports-list li {
    margin-bottom: 15px;
}

.report-link {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: var(--dark);
    transition: all 0.3s ease;
    border-left: 4px solid var(--orange);
}

.report-link:hover {
    background: var(--orange);
    color: var(--white);
    transform: translateX(5px);
    text-decoration: none;
}

.report-link i {
    margin-right: 15px;
    font-size: 1.4rem;
    color: var(--orange);
}

.report-link:hover i {
    color: var(--white);
}

/* Contact Info */
.contact-info {
    background: linear-gradient(135deg, var(--orange) 0%, #e65100 100%);
    color: var(--white);
    padding: 25px;
    border-radius: 15px;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-item i {
    margin-right: 15px;
    font-size: 1.2rem;
    width: 25px;
    margin-top: 2px;
}

.contact-item a {
    color: var(--white);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Cards for various sections */
.info-card {
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    border-left: 5px solid var(--orange);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.info-card h5 {
    color: var(--blue);
    font-weight: 600;
    margin-bottom: 15px;
}

/* Additional enhancement styles */
.highlight-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin: 20px 0;
    text-align: center;
}

.motto-display {
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin: 20px 0;
}

/* Mobile responsiveness */
@media (max-width: 991.98px) {
    .sidebar {
        display: none !important;
    }

    .mobile-dropdown {
        display: block !important;
        margin-bottom: 15px !important;
        margin-top: 0 !important;
    }

    .main-content .row .col-lg-2,
    .main-content .row .col-lg-10 {
        padding: 10px 15px 30px 15px !important;
    }

    .main-content {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    .sticky-sidebar {
        position: static;
        height: auto;
        max-height: none;
        overflow-y: visible;
    }
}

@media (max-width: 768px) {

    .main-content .row .col-lg-2,
    .main-content .row .col-lg-10 {
        padding: 5px 15px 20px 15px !important;
    }

    .mobile-dropdown {
        margin-bottom: 10px !important;
    }

    .logo-item {
        padding: 15px;
        margin-bottom: 10px;
    }

    .nss-badge,
    .director-photo {
        width: 100px;
        height: 100px;
    }

    .logo-title {
        font-size: 0.85rem;
    }

    .section-body {
        padding: 20px;
    }

    .objectives-grid {
        grid-template-columns: 1fr;
    }

    .activities-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .header-logos .row>div {
        margin-bottom: 15px;
    }

    .nss-badge,
    .director-photo {
        width: 80px;
        height: 80px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .wheel-icon {
        font-size: 3rem;
    }

    .badge-visual {
        width: 150px;
        height: 150px;
    }
}

/* Form styles */
.btn-primary {
    background-color: var(--orange);
    border-color: var(--orange);
}

.btn-primary:hover {
    background-color: #e65100;
    border-color: #e65100;
}

.form-control:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 0.2rem rgba(245, 124, 0, 0.25);
}