/* =========================================================
   pages.css
   Shared styles for Apply Now / Login / Register pages,
   plus the footer (not present in the original index.html).
   Built on top of the color tokens already defined in design.css:
   --primary, --secondary, --accent, --light, --white, --text, --border
   ========================================================= */

/* ---------- Page header banner (shorter hero for secondary pages) ---------- */
.page-header {
    min-height: 40vh;
    padding-top: 140px;
    padding-bottom: 60px;
    color: var(--white);
    background:
        linear-gradient(rgba(18, 59, 109, .85), rgba(18, 59, 109, .85)),
        url("images\ \(13\).jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
}

.page-header p {
    color: var(--accent);
}

/* ---------- Auth page wrapper (Login / Register) ---------- */
.auth-page {
    min-height: 100vh;
    padding-top: 130px;
    padding-bottom: 60px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(rgba(18, 59, 109, .9), rgba(18, 59, 109, .75)),
        url("images\ \(13\).jpg");
    background-size: cover;
    background-position: center;
}

.auth-card {
    background-color: var(--white);
    border-radius: 14px;
    border: 1px solid var(--border);
    box-shadow: 0 15px 40px rgba(18, 59, 109, .25);
    padding: 2.5rem;
    transition: transform .4s ease, box-shadow .4s ease;
}

.auth-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(18, 59, 109, .3);
}

.auth-card h2 {
    color: var(--primary);
}

/* ---------- Form section (Apply Now page) ---------- */
.form-section {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(18, 59, 109, .1);
    padding: 2.5rem;
    transition: box-shadow .4s ease;
}

.form-section:hover {
    box-shadow: 0 15px 40px rgba(18, 59, 109, .15);
}

.form-section h2 {
    color: var(--primary);
}

/* ---------- Shared form controls ---------- */
label.form-label {
    font-weight: 600;
    color: var(--primary);
}

.form-control,
.form-select {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: .65rem .9rem;
    transition: border-color .3s ease, box-shadow .3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 .2rem rgba(57, 169, 225, .25);
}

.input-group-text {
    background-color: var(--light);
    border: 1px solid var(--border);
    color: var(--secondary);
}

/* ---------- Buttons ---------- */
.btn-info,
.btn-primary-custom {
    transition: transform .25s ease, box-shadow .25s ease;
}

.btn-info:hover,
.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(18, 59, 109, .25);
}

.btn-lg-custom {
    padding: .75rem 2rem;
    font-weight: 600;
    border-radius: 8px;
}

/* ---------- Auth links ---------- */
.auth-link {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    transition: color .25s ease;
}

.auth-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* ---------- Course cards without a photo yet (icon placeholder banner) ---------- */
.course-icon-top {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 3rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

/* ---------- Contact page ---------- */
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.contact-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: var(--light);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: background-color .3s ease, color .3s ease;
}

.contact-info-item:hover .contact-icon {
    background-color: var(--secondary);
    color: var(--white);
}

.contact-info-item h6 {
    color: var(--primary);
    margin-bottom: .25rem;
}

.map-wrapper {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(18, 59, 109, .1);
}

.map-wrapper iframe {
    width: 100%;
    height: 300px;
    border: 0;
    display: block;
}

/* ---------- About page: stats band ---------- */
.stats-section {
    background-color: var(--primary);
    color: var(--white);
}

.stat-number {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    text-transform: uppercase;
    letter-spacing: .05em;
    font-size: .85rem;
    color: var(--white);
}

/* ---------- Footer ---------- */
footer a {
    color: var(--white);
    text-decoration: none;
    transition: color .25s ease;
}

footer a:hover {
    color: var(--accent);
}

footer h5 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 1rem;
}

footer hr {
    border-color: rgba(255, 255, 255, .15);
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, .1);
    margin-right: .5rem;
    transition: background-color .25s ease, transform .25s ease;
}

.footer-social a:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
}

/* ---------- Responsive tweaks ---------- */
@media (max-width: 767px) {
    .page-header {
        min-height: 30vh;
        padding-top: 120px;
    }

    .auth-page {
        padding-top: 110px;
    }

    .auth-card,
    .form-section {
        padding: 1.75rem;
    }
}
/* ---------- Learning Process Steps ---------- */
.process-step {
    padding: 1.5rem 1rem;
    border-radius: 10px;
    background-color: var(--white);
    border: 1px solid var(--border);
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
}

.step-badge {
    width: 48px;
    height: 48px;
    line-height: 48px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto;
}

/* Flex layout helper for 5 equal columns on large screens */
@media (min-width: 992px) {
    .col-lg-2-4 {
        flex: 0 0 auto;
        width: 20%;
    }
}