/* Shared Inner Pages — Vasi Web Institute */

.inner-page {
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #4a5568;
    background: #eef3fa;
    -webkit-font-smoothing: antialiased;
}

/* Scope to main content only — do not override navbar/footer styles */
.inner-page main img {
    display: block;
    max-width: 100%;
    height: auto;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.inner-page .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.75rem 1.5rem;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 999px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.inner-page .btn:hover,
.inner-page .btn:focus-visible {
    transform: translateY(-1px);
    outline: none;
}

.inner-page .btn--primary {
    color: #ffffff;
    background: #0056e0;
    border-color: #0056e0;
}

.inner-page .btn--primary:hover,
.inner-page .btn--primary:focus-visible {
    background: #0047b8;
    border-color: #0047b8;
}

.inner-page .btn--outline {
    color: #1a2b4a;
    background: #ffffff;
    border-color: #d0dbe8;
}

.inner-page .btn--outline:hover,
.inner-page .btn--outline:focus-visible {
    border-color: #0056e0;
    color: #0056e0;
}

.inner-page .btn--full {
    width: 100%;
}

.page-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #0a1e3d 0%, #124080 40%, #0056e0 100%);
    padding: 3.5rem 0;
    text-align: center;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 80% 70%, rgba(0, 86, 224, 0.25) 0%, transparent 50%);
    pointer-events: none;
}

.page-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.page-hero__breadcrumb {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem;
    margin: 0 0 1.25rem;
    padding: 0;
    list-style: none;
    font-size: 0.8125rem;
}

.page-hero__breadcrumb li {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
}

.page-hero__breadcrumb li + li::before {
    content: "/";
    margin: 0 0.5rem;
    color: rgba(255, 255, 255, 0.35);
}

.page-hero__breadcrumb a {
    color: #ffffff;
    text-decoration: none;
}

.page-hero__breadcrumb a:hover,
.page-hero__breadcrumb a:focus-visible {
    text-decoration: underline;
    outline: none;
}

.page-hero__breadcrumb [aria-current="page"] {
    color: rgba(255, 255, 255, 0.85);
}

.page-hero__title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.page-hero__lead {
    max-width: 640px;
    margin: 1rem auto 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.0625rem;
    line-height: 1.65;
}

.page-auth-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1rem;
}

.page-auth-actions__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0.22rem 0.7rem;
    font-family: inherit;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    border-radius: 999px;
    border: 1px solid transparent;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.page-auth-actions__btn:hover,
.page-auth-actions__btn:focus-visible {
    transform: translateY(-1px);
    outline: none;
}

.page-auth-actions__btn--student {
    color: #0a1e3d;
    background: #ffffff;
    border-color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.page-auth-actions__btn--student:hover,
.page-auth-actions__btn--student:focus-visible {
    background: #f0f5ff;
    border-color: #f0f5ff;
}

.page-auth-actions__btn--institute {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.45);
}

.page-auth-actions__btn--institute:hover,
.page-auth-actions__btn--institute:focus-visible {
    background: rgba(255, 255, 255, 0.16);
    border-color: #ffffff;
}

.page-main {
    max-width: 1280px;
    margin: 2.5rem auto 0;
    padding: 0 1.25rem 4.5rem;
}

.page-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.75rem;
    color: #0056e0;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.page-label__icon {
    width: 10px;
    height: 10px;
    background: #0056e0;
    border-radius: 2px;
}

.page-heading {
    margin: 0 0 1rem;
    color: #0a1e3d;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    line-height: 1.2;
}

.page-text {
    margin: 0;
    font-size: 1rem;
    line-height: 1.75;
    color: #5a6578;
}

@media (max-width: 768px) {
    .page-hero {
        padding: 2.75rem 0;
    }

    .page-main {
        margin-top: 2rem;
        padding-bottom: 3rem;
    }

    .page-auth-actions {
        gap: 0.35rem;
        margin-top: 0.85rem;
    }

    .page-auth-actions__btn {
        min-height: 26px;
        padding: 0.2rem 0.6rem;
        font-size: 0.625rem;
    }
}
