/* Custom styles for Teacher Training College */

:root {
    --primary-color:  #00115a;
    --secondary-color: #6c757d;
    --success-color: #198754;
}

/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

/* Feature Cards */
.features-section .card {
    background: white;
    transition: all 0.3s ease;
}

.features-section .card:hover {
    background: var(--primary-color);
}

.features-section .card:hover i,
.features-section .card:hover h4,
.features-section .card:hover p {
    color: white !important;
    cursor: pointer;
}

.features-section .card i {
    transition: color 0.3s ease;
}

/* Buttons */
.btn {
    border-radius: 5px;
    padding: 10px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13,110,253,0.3);
    color: var(--primary-color) !important;
}

.btn-outline-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13,110,253,0.2);
}

/* Events Section */
.list-group-item {
    border: none;
    margin-bottom: 10px;
    border-radius: 10px !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.list-group-item:hover {
    transform: translateX(10px);
    background-color: #f8f9fa;
}

.badge {
    padding: 10px 15px;
    font-size: 0.9rem;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0b5ed7 100%) !important;
}

.newsletter-section .form-control {
    border: none;
    border-radius: 5px 0 0 5px;
}

.newsletter-section .btn-light {
    border-radius: 0 5px 5px 0;
    border: none;
}

.newsletter-section .btn-light:hover {
    background-color: #f8f9fa;
    transform: translateY(0);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1a1e2b 0%, #2d3349 100%) !important;
}

footer p {
    color: #fff !important;
}

footer a {
    transition: color 0.3s ease;
    color: #fff !important;
}

footer a:hover {
    color: var(--primary-color) !important;
}

.social-links a {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    color: #fff !important;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding: 50px 0;
    }
    
    .hero-section .btn {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
    
    .d-flex {
        flex-direction: column;
    }
    
    .features-section .card {
        margin-bottom: 20px;
    }
    
    .newsletter-section .btn-light {
        border-radius: 5px;
        margin-top: 10px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section h1,
.hero-section p,
.hero-section .btn {
    animation: fadeInUp 0.8s ease forwards;
}

.hero-section p {
    animation-delay: 0.2s;
    opacity: 0;
}

.hero-section .btn {
    animation-delay: 0.4s;
    opacity: 0;
}

/* Loading Spinner */
.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}




 /* Additional styles specific to about page */
        .page-header {
            background: linear-gradient(135deg, #031049 0%, #0714ca 100%);
            color: white;
            padding: 100px 0;
            margin-bottom: 50px;
        }
        
        .mission-vision-card {
            transition: transform 0.3s ease;
            border: none;
            border-radius: 15px;
            overflow: hidden;
        }
        
        .mission-vision-card:hover {
            transform: translateY(-10px);
        }
        
        .timeline {
            position: relative;
            padding: 20px 0;
        }
        
        .timeline::before {
            content: '';
            position: absolute;
            left: 50%;
            width: 2px;
            height: 100%;
            background: var(--primary-color);
            transform: translateX(-50%);
        }
        
        .timeline-item {
            position: relative;
            margin-bottom: 50px;
        }
        
        .timeline-badge {
            position: absolute;
            left: 50%;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: var(--primary-color);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            transform: translateX(-50%);
            z-index: 1;
        }
        
        .timeline-content {
            width: 45%;
            padding: 20px;
            background: white;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .timeline-item:nth-child(odd) .timeline-content {
            margin-left: auto;
        }
        
        .faculty-card {
            border: none;
            border-radius: 15px;
            overflow: hidden;
            transition: all 0.3s ease;
        }
        
        .faculty-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.2);
        }
        
        .faculty-card img {
            width: 150px;
            height: 150px;
            border-radius: 50%;
            object-fit: cover;
            border: 5px solid var(--primary-color);
            margin: -15px auto 20px;
        }
        
        .faculty-social a {
            display: inline-block;
            width: 36px;
            height: 36px;
            line-height: 36px;
            text-align: center;
            background: #f8f9fa;
            border-radius: 50%;
            color: var(--primary-color);
            margin: 0 5px;
            transition: all 0.3s ease;
        }
        
        .faculty-social a:hover {
            background: var(--primary-color);
            color: white;
            transform: translateY(-3px);
        }
        
        .stats-card {
            background: linear-gradient(135deg, #031049 0%, #0714ca 100%);
            color: white;
            padding: 40px 20px;
            border-radius: 15px;
            text-align: center;
        }

        .stats-card:hover {
            cursor: pointer;
            transform: scale(1.05);
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);

        }
        
        .stats-number {
            font-size: 3rem;
            font-weight: bold;
            margin-bottom: 10px;
        }
        
        .accreditation-badge {
            padding: 20px;
            background: #f8f9fa;
            border-radius: 10px;
            text-align: center;
            transition: all 0.3s ease;
        }
        
        .accreditation-badge:hover {
            background: var(--primary-color);
            color: white;
            transform: scale(1.05);
            cursor: pointer;
        }
        
        .accreditation-badge:hover i {
            color: white !important;
        }
        
        @media (max-width: 768px) {
            .timeline::before {
                left: 20px;
            }
            
            .timeline-badge {
                left: 20px;
            }
            
            .timeline-content {
                width: calc(100% - 70px);
                margin-left: 70px !important;
            }
        }




          /* Additional styles specific to academics page */
        .page-header-academics {
            background: linear-gradient(135deg, #031049 0%, #0714ca 100%);
            color: white;
            padding: 100px 0;
            margin-bottom: 50px;
        }
        
        .program-filter {
            background: white;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            margin-bottom: 30px;
        }
        
        .filter-btn {
            border: 2px solid #e0e0e0;
            background: white;
            color: #666;
            padding: 10px 20px;
            margin: 5px;
            border-radius: 25px;
            transition: all 0.3s ease;
        }
        
        .filter-btn:hover,
        .filter-btn.active {
            background: var(--primary-color);
            color: white;
            border-color: var(--primary-color);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(13,110,253,0.3);
        }
        
        .program-card {
            border: none;
            border-radius: 15px;
            overflow: hidden;
            transition: all 0.3s ease;
            height: 100%;
            opacity: 1;
            transform: scale(1);
        }
        
        .program-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.2);
        }
        
        .program-card .card-img-top {
            height: 200px;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .program-card:hover .card-img-top {
            transform: scale(1.1);
        }
        
        .program-badge {
            position: absolute;
            top: 15px;
            right: 15px;
            background: var(--primary-color);
            color: white;
            padding: 5px 15px;
            border-radius: 25px;
            font-size: 0.8rem;
            font-weight: 600;
            z-index: 1;
        }
        
        .program-meta {
            display: flex;
            justify-content: space-between;
            margin: 15px 0;
            padding: 10px 0;
            border-top: 1px solid #e0e0e0;
            border-bottom: 1px solid #e0e0e0;
        }
        
        .program-meta-item {
            text-align: center;
            font-size: 0.9rem;
        }
        
        .program-meta-item i {
            color: var(--primary-color);
            margin-right: 5px;
        }
        
        .curriculum-section {
            background: #f8f9fa;
            padding: 60px 0;
        }
        
        .course-list {
            list-style: none;
            padding: 0;
        }
        
        .course-list li {
            padding: 10px 0;
            border-bottom: 1px dashed #dee2e6;
        }
        
        .course-list li:last-child {
            border-bottom: none;
        }
        
        .course-list li i {
            color: var(--primary-color);
            margin-right: 10px;
        }
        
        .specialization-card {
            background: white;
            padding: 25px;
            border-radius: 10px;
            text-align: center;
            transition: all 0.3s ease;
            border: 1px solid #e0e0e0;
            height: 100%;
        }
        
        .specialization-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
            border-color: var(--primary-color);
        }
        
        .specialization-card i {
            font-size: 2.5rem;
            color: var(--primary-color);
            margin-bottom: 15px;
        }
        
        .academic-calendar {
            background: linear-gradient(135deg, #031049 0%, #0714ca 100%);
            color: white;
            padding: 40px;
            border-radius: 15px;
        }
        
        .calendar-item {
            display: flex;
            align-items: center;
            padding: 15px;
            background: rgba(255,255,255,0.1);
            border-radius: 10px;
            margin-bottom: 10px;
        }
        
        .calendar-date {
            min-width: 80px;
            font-weight: bold;
            font-size: 1.2rem;
        }
        
        .accordion-button:not(.collapsed) {
            background-color: rgba(13,110,253,0.1);
            color: var(--primary-color);
        }
        
        .accordion-button:focus {
            box-shadow: none;
            border-color: rgba(13,110,253,0.25);
        }
        
        .tuition-card {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .tuition-header {
            background: var(--primary-color);
            color: white;
            padding: 20px;
            text-align: center;
        }
        
        .tuition-body {
            padding: 30px;
        }
        
        .tuition-price {
            font-size: 2.5rem;
            font-weight: bold;
            color: var(--primary-color);
            text-align: center;
            margin: 20px 0;
        }
        
        .feature-icon {
            width: 60px;
            height: 60px;
            background: rgba(13,110,253,0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
        }
        
        .feature-icon i {
            font-size: 1.5rem;
            color: var(--primary-color);
        }
        
        @media (max-width: 768px) {
            .program-meta {
                flex-direction: column;
                gap: 10px;
            }
            
            .calendar-item {
                flex-direction: column;
                text-align: center;
            }
            
            .calendar-date {
                margin-bottom: 10px;
            }
        }


         /* Additional styles specific to admissions page */
        .page-header-admissions {
            background: linear-gradient(135deg, #031049 0%, #0714ca 100%);
            color: white;
            padding: 100px 0;
            margin-bottom: 50px;
        }
        
        .step-card {
            background: white;
            border-radius: 15px;
            padding: 30px;
            text-align: center;
            position: relative;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            height: 100%;
        }
        
        .step-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.2);
        }
        
        .step-number {
            width: 50px;
            height: 50px;
            background: var(--primary-color);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            font-weight: bold;
            margin: 0 auto 20px;
        }
        
        .requirement-card {
            background: #f8f9fa;
            border-radius: 10px;
            padding: 25px;
            margin-bottom: 20px;
            border-left: 4px solid var(--primary-color);
            transition: all 0.3s ease;
        }
        
        .requirement-card:hover {
            transform: translateX(10px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .deadline-card {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            margin-bottom: 20px;
        }
        
        .deadline-header {
            background: var(--primary-color);
            color: white;
            padding: 15px;
            font-weight: bold;
            text-align: center;
        }
        
        .deadline-body {
            padding: 20px;
        }
        
        .deadline-date {
            font-size: 1.5rem;
            font-weight: bold;
            color: var(--primary-color);
            text-align: center;
            margin: 15px 0;
        }
        
        .fee-structure {
            background: linear-gradient(135deg, #031049 0%, #0714ca 100%);
            color: white;
            border-radius: 15px;
            padding: 30px;
        }
        
        .fee-item {
            display: flex;
            justify-content: space-between;
            padding: 15px 0;
            border-bottom: 1px solid rgba(255,255,255,0.2);
        }
        
        .fee-item:last-child {
            border-bottom: none;
        }
        
        .fee-total {
            font-size: 1.3rem;
            font-weight: bold;
            background: rgba(255,255,255,0.2);
            padding: 15px;
            border-radius: 10px;
            margin-top: 20px;
        }
        
        .application-form {
            background: white;
            border-radius: 15px;
            padding: 40px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.1);
        }
        
        .form-section {
            margin-bottom: 30px;
            padding-bottom: 30px;
            border-bottom: 2px solid #f0f0f0;
        }
        
        .form-section-title {
            color: var(--primary-color);
            margin-bottom: 20px;
            font-weight: bold;
        }
        
        .document-upload {
            border: 2px dashed #dee2e6;
            border-radius: 10px;
            padding: 30px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .document-upload:hover {
            border-color: var(--primary-color);
            background: rgba(13,110,253,0.05);
        }
        
        .document-upload i {
            font-size: 3rem;
            color: var(--primary-color);
            margin-bottom: 15px;
        }
        
        .scholarship-card {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            height: 100%;
        }
        
        .scholarship-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.2);
        }
        
        .scholarship-header {
            background: linear-gradient(135deg, #031049 0%, #0714ca 100%);
            color: white;
            padding: 20px;
            text-align: center;
        }
        
        .scholarship-body {
            padding: 20px;
        }
        
        .scholarship-amount {
            font-size: 2rem;
            font-weight: bold;
            color: var(--primary-color);
            text-align: center;
            margin: 15px 0;
        }
        
        .faq-accordion .accordion-item {
            border: none;
            margin-bottom: 15px;
            border-radius: 10px !important;
            overflow: hidden;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        
        .faq-accordion .accordion-button {
            background: white;
            font-weight: 600;
        }
        
        .faq-accordion .accordion-button:not(.collapsed) {
            background: var(--primary-color);
            color: white;
        }
        
        .faq-accordion .accordion-button:focus {
            box-shadow: none;
        }
        
        .checklist-item {
            display: flex;
            align-items: center;
            padding: 10px 0;
            border-bottom: 1px solid #f0f0f0;
        }
        
        .checklist-item:last-child {
            border-bottom: none;
        }
        
        .checklist-item i {
            color: var(--primary-color);
            margin-right: 15px;
            font-size: 1.2rem;
        }
        
        @media (max-width: 768px) {
            .application-form {
                padding: 20px;
            }
            
            .step-card {
                margin-bottom: 20px;
            }
        }


         /* Additional styles specific to contact page */
        .page-header-contact {
            background: linear-gradient(135deg, #031049 0%, #0714ca 100%);
            color: white;
            padding: 100px 0;
            margin-bottom: 50px;
        }
        
        .contact-info-card {
            background: white;
            border-radius: 15px;
            padding: 30px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            height: 100%;
            position: relative;
            overflow: hidden;
        }
        
        .contact-info-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: linear-gradient(135deg, #031049 0%, #0714ca 100%);
        }
        
        .contact-info-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.2);
        }
        
        .contact-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, #031049 0%, #0714ca 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            color: white;
            font-size: 2rem;
        }
        
        .contact-info-card h4 {
            margin-bottom: 15px;
            color: #333;
        }
        
        .contact-info-card p {
            color: #666;
            margin-bottom: 5px;
        }
        
        .contact-form-wrapper {
            background: white;
            border-radius: 20px;
            padding: 50px;
            box-shadow: 0 20px 50px rgba(0,0,0,0.1);
        }
        
        .form-control, .form-select {
            border: 2px solid #f0f0f0;
            border-radius: 10px;
            padding: 12px 15px;
            transition: all 0.3s ease;
        }
        
        .form-control:focus, .form-select:focus {
            border-color: #4facfe;
            box-shadow: 0 0 0 0.2rem rgba(79, 172, 254, 0.25);
        }
        
        .form-label {
            font-weight: 600;
            color: #555;
            margin-bottom: 8px;
        }
        
        .map-container {
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            height: 450px;
        }
        
        .map-container iframe {
            width: 100%;
            height: 100%;
            border: 0;
        }
        
        .office-hours-card {
            background: linear-gradient(135deg, #031049 0%, #0714ca 100%);
            color: white;
            border-radius: 15px;
            padding: 30px;
            height: 100%;
        }
        
        .office-hours-item {
            display: flex;
            justify-content: space-between;
            padding: 10px 0;
            border-bottom: 1px solid rgba(255,255,255,0.2);
        }
        
        .office-hours-item:last-child {
            border-bottom: none;
        }
        
        .social-media-card {
            background: white;
            border-radius: 15px;
            padding: 30px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .social-media-icons {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-top: 20px;
        }
        
        .social-icon {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.5rem;
            transition: all 0.3s ease;
        }
        
        .social-icon:hover {
            transform: translateY(-5px) scale(1.1);
        }
        
        .social-icon.facebook { background: #3b5998; }
        .social-icon.twitter { background: #1da1f2; }
        .social-icon.linkedin { background: #0077b5; }
        .social-icon.instagram { background: #e4405f; }
        .social-icon.youtube { background: #ff0000; }
        
        .faq-section {
            background: #f8f9fa;
        }
        
        .faq-item {
            background: white;
            border-radius: 10px;
            padding: 20px;
            margin-bottom: 15px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .faq-item:hover {
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .faq-question {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-weight: 600;
            color: #333;
        }
        
        .faq-question i {
            transition: transform 0.3s ease;
        }
        
        .faq-item.active .faq-question i {
            transform: rotate(180deg);
        }
        
        .faq-answer {
            margin-top: 15px;
            padding-top: 15px;
            border-top: 1px solid #f0f0f0;
            color: #666;
            display: none;
        }
        
        .faq-item.active .faq-answer {
            display: block;
        }
        
        .newsletter-card {
            background: linear-gradient(135deg, #031049 0%, #0714ca 100%);
            color: white;
            border-radius: 20px;
            padding: 50px;
            text-align: center;
        }
        
        .newsletter-input {
            max-width: 500px;
            margin: 30px auto 0;
        }
        
        .newsletter-input .input-group {
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
            border-radius: 50px;
            overflow: hidden;
        }
        
        .newsletter-input input {
            border: none;
            padding: 15px 25px;
            font-size: 1rem;
        }
        
        .newsletter-input button {
            padding: 15px 30px;
            border: none;
            background: #333;
            color: white;
            font-weight: 600;
            transition: all 0.3s ease;
        }
        
        .newsletter-input button:hover {
            background: #000;
        }
        
        .emergency-contact {
            background: #fff3cd;
            border-left: 4px solid #ffc107;
            padding: 20px;
            border-radius: 10px;
            margin-top: 30px;
        }
        
        @media (max-width: 768px) {
            .contact-form-wrapper {
                padding: 30px 20px;
            }
            
            .contact-info-card {
                margin-bottom: 20px;
            }
            
            .map-container {
                height: 300px;
            }
            
            .newsletter-card {
                padding: 30px 20px;
            }
        }