/* ==========================================================
   INNER PAGES - Sri Vasavi College of Education
   Uses the homepage colour tokens (style.css :root).
   Minimum font size: 15px everywhere.
   ========================================================== */

:root { --inner-radius: 18px; }

/* ---------- Page banner ---------- */
.inner-hero {
    position: relative;
    min-height: 340px;
    display: flex;
    align-items: center;
    padding: 110px 0 70px;
    background-size: cover;
    background-position: center;
    color: #fff;
}
.inner-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7,54,117,.95) 0%, rgba(7,54,117,.8) 55%, rgba(7,54,117,.55) 100%);
}
.inner-hero .container { position: relative; z-index: 1; }
.inner-hero-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--svce-gold);
    margin-bottom: 10px;
}
.inner-hero h1 {
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 700;
    color: #fff;
    margin: 0 0 16px;
}
.inner-breadcrumb { --bs-breadcrumb-divider-color: var(--svce-gold); --bs-breadcrumb-divider: "/"; }
.inner-breadcrumb .breadcrumb-item,
.inner-breadcrumb .breadcrumb-item a { color: #fff; font-size: 15px; }
.inner-breadcrumb .breadcrumb-item.active { color: var(--svce-gold); }
.inner-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: var(--svce-gold); }

/* ---------- Sections ---------- */
.inner-section { padding: 90px 0; }
.inner-section.alt { background: #f4f8fc; }
.inner-kicker {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--svce-blue);
    margin-bottom: 8px;
}
.inner-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: clamp(26px, 3vw, 36px);
    color: var(--svce-navy);
    line-height: 1.25;
    margin-bottom: 16px;
}
.inner-title-line {
    width: 70px;
    height: 4px;
    border-radius: 4px;
    background: var(--svce-gold);
    margin-bottom: 24px;
}
.inner-section.text-center .inner-title-line { margin-left: auto; margin-right: auto; }
.inner-lead { color: var(--svce-text); font-size: 16px; }
.inner-section p { color: var(--svce-text); }

/* ---------- Cards ---------- */
.inner-card {
    background: #fff;
    border: 1px solid #e3ebf5;
    border-radius: var(--inner-radius);
    padding: 30px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(7,54,117,.07);
    transition: transform .3s ease, box-shadow .3s ease;
}
.inner-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.inner-card h3 { font-size: 19px; font-weight: 700; color: var(--svce-navy); margin-bottom: 10px; }
.inner-card p { margin-bottom: 0; }
.inner-card-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--svce-navy), var(--svce-blue));
    color: #fff;
    font-size: 22px;
    margin-bottom: 18px;
}
.inner-card-gold .inner-card-icon { background: linear-gradient(135deg, var(--svce-gold), #f3c75a); color: var(--svce-navy); }

/* ---------- Image frame ---------- */
.inner-image { position: relative; }
.inner-image img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    border-radius: 26px;
    box-shadow: var(--about-shadow);
}
.inner-image::after {
    content: "";
    position: absolute;
    inset: 18px -18px -18px 18px;
    border: 3px solid var(--svce-gold);
    border-radius: 26px;
    z-index: -1;
}
.inner-image { z-index: 0; }

/* ---------- Lists ---------- */
.inner-list { list-style: none; padding: 0; margin: 0; }
.inner-list li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 12px;
    color: var(--svce-text);
}
.inner-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--svce-gold-dark, #d8a52b);
}

/* ---------- Tables ---------- */
.inner-table-wrap { border-radius: var(--inner-radius); overflow-x: auto; box-shadow: 0 10px 30px rgba(7,54,117,.08); }
.inner-table { width: 100%; margin: 0; border-collapse: separate; border-spacing: 0; background: #fff; }
.inner-table thead th {
    background: var(--svce-navy);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    padding: 15px 18px;
    text-align: left;
    white-space: nowrap;
}
.inner-table td { padding: 14px 18px; border-bottom: 1px solid #e6edf5; color: var(--svce-text); vertical-align: top; }
.inner-table tbody tr:nth-child(even) td { background: #f7fafd; }
.inner-table tbody tr:last-child td { border-bottom: 0; }
.inner-table .rank-cell { font-weight: 600; color: var(--svce-navy); }

/* ---------- Chips (subjects, events, facilities) ---------- */
.inner-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid #dfe8f3;
    border-radius: 999px;
    padding: 10px 20px;
    margin: 0 8px 12px 0;
    font-weight: 600;
    color: var(--svce-navy);
    box-shadow: 0 6px 16px rgba(7,54,117,.06);
}
.inner-chip i { color: var(--svce-gold-dark, #d8a52b); }

/* ---------- Timeline (achievements / results) ---------- */
.inner-timeline { position: relative; padding-left: 34px; }
.inner-timeline::before {
    content: "";
    position: absolute;
    left: 9px;
    top: 6px;
    bottom: 6px;
    width: 3px;
    background: linear-gradient(var(--svce-gold), var(--svce-blue));
    border-radius: 3px;
}
.inner-timeline-item { position: relative; margin-bottom: 24px; }
.inner-timeline-item::before {
    content: "";
    position: absolute;
    left: -34px;
    top: 6px;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid var(--svce-gold);
}
.inner-timeline-item .year { font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--svce-navy); }

/* ---------- Gallery ---------- */
.gallery-tile {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--inner-radius);
    box-shadow: 0 10px 30px rgba(7,54,117,.1);
}
.gallery-tile img { width: 100%; height: 260px; object-fit: cover; transition: transform .6s ease; display: block; }
.gallery-tile:hover img { transform: scale(1.07); }
.gallery-tile span {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 14px 18px;
    background: linear-gradient(transparent, rgba(3,26,56,.92));
    color: #fff;
    font-weight: 600;
}
.gallery-tile span { 
    display: none;
}
/* ---------- Contact ---------- */
.contact-card {
    background: #fff;
    border-radius: var(--inner-radius);
    padding: 26px;
    box-shadow: 0 10px 30px rgba(7,54,117,.08);
    display: flex;
    gap: 18px;
    height: 100%;
}
.contact-card .inner-card-icon { flex-shrink: 0; margin-bottom: 0; }
.contact-card h3 { font-size: 18px; font-weight: 700; color: var(--svce-navy); margin-bottom: 6px; }
.contact-card p { margin: 0; }
.contact-card a { color: var(--svce-blue); }
.inner-form { background: #fff; border-radius: 22px; padding: 40px; box-shadow: var(--shadow); }
.inner-form .form-label { font-weight: 600; color: var(--svce-navy); margin-bottom: 6px; }
.inner-form .form-control,
.inner-form .form-select {
    border: 1px solid #d6e0ec;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 15px;
    min-height: 50px;
}
.inner-form textarea.form-control { min-height: 140px; }
.inner-form .form-control:focus { border-color: var(--svce-blue); box-shadow: 0 0 0 .2rem rgba(11,75,145,.15); }
.inner-map iframe { width: 100%; height: 420px; border: 0; border-radius: 22px; box-shadow: var(--shadow); }

/* ---------- Accordion (code of conduct) ---------- */
.inner-accordion .accordion-item { border: 1px solid #e3ebf5; border-radius: 14px !important; overflow: hidden; margin-bottom: 12px; }
.inner-accordion .accordion-button { font-weight: 600; color: var(--svce-navy); font-size: 16px; }
.inner-accordion .accordion-button:not(.collapsed) { background: #f4f8fc; color: var(--svce-navy); box-shadow: none; }
.inner-accordion .accordion-body { color: var(--svce-text); }

/* ---------- Minimum 15px: Bootstrap utilities that default smaller ---------- */
small, .small, .form-text, .badge, .btn-sm, .form-control-sm, .form-select-sm,
.input-group-sm > .form-control, .input-group-text, .breadcrumb-item,
.nav-link, .dropdown-item, .table, .form-label, figcaption {
    font-size: 15px;
}
