/* =========================================================
   Mount Zion College of Engineering & Technology
   Official Screenshot-Identical Header & Theme Stylesheet
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700;800;900&family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --primary: #1e40af;
    --primary-hover: #1e3a8a;
    --bg-color: #1e40af;
    --card-bg: #ffffff;
    --text-color: #0f172a;
    --text-muted: #475569;
    --border-color: rgba(2, 6, 23, 0.08);
    --input-bg: #ffffff;
    --top-navy: #002147;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

/* 1. Top Dark Navy Contact Bar (Identical to Screenshot) */
.top-bar {
    background-color: var(--top-navy);
    color: #ffffff;
    padding: 6px 0;
    font-size: 0.85rem;
}

.top-bar-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 25px;
    display: flex;
    align-items: center;
}

.top-contact a {
    color: #ffffff;
    text-decoration: none;
    margin-right: 25px;
    font-weight: 700;
    font-size: 0.85rem;
}

.top-contact a i {
    margin-right: 6px;
    font-size: 0.9rem;
}

/* 2. Main Branding Bar (Identical to Screenshot) */
.main-branding {
    background-color: #ffffff;
    padding: 14px 0;
}

.main-branding-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.college-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.college-logo-img {
    height: 82px;
    width: auto;
    object-fit: contain;
}

.college-text-details {
    display: flex;
    flex-direction: column;
}

.college-title-main {
    color: #002147;
    font-family: 'Cooper Black', 'Georgia', 'Times New Roman', serif;
    font-weight: 900;
    font-size: 1.55rem;
    letter-spacing: 0.3px;
    margin: 0;
    line-height: 1.15;
    text-transform: uppercase;
}

.college-autonomous {
    font-size: 0.9rem;
    color: #475569;
    font-weight: 600;
    margin-top: 3px;
}

.college-approvals {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

.college-accreditations {
    font-size: 0.85rem;
    color: #1e293b;
    margin-top: 1px;
}

.brand-badges {
    display: flex;
    align-items: center;
    gap: 40px;
}

.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.naac-img {
    height: 90px;
    width: auto;
    object-fit: contain;
}

.nba-img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.nba-dept-text {
    font-size: 0.72rem;
    font-weight: 800;
    color: #002147;
    margin-top: 4px;
    letter-spacing: 0.5px;
}

/* 3. Breadcrumb Strip (Identical to Screenshot) */
.breadcrumb-strip {
    background-color: #edf2f7;
    border-top: 1px solid #cbd5e1;
    border-bottom: 1px solid #cbd5e1;
    padding: 8px 0;
    font-size: 0.88rem;
}

.breadcrumb-strip-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 25px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #475569;
}

.home-link {
    color: #002147;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.home-link i {
    color: #002147;
}

.sep {
    color: #94a3b8;
}

.current-path {
    color: #002147;
    font-weight: 700;
}

/* 4. Main Container holding nav and forms */
.main-container {
    width: 100%;
    max-width: 820px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 1.5rem auto 3rem auto;
    padding: 0 1rem;
    z-index: 10;
}

/* 5. Navigation Bar */
.portal-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    background: #ffffff;
    border-radius: 12px;
    padding: 12px 18px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.25);
}

.nav-btn {
    padding: 9px 18px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    color: #002147;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.nav-btn:hover {
    background: #eff6ff;
    border-color: #93c5fd;
}

.nav-btn.active {
    background: #1d4ed8 !important;
    border-color: #1d4ed8 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.3);
}

/* 6. Form Container */
.form-container {
    background: #ffffff;
    border-radius: 18px;
    padding: 2.2rem;
    width: 100%;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
}

.form-header {
    text-align: center;
    margin-bottom: 1.8rem;
}

.form-header h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #1e3a8a;
    margin-bottom: 6px;
}

.form-header p {
    color: #64748b;
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 1.3rem;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.93rem;
    background-color: #f8fafc;
    color: #1e293b;
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.btn-primary-custom {
    width: 100%;
    padding: 13px;
    background-color: #1d4ed8;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 0.98rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(29, 78, 216, 0.3);
}

.btn-primary-custom:hover {
    background-color: #1e40af;
}

.stakeholder-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #1d4ed8;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.stakeholder-item:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
    transform: translateX(4px);
}

/* Site Footer (Dark Navy matching screenshot requirement) */
.site-footer {
    background-color: #061126;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    padding: 16px 20px;
    font-size: 0.85rem;
    text-align: center;
    margin-top: auto;
    width: 100%;
}

.site-footer-inner {
    max-width: 1300px;
    margin: 0 auto;
}

.site-footer p {
    margin: 0;
    line-height: 1.5;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.site-footer .developer-credit {
    color: #f59e0b;
    font-weight: 700;
}

.tab-content-item {
    display: none;
}

.tab-content-item.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 992px) {
    .main-branding-inner {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .brand-info {
        flex-direction: column;
        text-align: center;
    }

    .college-title-main {
        font-size: 1.25rem;
    }

    .brand-badges {
        margin-top: 10px;
    }
}