.school-section {
    padding: 3rem 0;
    background-color: #f8f9fa;
    width: 100%;
}

.school-info {
    margin-bottom: 2rem;
    width: 100%;
}

.school-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    width: 100%;
    padding: 0 1rem;
}

.accreditation-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.25rem;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    width: calc(33.333% - 1rem);
    flex-grow: 1;
}

.accreditation-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.accreditation-badge img {
    height: 40px;
    width: auto;
    margin-right: 1rem;
}

.specialty-item {
    background: #fff;
    border-radius: 12px;
    padding: 1.75rem;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.specialty-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12);
}

.specialty-icon {
    font-size: 2.25rem;
    color: #289a96;
    margin-bottom: 1.25rem;
}

.specialty-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #2c3e50;
}

.specialty-description {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    flex-grow: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .school-cards-container {
        grid-template-columns: 1fr;
        padding: 0 0.75rem;
    }

    .specialty-item {
        padding: 1.5rem;
    }

    .accreditation-badge {
        width: calc(50% - 1rem);
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .school-cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Unified School Section Styling */
.school-info-container {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.section-title {
    color: #2c3e50;
    position: relative;
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #289a96;
}

.section-subtitle {
    color: #2c3e50;
    position: relative;
    padding-bottom: 0.5rem;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.section-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #289a96;
}

/* School Highlights Grid */
.school-highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.highlight-card {
    display: flex;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 1.25rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(40, 154, 150, 0.1);
    height: 100%;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: rgba(40, 154, 150, 0.3);
}

.highlight-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    min-width: 48px;
    background-color: rgba(40, 154, 150, 0.1);
    border-radius: 10px;
    margin-right: 1rem;
}

.highlight-icon i {
    font-size: 1.5rem;
    color: #289a96;
}

.highlight-content {
    flex: 1;
}

.highlight-title {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.highlight-description {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 0;
    line-height: 1.5;
}

/* School Card Footer */
.school-card-footer {
    display: flex;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
    color: #6c757d;
    font-size: 0.875rem;
}

.school-district, 
.school-location {
    display: flex;
    align-items: center;
}

.school-district i, 
.school-location i {
    margin-right: 0.5rem;
    color: #289a96;
}

/* Responsive Design */
@media (max-width: 768px) {
    .school-highlights-grid {
        grid-template-columns: 1fr;
    }
    
    .school-card-footer {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .school-info-container {
        padding: 1.5rem;
    }
}

/* Animation for highlights on scroll */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.highlight-card {
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

.highlight-card:nth-child(1) { animation-delay: 0.1s; }
.highlight-card:nth-child(2) { animation-delay: 0.2s; }
.highlight-card:nth-child(3) { animation-delay: 0.3s; }
.highlight-card:nth-child(4) { animation-delay: 0.4s; }

/* Button Styling */
.btn-primary,
.book-now-btn {
    background-color: #289a96;
    border-color: #289a96;
    color: white;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover,
.book-now-btn:hover {
    background-color: #1e7471;
    border-color: #1e7471;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 154, 150, 0.15);
}

.btn-primary:active,
.book-now-btn:active {
    transform: translateY(0);
    box-shadow: none;
}

.btn-primary:focus,
.book-now-btn:focus {
    box-shadow: 0 0 0 0.25rem rgba(40, 154, 150, 0.25);
}

/* Mobile-Optimized Social Proof Section Styling */
.social-proof {
    border-radius: 0.5rem;
    overflow: hidden;
}

/* Counter Items */
.counter-item {
    padding: 1.25rem 1rem;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.counter-item:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.counter-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #289a96;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.counter-label {
    color: #6c757d;
    font-size: 0.875rem;
    font-weight: 500;
}

/* For Small Mobile Devices */
@media (max-width: 375px) {
    .counter-value {
        font-size: 1.5rem;
    }
    
    .counter-label {
        font-size: 0.75rem;
    }
    
    .counter-item {
        padding: 1rem 0.75rem;
    }
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.375rem;
}

.indicator {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: #dee2e6;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: #289a96;
    transform: scale(1.2);
}

/* Trust Badges */
.trust-badge {
    display: inline-flex;
    align-items: center;
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 2rem;
    padding: 0.375rem 1rem;
    margin: 0.25rem;
    font-size: 0.875rem;
    color: #495057;
    font-weight: 500;
    transition: all 0.2s ease;
}

.trust-badge:hover {
    border-color: #289a96;
    background-color: rgba(40, 154, 150, 0.05);
}

.trust-badge i {
    font-size: 1rem;
    color: #289a96;
}

/* Animation for counter values */
@keyframes countUp {
    from {
        opacity: 0.5;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stats-value {
    animation: countUp 0.8s ease-out forwards;
    display: inline-block;
}

/* Load animation for each stat with delay */
#stat-student-rides { animation-delay: 0.1s; }
#stat-satisfaction { animation-delay: 0.2s; }
#stat-miles { animation-delay: 0.3s; }
#stat-co2 { animation-delay: 0.4s; }

/* BS5 utility improvements */
@media (max-width: 767.98px) {
    .social-proof {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
    
    .row.g-3 > .col-6 {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

/* For medium screens */
@media (min-width: 768px) and (max-width: 991.98px) {
    .counter-value {
        font-size: 1.5rem;
    }
} 