/* ═══════════════════════════════════════════════════════════
   INNER PAGE STYLES — Assam School Website
   ═══════════════════════════════════════════════════════════ */

/* ── PAGE BANNER ── */
.page-banner {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #fff; padding: 60px 0 50px; text-align: center; position: relative; overflow: hidden;
}
.page-banner::before {
    content: ''; position: absolute; top: -50%; right: -10%; width: 400px; height: 400px;
    background: rgba(255,255,255,0.03); border-radius: 50%;
}
.page-banner::after {
    content: ''; position: absolute; bottom: -40%; left: -10%; width: 300px; height: 300px;
    background: rgba(255,255,255,0.02); border-radius: 50%;
}
.page-banner h1 { font-weight: 800; font-size: 2.4rem; margin-bottom: 10px; position: relative; z-index: 1; }
.page-banner p { font-size: 1.05rem; opacity: 0.8; max-width: 600px; margin: 0 auto 15px; position: relative; z-index: 1; }
.page-banner .breadcrumb { position: relative; z-index: 1; }
.page-banner .breadcrumb-item a { color: rgba(255,255,255,0.7); text-decoration: none; }
.page-banner .breadcrumb-item a:hover { color: #ffc107; }
.page-banner .breadcrumb-item.active { color: #ffc107; }
.page-banner .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }

/* ── SECTION STYLES ── */
.inner-section { padding: 60px 0; }
.inner-section:nth-child(even) { background: #f8f9fa; }
.inner-section:nth-child(odd) { background: #fff; }

.section-title {
    font-weight: 800; font-size: 1.6rem; color: #1a1a2e; margin-bottom: 8px;
    position: relative; padding-bottom: 14px;
}
.section-title::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 50px; height: 4px; background: linear-gradient(90deg, #8b0000, #ff6f00); border-radius: 4px;
}
.section-title-center::after { left: 50%; transform: translateX(-50%); }

/* ── INFO CARDS ── */
.info-card {
    background: #fff; border-radius: 15px; padding: 28px; height: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06); transition: all 0.3s;
    border-top: 4px solid #8b0000;
}
.info-card:hover { transform: translateY(-5px); box-shadow: 0 12px 35px rgba(0,0,0,0.1); }
.info-card .card-icon {
    width: 60px; height: 60px; border-radius: 50%;
    background: linear-gradient(135deg, rgba(139,0,0,0.1), rgba(139,0,0,0.05));
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: #8b0000; margin-bottom: 15px;
}
.info-card h5 { font-weight: 700; color: #1a1a2e; }
.info-card p { color: #666; font-size: 0.92rem; line-height: 1.7; }

/* ── PERSON CARD ── */
.person-card {
    background: #fff; border-radius: 15px; overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06); transition: all 0.3s; text-align: center;
}
.person-card:hover { transform: translateY(-5px); box-shadow: 0 12px 35px rgba(0,0,0,0.1); }
.person-card .person-img { width: 100%; height: 240px; object-fit: cover; }
.person-card .person-placeholder {
    width: 100%; height: 240px; display: flex; align-items: center; justify-content: center;
    font-size: 4rem; font-weight: 700; color: #fff;
    background: linear-gradient(135deg, #667eea, #764ba2);
}
.person-card .person-body { padding: 18px; }
.person-card .person-name { font-weight: 700; font-size: 1rem; color: #1a1a2e; margin-bottom: 2px; }
.person-card .person-role { font-size: 0.82rem; color: #8b0000; font-weight: 600; }
.person-card .person-qual { font-size: 0.78rem; color: #777; }
.person-card .person-exp { font-size: 0.75rem; color: #999; }

/* ── FEATURE GRID CARDS ── */
.feat-card {
    text-align: center; padding: 28px 18px; background: #f8f9fa; border-radius: 15px;
    transition: all 0.3s; height: 100%; border: 1px solid #eee;
}
.feat-card:hover { background: #8b0000; color: #fff; transform: translateY(-8px); box-shadow: 0 15px 30px rgba(139,0,0,0.2); border-color: #8b0000; }
.feat-card:hover i, .feat-card:hover h6, .feat-card:hover p { color: #fff !important; }
.feat-card i { font-size: 2.5rem; color: #8b0000; margin-bottom: 15px; display: block; }
.feat-card h6 { font-weight: 700; color: #333; margin-bottom: 6px; }
.feat-card p { font-size: 0.82rem; color: #777; margin: 0; }

/* ── NOTICE LIST ── */
.notice-list-item {
    background: #fff; border-radius: 12px; padding: 18px 22px; margin-bottom: 14px;
    border-left: 4px solid #8b0000; box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    transition: all 0.3s;
}
.notice-list-item:hover { transform: translateX(5px); box-shadow: 0 5px 20px rgba(0,0,0,0.08); }
.notice-list-item .notice-date { font-size: 0.75rem; color: #999; font-weight: 600; }
.notice-list-item .notice-title { font-weight: 700; color: #333; font-size: 0.95rem; margin-top: 4px; }
.notice-list-item .notice-desc { font-size: 0.85rem; color: #666; margin-top: 4px; }
.notice-cat-badge { font-size: 0.65rem; font-weight: 700; padding: 3px 12px; border-radius: 50px; text-transform: uppercase; letter-spacing: 0.5px; }

/* ── GALLERY GRID ── */
.gallery-item { border-radius: 12px; overflow: hidden; position: relative; height: 240px; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item .gallery-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5); display: flex; flex-direction: column;
    align-items: center; justify-content: center; color: #fff;
    opacity: 0; transition: opacity 0.3s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item .gallery-overlay h6 { font-weight: 700; font-size: 0.9rem; }
.gallery-item .gallery-overlay small { opacity: 0.8; }

/* ── DOWNLOAD ROW ── */
.download-row {
    background: #fff; border-radius: 12px; padding: 16px 22px;
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 12px; box-shadow: 0 2px 10px rgba(0,0,0,0.04); transition: all 0.3s;
}
.download-row:hover { transform: translateX(5px); box-shadow: 0 5px 15px rgba(0,0,0,0.08); }
.download-row .dl-icon { font-size: 1.5rem; color: #8b0000; margin-right: 15px; flex-shrink: 0; }
.download-row .dl-info h6 { font-weight: 700; margin-bottom: 2px; font-size: 0.95rem; }
.download-row .dl-info small { color: #777; }

/* ── CONTACT PAGE ── */
.contact-info-card {
    background: #fff; border-radius: 15px; padding: 24px; text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06); height: 100%; transition: all 0.3s;
}
.contact-info-card:hover { transform: translateY(-3px); }
.contact-info-card i { font-size: 2rem; color: #8b0000; margin-bottom: 12px; }
.contact-info-card h6 { font-weight: 700; }
.contact-info-card p { color: #666; font-size: 0.9rem; margin: 0; }
.contact-form .form-control { border-radius: 10px; padding: 12px 16px; border: 2px solid #eee; }
.contact-form .form-control:focus { border-color: #8b0000; box-shadow: 0 0 0 3px rgba(139,0,0,0.1); }
.contact-form textarea { min-height: 140px; }
.map-container iframe { width: 100%; height: 350px; border-radius: 15px; border: none; }

/* ── DISCLOSURE TABLE ── */
.disc-table { border-radius: 12px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.06); }
.disc-table th { background: #1a1a2e; color: #fff; font-weight: 600; font-size: 0.9rem; border: none; }
.disc-table td { vertical-align: middle; font-size: 0.9rem; }
.disc-table tbody tr:hover { background: rgba(139,0,0,0.03); }

/* ── CTA BOX ── */
.cta-box {
    background: linear-gradient(135deg, #8b0000, #b30000); color: #fff;
    border-radius: 15px; padding: 40px; text-align: center;
}
.cta-box h4 { font-weight: 800; margin-bottom: 10px; }
.cta-box p { opacity: 0.85; margin-bottom: 20px; }

/* ── FILTER TABS ── */
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; justify-content: center; }
.filter-tab {
    padding: 8px 22px; border-radius: 50px; font-weight: 600; font-size: 0.85rem;
    border: 2px solid #eee; background: #fff; color: #555; cursor: pointer; transition: all 0.3s;
}
.filter-tab:hover, .filter-tab.active { background: #8b0000; color: #fff; border-color: #8b0000; }

/* ── RESPONSIVE — TABLET ── */
@media (max-width: 991px) {
    .page-banner { padding: 40px 0 30px; }
    .page-banner h1 { font-size: 1.7rem; }
    .page-banner p { font-size: 0.92rem; }
    .inner-section { padding: 40px 0; }
    .section-title { font-size: 1.4rem; }
    .info-card { padding: 22px; }
    .cta-box { padding: 30px 20px; }
    .download-row { padding: 14px 16px; }
    .disc-table th, .disc-table td { font-size: 0.82rem; padding: 8px 10px; }
}

/* ── RESPONSIVE — MOBILE ── */
@media (max-width: 767px) {
    .page-banner { padding: 30px 0 22px; }
    .page-banner h1 { font-size: 1.4rem; }
    .page-banner p { font-size: 0.85rem; margin-bottom: 10px; }
    .page-banner .breadcrumb { font-size: 0.78rem; }
    .inner-section { padding: 30px 0; }
    .section-title { font-size: 1.25rem; padding-bottom: 10px; }
    .info-card { padding: 18px; border-radius: 12px; }
    .info-card .card-icon { width: 48px; height: 48px; font-size: 1.2rem; margin-bottom: 12px; }
    .info-card h5 { font-size: 0.95rem; }
    .info-card p { font-size: 0.85rem; }
    .person-card .person-img, .person-card .person-placeholder { height: 200px; }
    .person-card .person-body { padding: 14px; }
    .person-card .person-name { font-size: 0.92rem; }
    .feat-card { padding: 20px 14px; border-radius: 12px; }
    .feat-card i { font-size: 2rem; margin-bottom: 10px; }
    .feat-card h6 { font-size: 0.88rem; }
    .gallery-item { height: 180px; border-radius: 10px; }
    .notice-list-item { padding: 14px 16px; border-radius: 10px; }
    .notice-list-item .notice-title { font-size: 0.88rem; }
    .download-row { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; border-radius: 10px; }
    .download-row .dl-icon { font-size: 1.2rem; }
    .download-row .dl-info h6 { font-size: 0.88rem; }
    .contact-info-card { padding: 18px; border-radius: 12px; }
    .contact-info-card i { font-size: 1.5rem; margin-bottom: 8px; }
    .contact-form .form-control { padding: 10px 14px; font-size: 0.9rem; }
    .map-container iframe { height: 250px; border-radius: 10px; }
    .cta-box { padding: 24px 16px; border-radius: 12px; }
    .cta-box h4 { font-size: 1.1rem; }
    .cta-box p { font-size: 0.88rem; }
    .filter-tabs { gap: 6px; }
    .filter-tab { padding: 6px 16px; font-size: 0.8rem; }
    .disc-table { font-size: 0.78rem; }
    .disc-table th, .disc-table td { padding: 6px 8px; font-size: 0.78rem; }
    /* Responsive tables */
    .table-responsive { -webkit-overflow-scrolling: touch; }
}

/* ── RESPONSIVE — SMALL MOBILE ── */
@media (max-width: 480px) {
    .page-banner { padding: 24px 0 18px; }
    .page-banner h1 { font-size: 1.2rem; }
    .page-banner p { font-size: 0.8rem; }
    .inner-section { padding: 24px 0; }
    .section-title { font-size: 1.1rem; }
    .person-card .person-img, .person-card .person-placeholder { height: 160px; }
    .gallery-item { height: 150px; }
    .contact-form textarea { min-height: 100px; }
    .map-container iframe { height: 200px; }
}
