/* Template 8: Aurora Glow Inner Page Styles */

:root {
    --t8-primary: #6366f1;
    --t8-secondary: #a855f7;
    --t8-accent: #22d3ee;
    --t8-bg: #0f172a;
    --t8-card: rgba(30, 41, 59, 0.7);
    --t8-border: rgba(99, 102, 241, 0.2);
}

/* Page Header / Breadcrumb */
.t8-inner-header {
    padding: 100px 0 60px;
    background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.15), transparent 60%);
    border-bottom: 1px solid var(--t8-border);
    text-align: center;
}

.t8-inner-header h1 {
    font-size: 48px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 15px;
}

.t8-breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    color: #94a3b8;
}

.t8-breadcrumb a {
    color: var(--t8-accent);
}

.t8-breadcrumb span::before {
    content: '/';
    margin-right: 10px;
    opacity: 0.4;
}

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

/* Grid / Cards */
.t8-glass-panel {
    background: var(--t8-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--t8-border);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.t8-title-line {
    height: 4px;
    width: 60px;
    background: linear-gradient(90deg, var(--t8-primary), var(--t8-accent));
    border-radius: 2px;
    margin: 20px 0;
}

/* Teachers / Staff Inner */
.t8-staff-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--t8-border);
    border-radius: 20px;
    overflow: hidden;
    transition: 0.3s;
}

.t8-staff-card:hover {
    transform: translateY(-5px);
    border-color: var(--t8-primary);
}

.t8-staff-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.t8-staff-info {
    padding: 20px;
    text-align: center;
}

.t8-staff-info h5 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 5px;
}

.t8-staff-info p {
    color: var(--t8-accent);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Gallery Inner */
.t8-gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
    border: 1px solid var(--t8-border);
}

.t8-gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: 0.3s;
}

.t8-gallery-item:hover .t8-gallery-overlay {
    opacity: 1;
}

.t8-gallery-title {
    color: #fff;
    font-weight: 700;
    font-size: 16px;
}

/* Contact Form */
.t8-input-group {
    margin-bottom: 25px;
}

.t8-input-group label {
    display: block;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

.t8-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--t8-border);
    border-radius: 12px;
    padding: 12px 18px;
    color: #fff;
    transition: 0.3s;
}

.t8-control:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--t8-primary);
    box-shadow: 0 0 15px var(--t8-glow);
}

/* News / Blogs */
.t8-news-card {
    background: var(--t8-card);
    border: 1px solid var(--t8-border);
    border-radius: 20px;
    overflow: hidden;
    transition: 0.3s;
}

.t8-news-card:hover {
    border-color: var(--t8-accent);
}

.t8-news-body {
    padding: 25px;
}

.t8-news-date {
    color: var(--t8-primary);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.t8-news-title {
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 12px;
    display: block;
}

.t8-news-title:hover {
    color: var(--t8-accent);
}

/* Events */
.t8-event-strip {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--t8-border);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    transition: 0.3s;
}

.t8-event-strip:hover {
    background: rgba(99, 102, 241, 0.05);
    border-color: var(--t8-primary);
}

.t8-event-date {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: var(--t8-primary);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.t8-event-date .d {
    font-size: 20px;
    font-weight: 900;
}

.t8-event-date .m {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Admission Form Premium */
.t8-form-card {
    background: #1e293b;
    border: 1px solid var(--t8-border);
    border-radius: 30px;
    padding: 50px;
}

.t8-form-title {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 30px;
    border-left: 5px solid var(--t8-primary);
    padding-left: 20px;
}

/* FAQ */
.t8-accordion-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--t8-border);
    border-radius: 16px;
    margin-bottom: 15px;
    overflow: hidden;
}

.t8-accordion-header {
    padding: 18px 25px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.t8-accordion-body {
    padding: 0 25px 20px;
    color: #94a3b8;
    font-size: 14px;
    display: none;
}

.t8-accordion-item.active .t8-accordion-body {
    display: block;
}

.t8-accordion-item.active .t8-accordion-header {
    color: var(--t8-accent);
}

/* Buttons */
.btn-t8-outline {
    border: 1px solid var(--t8-primary);
    color: var(--t8-primary);
    padding: 10px 24px;
    border-radius: 10px;
    font-weight: 700;
    transition: 0.3s;
}

.btn-t8-outline:hover {
    background: var(--t8-primary);
    color: #fff;
}