/* Enhanced Inner Pages Styling */

/* Global Typography Improvements */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
}

/* About Section Styling */
.about-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.about-content .section-title {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
}

.about-content .subtitle {
    color: #6c757d;
    font-weight: 500;
    font-style: italic;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #495057;
    margin-bottom: 1.5rem;
}

.core-values, .our-offerings {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
}

.core-values h4, .our-offerings h4 {
    color: #2c3e50;
    font-weight: 600;
    border-bottom: 3px solid #667eea;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.values-list, .offerings-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.values-list li, .offerings-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
    position: relative;
    padding-left: 2rem;
}

.values-list li:before, .offerings-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.75rem;
    color: #28a745;
    font-weight: bold;
    font-size: 1.2rem;
}

.values-list li:last-child, .offerings-list li:last-child {
    border-bottom: none;
}

.values-list li strong {
    color: #2c3e50;
    font-weight: 600;
}

.tagline {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    color: white;
}

.tagline h5 {
    margin: 0;
    font-weight: 600;
    font-size: 1.3rem;
}

.about-image-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.about-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.about-image:hover {
    transform: scale(1.05);
}

/* Enhanced Card Styling */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1.25rem 1.5rem;
    font-weight: 600;
}

.card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

/* Enhanced Sidebar Styling - Simple and Unique */
.sidebar-card {
    background: #ffffff !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1) !important;
    overflow: hidden !important;
    border: 1px solid #f0f0f0 !important;
    margin-bottom: 20px !important;
}

.sidebar-header {
    background: #2c3e50 !important;
    color: white !important;
    padding: 2rem 1.5rem !important;
    text-align: center !important;
    position: relative !important;
    border: none !important;
    margin: 0 !important;
}

.sidebar-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.sidebar-header h5 {
    margin: 0 !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    letter-spacing: 0.5px !important;
    color: white !important;
}

.sidebar-menu {
    padding: 1.5rem 0 !important;
    background: #fafbfc !important;
    margin: 0 !important;
    list-style: none !important;
    border: none !important;
}

.sidebar-menu .list-group-item {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    border-radius: 0 !important;
    list-style: none !important;
}

.sidebar-menu .list-group-item a {
    display: flex !important;
    align-items: center !important;
    padding: 1rem 2rem !important;
    color: #5a6c7d !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    font-size: 0.95rem !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    border-left: 3px solid transparent !important;
    background: transparent !important;
    border-radius: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.sidebar-menu .list-group-item a:hover {
    background: #f8f9fa !important;
    color: #2c3e50 !important;
    border-left-color: #667eea !important;
    transform: translateX(3px) !important;
    text-decoration: none !important;
}

.sidebar-menu .list-group-item.active a {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    border-left-color: #ffffff !important;
    text-decoration: none !important;
}

.sidebar-menu .list-group-item a i {
    width: 20px !important;
    text-align: center !important;
    margin-right: 15px !important;
    font-size: 1.1rem !important;
    transition: all 0.3s ease !important;
    opacity: 0.7 !important;
    flex-shrink: 0 !important;
}

.sidebar-menu .list-group-item a:hover i,
.sidebar-menu .list-group-item.active a i {
    opacity: 1 !important;
    transform: scale(1.05) !important;
}

/* Menu Item Separator */
.sidebar-menu .list-group-item:not(:last-child) {
    border-bottom: 1px solid #eef2f7 !important;
}

/* Override Bootstrap list-group styles */
.list-group {
    border: none !important;
    border-radius: 0 !important;
}

.list-group-item-action {
    border: none !important;
    background: transparent !important;
}

.list-group-item-action:hover {
    background: transparent !important;
    border: none !important;
}

.list-group-item-action:focus {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Enhanced Dashboard Cards */
.dashboard-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.dashboard-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.dashboard-card h3 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
    font-size: 1.5rem;
}

.dashboard-card h6 {
    font-weight: 500;
    opacity: 0.9;
    position: relative;
    z-index: 2;
    margin-bottom: 0;
}

.dashboard-card .card-icon {
    position: relative;
    z-index: 2;
    font-size: 2rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

/* Enhanced Profile Section */
.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.profile-avatar i {
    font-size: 2.5rem;
    color: white;
}

.profile-details {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.profile-details li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.profile-details li:last-child {
    border-bottom: none;
}

.profile-details strong {
    color: #495057;
    font-weight: 600;
}

/* Enhanced Quick Actions */
.quick-actions .btn {
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    margin-bottom: 0.5rem;
    width: 100%;
}

.quick-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Enhanced Table Styling */
.table {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.table thead th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem;
    font-weight: 600;
}

.table tbody td {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    vertical-align: middle;
}

.table tbody tr:hover {
    background-color: #f8f9fa;
}

/* Enhanced Badge Styling */
.badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.875rem;
}

/* Enhanced Button Styling */
.btn {
    border-radius: 10px;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    border: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
}

.btn-success {
    background: linear-gradient(135deg, #56ab2f 0%, #a8e6cf 100%);
    border: none;
}

.btn-info {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border: none;
}

.btn-warning {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border: none;
    color: white;
}

/* Enhanced Alert Styling */
.alert {
    border: none;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    font-weight: 500;
}

.alert-success {
    background: linear-gradient(135deg, #56ab2f 0%, #a8e6cf 100%);
    color: white;
}

/* Enhanced ID Card Styling */
.id-card-container {
    perspective: 1000px;
}

.id-card-front, .id-card-back {
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.id-card-front {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.id-card-back {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

/* Enhanced Student Photo */
.student-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Enhanced Results Table */
.results-table {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.results-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
    padding: 1.25rem 1rem;
    border: none;
}

.results-table td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid #e9ecef;
    vertical-align: middle;
}

.results-table tbody tr:hover {
    background-color: #f8f9fa;
}

/* Enhanced Form Styling */
.form-control, .form-select {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* Enhanced Header Styling */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.page-header h4 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.page-header p {
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

/* Enhanced Spacing */
.mb-4 {
    margin-bottom: 2rem !important;
}

.mb-3 {
    margin-bottom: 1.5rem !important;
}

.p-4 {
    padding: 2rem !important;
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    .card-body {
        padding: 1rem;
    }

    .dashboard-card {
        padding: 1rem;
    }

    .page-header {
        padding: 1.5rem;
    }

    .id-card-front, .id-card-back {
        padding: 1.5rem;
    }

    .sidebar-menu .list-group-item a {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    /* About Section Mobile Responsive */
    .about-section {
        padding: 2rem 0 !important;
    }

    .about-content .section-title {
        font-size: 2rem !important;
        text-align: center;
        margin-bottom: 0.5rem;
    }

    .about-content .subtitle {
        font-size: 1rem !important;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .about-text {
        font-size: 1rem !important;
        line-height: 1.7 !important;
        text-align: justify;
        margin-bottom: 1.25rem;
    }

    .core-values, .our-offerings {
        padding: 1.5rem !important;
        margin-bottom: 1.25rem;
    }

    .core-values h4, .our-offerings h4 {
        font-size: 1.25rem !important;
        text-align: center;
        margin-bottom: 1rem;
    }

    .values-list li, .offerings-list li {
        padding: 0.5rem 0 !important;
        padding-left: 1.5rem !important;
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
    }

    .values-list li:before, .offerings-list li:before {
        font-size: 1rem !important;
        top: 0.5rem !important;
    }

    .tagline {
        padding: 1.5rem !important;
        margin-top: 1rem;
    }

    .tagline h5 {
        font-size: 1.1rem !important;
        text-align: center;
    }

    .about-image-container {
        margin-top: 1.5rem;
        margin-bottom: 1rem;
    }

    .about-image {
        border-radius: 10px;
    }

    /* Director Message Mobile Responsive */
    .director-message {
        padding: 2rem 0 !important;
    }

    .director-content .section-title {
        font-size: 1.75rem !important;
        text-align: center;
        margin-bottom: 1rem;
    }

    .director-quote {
        font-size: 1.1rem !important;
        text-align: center;
        margin-bottom: 1rem;
    }

    .director-text {
        font-size: 1rem !important;
        line-height: 1.6 !important;
        text-align: justify;
        margin-bottom: 1rem;
    }

    .director-signature {
        text-align: center;
        margin-top: 1.5rem;
    }

    .director-image-container {
        margin-bottom: 1.5rem;
    }

    /* Contact Section Mobile Responsive */
    .contact-section {
        padding: 2rem 0 !important;
    }

    .contact-content .section-title {
        font-size: 1.75rem !important;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .contact-item {
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .contact-item h4 {
        font-size: 1.25rem !important;
        margin-bottom: 0.75rem;
    }

    .contact-item p {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
    }

    .contact-form-container {
        margin-top: 1.5rem;
    }

    .contact-form-container h4 {
        text-align: center;
        margin-bottom: 1rem;
    }

    /* Banner Slider Mobile Responsive */
    .banner-slider-section {
        margin-bottom: 1rem;
    }

    .banner-image {
        height: 200px !important;
        min-height: 200px !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    .carousel-indicators {
        bottom: 10px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 10%;
    }
}

/* Extra Small Devices */
@media (max-width: 576px) {
    .about-content .section-title {
        font-size: 1.75rem !important;
    }

    .about-content .subtitle {
        font-size: 0.9rem !important;
    }

    .about-text {
        font-size: 0.95rem !important;
    }

    .core-values, .our-offerings {
        padding: 1rem !important;
    }

    .values-list li, .offerings-list li {
        font-size: 0.9rem !important;
        padding-left: 1.25rem !important;
    }

    .tagline {
        padding: 1rem !important;
    }

    .tagline h5 {
        font-size: 1rem !important;
    }

    .director-content .section-title {
        font-size: 1.5rem !important;
    }

    .director-quote {
        font-size: 1rem !important;
    }

    .contact-content .section-title {
        font-size: 1.5rem !important;
    }

    .contact-item h4 {
        font-size: 1.1rem !important;
    }

    .banner-image {
        height: 150px !important;
        min-height: 150px !important;
        object-fit: cover !important;
        object-position: center !important;
    }
}

/* Enhanced Loading States */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Mobile Touch Enhancements */
@media (max-width: 768px) {
    /* Improve touch targets */
    .btn {
        min-height: 44px;
        padding: 0.75rem 1.5rem;
    }
    
    .form-control, .form-select {
        min-height: 44px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Better spacing for mobile */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Improve readability */
    .about-text, .director-text, .contact-item p {
        word-wrap: break-word;
        hyphens: auto;
    }
    
    /* Better image handling */
    .about-image, .director-image {
        max-width: 100%;
        height: auto;
    }
    
    /* Improve carousel controls */
    .carousel-control-prev,
    .carousel-control-next {
        min-width: 44px;
        min-height: 44px;
    }
    
    /* Better form layout */
    .contact-form .mb-3 {
        margin-bottom: 1rem !important;
    }
    
    /* Improve list readability */
    .values-list li, .offerings-list li {
        word-wrap: break-word;
    }
}

/* Enhanced Print Styles */
@media print {
    .card {
        box-shadow: none;
        border: 1px solid #dee2e6;
    }

    .btn {
        display: none;
    }

    .sidebar {
        display: none;
    }
} 

/* Sticky Navigation Styles */
.header-nav {
    transition: all 0.3s ease;
    z-index: 1000;
}

.header-nav.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #dc2626 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Add margin to main content when nav is sticky */
main.sticky-nav {
    margin-top: 60px !important;
}

@media (max-width: 768px) {
    main.sticky-nav {
        margin-top: 80px !important;
    }
} 