/* ==========================================================================
   Inner Page Styles
   ========================================================================== */

/* ==========================================================================
   Inner Page Hero (Full-Width Photographic Banner)
   ========================================================================== */
.inner-hero {
    position: relative;
    padding: 170px 0 100px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

/* Page-specific background photographs covering the whole banner */
.inner-hero.about-hero {
    background-image: url('../images/choosing-bg.jpg');
}

.inner-hero.academics-hero {
    background-image: url('../images/courses-bg.jpg');
}

.inner-hero.facilities-hero {
    background-image: url('../images/main-slider-03.jpg');
}

.inner-hero.contact-hero {
    background-image: url('../images/contact-bg.jpg');
}

/* Darkening Overlay so image covers banner while text is crisp and legible */
.inner-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(12, 18, 40, 0.70) 0%, rgba(12, 18, 40, 0.65) 100%);
    z-index: 1;
}

.inner-hero .container {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.inner-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-weight: 800;
    color: var(--clr-white);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    line-height: 1.1;
}

.inner-hero p {
    color: #E2E8F0;
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.hero-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1.25rem;
    font-size: 0.95rem;
    color: var(--clr-primary);
    font-weight: 600;
}

.hero-breadcrumb a {
    color: rgba(255, 255, 255, 0.75);
    transition: var(--transition);
}

.hero-breadcrumb a:hover {
    color: var(--clr-primary);
}

/* Page Content Sections */
.page-section {
    padding: 5rem 0;
}

.page-section.bg-light {
    background: #111a2e;
}

/* About Layout */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--clr-white);
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--clr-text-muted);
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.about-image img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border: 1px solid var(--clr-glass-border);
}

/* Auth Pages (Login / Register) */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../images/choosing-bg.jpg') center/cover;
    position: relative;
    padding: 4rem 1rem;
}

.auth-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(22, 34, 57, 0.90);
    backdrop-filter: blur(8px);
}

.auth-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 450px;
}

.auth-container.register {
    max-width: 650px;
}

.auth-card {
    background: rgba(31, 45, 72, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid var(--clr-glass-border);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    box-shadow: 0 25px 50px rgba(12, 18, 40, 0.6);
}

.auth-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.auth-header .logo {
    font-size: 2rem;
    display: block;
    margin-bottom: 1rem;
}

.auth-header h2 {
    color: var(--clr-white);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--clr-text-main);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.85rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--clr-white);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--clr-primary);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(245, 164, 37, 0.2);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.auth-footer {
    margin-top: 2rem;
    text-align: center;
    color: var(--clr-text-muted);
    font-size: 0.95rem;
}

.auth-footer a {
    color: var(--clr-primary);
    font-weight: 600;
}

.auth-footer a:hover {
    color: var(--clr-accent);
    text-decoration: underline;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info-card {
    background: var(--clr-bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--clr-glass-border);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(245, 164, 37, 0.12);
    color: var(--clr-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-details h4 {
    color: var(--clr-white);
    margin-bottom: 0.25rem;
}

.contact-details p {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .about-grid, .contact-grid, .form-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .inner-hero {
        padding: 130px 0 70px;
    }
    
    .inner-hero h1 {
        font-size: 2.5rem;
    }
}

