/* Custom CSS for Kalvi Matriculation School Website */
/* Add this to enhance the existing styles */

/* Header Improvements */
.topbar {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    border-bottom: 1px solid #34495e;
}

.navbar-brand img.logo {
    max-height: 60px;
    width: auto;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 60px 0 40px;
    margin-bottom: 0;
}

.page-title {
    font-size: 2.5em;
    font-weight: 600;
    margin-bottom: 10px;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
}

.breadcrumb a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: white;
}

/* Banner Enhancements */
.banner-title {
    font-size: 3.5em !important;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 15px;
}

.banner-subtitle {
    font-size: 1.5em !important;
    font-weight: 300;
    margin-bottom: 15px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.banner-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 600px;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2980b9, #1f5f8b);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
    border-radius: 25px;
    padding: 10px 28px;
    margin-left: 15px;
}

.btn-outline:hover {
    background: white;
    color: #3498db;
}

/* Section Styling */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5em;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.2em;
    color: #7f8c8d;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Statistics Section */
.section-stats {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.stat-item {
    padding: 30px 20px;
}

.stat-number {
    font-size: 3.5em;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1em;
    opacity: 0.9;
}

/* Facility Cards */
.facility-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.facility-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.facility-content {
    padding: 25px;
}

.facility-content h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.4em;
}

.facility-features {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.facility-features li {
    padding: 5px 0;
    border-bottom: 1px solid #ecf0f1;
}

.facility-features li:before {
    content: "✓";
    color: #27ae60;
    margin-right: 10px;
    font-weight: bold;
}

/* Feature Items */
.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.feature-item i {
    font-size: 1.5em;
    color: #3498db;
    margin-right: 15px;
    margin-top: 5px;
}

.feature-item h4 {
    margin-bottom: 10px;
    color: #2c3e50;
}

/* Contact Form */
.contact-form .form-control {
    border: 2px solid #ecf0f1;
    border-radius: 5px;
    padding: 12px 15px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

.contact-info-item {
    display: flex;
    margin-bottom: 25px;
    align-items: flex-start;
}

.contact-icon {
    background: #3498db;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.2em;
}

.contact-details h4 {
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 1.1em;
}

.contact-details p {
    margin: 0;
    color: #7f8c8d;
}

.contact-details a {
    color: #3498db;
    text-decoration: none;
}

/* News Items */
.news-item {
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.news-date {
    background: #3498db;
    color: white;
    text-align: center;
    padding: 15px;
    width: 80px;
    float: left;
}

.news-date .day {
    display: block;
    font-size: 2em;
    font-weight: 700;
    line-height: 1;
}

.news-date .month {
    display: block;
    font-size: 0.9em;
    margin-top: 5px;
}

.news-content {
    margin-left: 80px;
    padding: 20px;
}

.news-content h4 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.read-more {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
}

.read-more:hover {
    color: #2980b9;
}

/* Enhanced About Section Styles */
.about-highlights {
    margin: 30px 0;
}

.highlight-box {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 20px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.feature-item i {
    font-size: 2em;
    color: #3498db;
    margin-right: 20px;
    margin-top: 5px;
    flex-shrink: 0;
}

.feature-text h4 {
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 1.2em;
    font-weight: 600;
}

.feature-text p {
    color: #7f8c8d;
    margin-bottom: 0;
    line-height: 1.6;
}

.about-mission {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #3498db;
    margin: 30px 0;
}

.about-mission h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.4em;
}

.about-mission p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 0;
}

.about-image-section {
    padding-left: 30px;
}

.image-wrapper {
    position: relative;
    margin-bottom: 30px;
}

.main-image {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.about-values {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 20px rgba(0,0,0,0.1);
}

.about-values h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.3em;
    text-align: center;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.values-list {
    list-style: none;
    padding: 0;
}

.value-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #ecf0f1;
}

.value-item:last-child {
    border-bottom: none;
}

.value-item i {
    font-size: 1.2em;
    color: #3498db;
    margin-right: 12px;
    margin-top: 3px;
    flex-shrink: 0;
}

.value-item span {
    color: #555;
    font-size: 0.95em;
    line-height: 1.5;
}

.about-cta {
    margin-top: 30px;
    text-align: center;
}

.about-cta .btn {
    margin: 0 10px 10px 0;
}

/* Additional styling for Admission Steps */
.admission-step {
    display: flex;
    margin-bottom: 40px;
    padding: 25px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.admission-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.step-number {
    background: #3498db;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: 700;
    margin-right: 25px;
    flex-shrink: 0;
}

.step-content h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.step-content p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.document-list {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 15px;
}

.document-list li {
    padding: 5px 0;
    border-bottom: 1px solid #e9ecef;
}

.document-list li:last-child {
    border-bottom: none;
}

.step-actions .btn {
    margin-top: 15px;
}

/* Date and Fee Structure Styling */
.dates-info, .age-criteria, .fee-structure {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.date-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.date-item:last-child {
    border-bottom: none;
}

.date-item .date {
    background: #3498db;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    margin-right: 20px;
    min-width: 100px;
    text-align: center;
}

.date-item .event {
    color: #2c3e50;
    font-weight: 500;
}

/* Prospectus Styling */
.overview-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.overview-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.overview-item i {
    margin-bottom: 20px;
}

.overview-item h4 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.program-details {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.program-details h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.program-details ul {
    list-style: none;
    padding: 0;
}

.program-details ul li {
    padding: 8px 0;
    border-bottom: 1px solid #f1f2f6;
    position: relative;
    padding-left: 25px;
}

.program-details ul li:before {
    content: "✓";
    color: #27ae60;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.program-details ul li:last-child {
    border-bottom: none;
}

.facility-item {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.facility-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.facility-item h4 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.facility-item i {
    color: #3498db;
    margin-right: 10px;
}

/* Contact Page Styling */
.quick-action-item {
    padding: 30px 20px;
    text-align: center;
    color: white;
}

.quick-action-item i {
    opacity: 0.8;
}

.quick-action-item h4 {
    color: white;
    margin: 20px 0 15px 0;
}

.quick-action-item p {
    opacity: 0.9;
    margin-bottom: 20px;
}

/* Map Container */
.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    margin: 30px 0;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #3498db, #2980b9);
    padding: 80px 0 60px;
}

.page-title {
    font-size: 2.8em;
    font-weight: 600;
    margin-bottom: 15px;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb li a {
    color: rgba(255,255,255,0.8);
}

.breadcrumb li.active {
    color: white;
}

/* New Footer Design - Clean & Professional */
.site-footer {
    background: #2c3e50;
    color: #ffffff;
    padding: 60px 0 0;
    position: relative;
    border-top: 3px solid #3498db;
}

.footer-widget {
    margin-bottom: 40px;
}

/* Footer Logo Section */
.footer-logo-section {
    margin-bottom: 25px;
}

.footer-logo {
    max-height: 60px;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
}

.school-name {
    color: #ffffff;
    font-size: 1.4em;
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1.3;
}

.footer-description {
    color: #ecf0f1;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 0.95em;
}

/* Footer Titles */
.footer-title {
    color: #ffffff;
    font-size: 1.2em;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 8px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #3498db;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    padding: 5px 0;
}

.footer-links a::before {
    content: '→';
    color: #3498db;
    margin-right: 8px;
    font-weight: bold;
    transition: transform 0.3s ease;
    font-size: 0.9em;
}

.footer-links a:hover {
    color: #3498db;
    transform: translateX(5px);
}

.footer-links a:hover::before {
    transform: translateX(3px);
}

/* Social Media Links */
.footer-social {
    margin-top: 25px;
}

.footer-social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #34495e;
    color: #ffffff;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    font-size: 1.1em;
}

.footer-social a:hover {
    background: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

/* Contact Information */
.contact-info {
    padding: 0;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #34495e;
}

.contact-detail:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-detail i {
    font-size: 1.3em;
    color: #3498db;
    margin-right: 15px;
    margin-top: 2px;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.contact-text {
    flex: 1;
}

.contact-label {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 5px;
}

.contact-text p {
    color: #bdc3c7;
    margin: 0;
    line-height: 1.6;
    font-size: 0.9em;
}

.contact-text a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: #3498db;
}

/* Copyright Section */
.copyright {
    background: #1a252f;
    padding: 20px 0;
    margin-top: 0;
    border-top: 1px solid #34495e;
}

.copyright p {
    margin: 0;
    color: #95a5a6;
    font-size: 0.85em;
    line-height: 1.5;
}

.copyright a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.copyright a:hover {
    color: #5dade2;
    text-decoration: underline;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .site-footer {
        padding: 40px 0 0;
    }
    
    .footer-widget {
        margin-bottom: 30px;
        text-align: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-detail {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-detail i {
        margin-right: 0;
        margin-bottom: 8px;
    }
    
    .footer-social {
        text-align: center;
    }
    
    .footer-social a {
        margin: 5px;
    }
    
    .copyright {
        text-align: center;
    }
}

/* Additional Page Styling */
.award-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.award-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.award-year {
    background: #3498db;
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.9em;
    font-weight: 600;
}

.achievement-list {
    list-style: none;
    padding: 0;
}

.achievement-list li {
    padding: 8px 0;
    border-bottom: 1px solid #ecf0f1;
    position: relative;
    padding-left: 25px;
}

.achievement-list li::before {
    content: "★";
    color: #f39c12;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.timing-table th {
    background: #3498db;
    color: white;
    text-align: center;
}

.timing-table .lunch-break {
    background: #f8f9fa;
    font-weight: bold;
}

.uniform-section {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.uniform-list {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    list-style: none;
    margin-top: 15px;
}

.uniform-list li {
    padding: 5px 0;
    border-bottom: 1px solid #e9ecef;
}

.learning-method {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.method-icon {
    margin-bottom: 20px;
}

.stage-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    text-align: center;
}

.stage-number {
    background: #3498db;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
    margin: 0 auto 20px auto;
}

.program-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.program-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.gallery-item {
    position: relative;
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* General Responsive Improvements */
@media (max-width: 768px) {
    .banner-title {
        font-size: 2.5em !important;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 2em;
    }
    
    .news-date {
        float: none;
        width: 100%;
        text-align: left;
        padding: 15px 20px;
    }
    
    .news-content {
        margin-left: 0;
    }
    
    /* About Section Responsive */
    .about-image-section {
        padding-left: 15px;
        margin-top: 30px;
    }
    
    .highlight-box {
        padding: 20px;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        margin-bottom: 30px;
    }
    
    .feature-item i {
        margin-right: 0;
        margin-bottom: 10px;
        font-size: 2.5em;
    }
    
    .about-mission {
        padding: 20px;
        margin: 20px 0;
    }
    
    .about-values {
        padding: 20px;
    }
    
    .value-item {
        flex-direction: column;
        text-align: center;
        padding: 15px 0;
    }
    
    .value-item i {
        margin-right: 0;
        margin-bottom: 8px;
        font-size: 1.5em;
    }
    
    .about-cta .btn {
        display: block;
        margin: 10px auto;
        width: 100%;
        max-width: 250px;
    }
}

/* Loading Animation */
.page-loading {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.page-loaded {
    opacity: 1;
}

/* Scroll to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.btn-back-to-top {
    background: #3498db;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 3px 15px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
}

.btn-back-to-top:hover {
    background: #2980b9;
    transform: translateY(-3px);
    color: white;
    text-decoration: none;
}

