/* StudyKids School Website Custom CSS */
/* Only additional styles that are not in the original template */

/* Admin Banner Full Width Styling */
.admin-banner-area {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.admin-banner-slide {
    width: 100%;
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
    display: flex;
    align-items: center;
    z-index: 2;
}

.banner-content-admin {
    position: relative;
    z-index: 3;
}

.banner-content-admin .inner {
    max-width: 600px;
}

.banner-content-admin .pre-title {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.banner-content-admin .pre-title span {
    color: var(--accent-color);
}

.banner-content-admin .title-banner {
    color: white;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.banner-content-admin .title-banner .color-four {
    color: var(--accent-color);
}

.banner-content-admin .title-banner span {
    color: #FFD700;
}

.banner-content-admin .banner-btn {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.rts-btn.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.rts-btn.btn-outline-white:hover {
    background: white;
    color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
    text-decoration: none;
}

/* Admin Banner Navigation */
.admin-banner-next,
.admin-banner-prev {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.admin-banner-next:hover,
.admin-banner-prev:hover {
    background: rgba(255, 107, 53, 0.8);
    border-color: var(--accent-color);
    transform: scale(1.1);
}

.admin-banner-next::after,
.admin-banner-prev::after {
    font-size: 20px;
    font-weight: 700;
}

/* Admin Banner Pagination */
.admin-banner-pagination {
    bottom: 30px !important;
}

.admin-banner-pagination .swiper-pagination-bullet {
    width: 15px;
    height: 15px;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    opacity: 1;
    transition: all 0.3s ease;
}

.admin-banner-pagination .swiper-pagination-bullet-active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 1199px) {
    .banner-content-admin .title-banner {
        font-size: 3rem;
    }
}

@media (max-width: 991px) {
    .admin-banner-slide {
        height: 80vh;
        min-height: 500px;
    }

    .banner-content-admin .title-banner {
        font-size: 2.5rem;
    }

    .banner-content-admin .pre-title {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .admin-banner-slide {
        height: 70vh;
        min-height: 450px;
    }

    .banner-content-admin .title-banner {
        font-size: 2rem;
    }

    .banner-content-admin .banner-btn {
        gap: 15px;
    }

    .rts-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    .admin-banner-next,
    .admin-banner-prev {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 576px) {
    .admin-banner-slide {
        height: 60vh;
        min-height: 400px;
    }

    .banner-content-admin .title-banner {
        font-size: 1.8rem;
    }

    .banner-content-admin .banner-btn {
        flex-direction: column;
    }

    .rts-btn {
        text-align: center;
        justify-content: center;
    }
}

/* Admission CTA Section Styling */
.admission-steps {
    margin: 30px 0;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #F7931E 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.step-content h5 {
    color: #333;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.step-content p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.button-area {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.rts-btn.btn-outline {
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.rts-btn.btn-outline:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
    text-decoration: none;
}

@media (max-width: 768px) {
    .step-item {
        gap: 15px;
        padding: 15px;
        margin-bottom: 20px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .step-content h5 {
        font-size: 1.1rem;
    }

    .button-area {
        gap: 15px;
    }

    .rts-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .button-area {
        flex-direction: column;
    }

    .rts-btn {
        text-align: center;
        justify-content: center;
    }
}



/* School specific customizations */
.school-name-highlight {
    color: var(--accent-color);
    font-weight: 700;
}

/* Gallery Modal Enhancements */
.gallery-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
}

.gallery-thumbnails img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.gallery-thumbnails img:hover,
.gallery-thumbnails img.active {
    border-color: var(--accent-color);
    transform: scale(1.05);
}

.modal-xl .modal-dialog {
    max-width: 90%;
}

.carousel-inner img {
    max-height: 70vh;
    object-fit: contain;
    width: 100%;
}

/* Breadcrumb Custom Styling */
.rts-breadcrumb-area {
    background: linear-gradient(135deg, var(--accent-color) 0%, #F7931E 100%);
    position: relative;
    overflow: hidden;
}

.rts-breadcrumb-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.rts-breadcrumb-area .container {
    position: relative;
    z-index: 2;
}

.breadcrumb-1 h1 {
    color: white;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0;
}

.bread-tag {
    text-align: right;
}

.bread-tag a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 1.1rem;
}

.bread-tag a.active {
    color: white;
    font-weight: 600;
}

.bread-tag span {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 10px;
}

/* Contact Form Enhancements */
.contact-form-wrapper {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .breadcrumb-1 h1 {
        font-size: 2rem;
        text-align: center;
    }
    
    .bread-tag {
        text-align: center;
        margin-top: 1rem;
    }
    
    .gallery-thumbnails img {
        width: 60px;
        height: 45px;
    }
    
    .modal-xl .modal-dialog {
        max-width: 95%;
        margin: 10px auto;
    }
    
    .carousel-inner img {
        max-height: 50vh;
    }
}

@media (max-width: 576px) {
    .breadcrumb-1 h1 {
        font-size: 1.5rem;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    
    .gallery-thumbnails img {
        width: 50px;
        height: 38px;
    }
}

/* Animation Enhancements */
.wow {
    visibility: hidden;
}

.wow.animated {
    visibility: visible;
}

/* 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); 
    }
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    .rts-breadcrumb-area {
        background: #333 !important;
        color: white !important;
    }
    
    .gallery-thumbnails {
        display: none !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .form-control {
        border-color: #000;
    }
    
    .form-control:focus {
        border-color: #000;
        box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.25);
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Indicators for Accessibility */
.btn:focus,
.form-control:focus,
a:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e55a2b;
}
.navbar-toggler {
    border: none;
    padding: 4px 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 10px 0;
}

.dropdown-item {
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

.dropdown-item i {
    color: var(--primary-color);
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .school-header .col-md-6:last-child {
        text-align: left !important;
        margin-top: 10px;
    }
    
    .navbar-nav .nav-link {
        padding: 8px 0 !important;
    }
    
    .btn-primary-custom {
        margin-top: 10px;
        display: inline-block;
    }
}

/* News Ticker Animation */
marquee {
    font-size: 14px;
    font-weight: 500;
}

/* Header Buttons Group */
.header-buttons-group {
    display: flex;
    gap: 15px;
    align-items: center;
}

.rts-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.rts-btn.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--btn-text-color, white);
}

.rts-btn.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.rts-btn.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.rts-btn.btn-secondary:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}

/* Top Header Responsive */
@media (max-width: 768px) {
    .school-header .d-flex {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 10px;
    }

    .school-header .justify-content-end {
        justify-content: flex-start !important;
    }

    .header-buttons-group {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .rts-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   2026 Modern Refresh — visual polish layered on top of the existing theme.
   Uses the Theme & Branding CSS variables so it follows whatever palette
   a school has configured (or the theme defaults if unconfigured).
   ========================================================================== */

/* Sticky header: subtle shadow + solid background once scrolled */
.header--sticky.sticky.header-default {
    background: #fff;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

/* Card hover polish: academics blocks, service blocks, facility cards */
.class-wrapper-style-2 .wrapper-inner,
.service-wrapper,
.service-wrapper-style-2 .wrapper-list {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.class-wrapper-style-2 .wrapper-inner:hover,
.service-wrapper:hover,
.service-wrapper-style-2 .wrapper-list:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1);
}

/* Button polish: smoother, slightly bouncier lift + soft glow */
.rts-btn {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, background 0.3s ease;
}

.rts-btn.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

/* Testimonial / authority-message cards: modern quote-card treatment */
.testimonials-wrapper-style-2 {
    border-radius: 16px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.testimonials-wrapper-style-2:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

.testimonials-wrapper-style-2 .author {
    color: var(--color-heading-1);
}

.testimonials-wrapper-style-2 .desig {
    color: var(--accent-color);
    font-weight: 600;
}

/* Typography polish: slightly tighter, bolder section titles */
.section-title,
.title-area-center-style .title {
    letter-spacing: -0.02em;
}

.title-area-center-style .pre-title span,
.pre-title span {
    letter-spacing: 0.5px;
}