/* ═══════════════════════════════════════════
   MULTIVERSE ENGINEERING — GLOBAL STYLES
   Bootstrap 5 Revamp — Dark Navy Tech Theme
   ═══════════════════════════════════════════ */

:root {
    --mv-navy: #0a1628;
    --mv-deep: #0f1f3a;
    --mv-blue: #1a5cff;
    --mv-blue-glow: #3d7aff;
    --mv-cyan: #00d4ff;
    --mv-white: #f0f4f8;
    --mv-gray: #8899b0;
    --mv-light: #e2e8f0;
    --mv-card-bg: rgba(15, 31, 58, 0.6);
    --mv-border: rgba(26, 92, 255, 0.15);
}

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--mv-navy);
    color: var(--mv-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-family: 'Outfit', sans-serif; }

a { transition: all 0.3s ease; }

/* ─── TOP BAR ─── */
.top-bar {
    background: var(--mv-deep);
    border-bottom: 1px solid var(--mv-border);
    padding: 8px 0;
    font-size: 0.82rem;
}
.top-bar a { color: var(--mv-gray); text-decoration: none; transition: color 0.3s; }
.top-bar a:hover { color: var(--mv-cyan); }
.top-bar .bi { font-size: 1rem; }

/* ─── NAVBAR ─── */
.navbar {
    background: rgba(10, 22, 40, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--mv-border);
    padding: 12px 0;
    transition: all 0.4s ease;
}
.navbar.scrolled {
    background: rgba(10, 22, 40, 0.97);
    padding: 8px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.navbar-brand img { height: 48px; filter: brightness(1.1); }
.nav-link {
    color: var(--mv-light) !important;
    font-weight: 500;
    font-size: 0.88rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 8px 16px !important;
    position: relative;
    transition: color 0.3s;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--mv-blue), var(--mv-cyan));
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.nav-link:hover::after, .nav-link.active::after { width: 60%; }
.nav-link:hover { color: var(--mv-cyan) !important; }
.dropdown-menu {
    background: var(--mv-deep);
    border: 1px solid var(--mv-border);
    border-radius: 12px;
    padding: 10px;
    margin-top: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

/* ── Hover-open dropdowns (desktop only) ── */
@media (min-width: 992px) {
    .navbar .dropdown:hover > .dropdown-menu {
        display: block;
        animation: dropFadeIn 0.2s ease;
    }
    .navbar .dropdown > .dropdown-toggle:active {
        pointer-events: none;
    }
    /* Transparent bridge fills the margin-top gap so the mouse
       never leaves the hover zone while moving to the menu */
    .navbar .dropdown-menu::before {
        content: '';
        position: absolute;
        top: -8px;
        left: 0;
        right: 0;
        height: 8px;
    }
}
@keyframes dropFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.dropdown-item {
    color: var(--mv-light);
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 0.85rem;
    transition: all 0.25s;
}
.dropdown-item:hover {
    background: rgba(26, 92, 255, 0.15);
    color: var(--mv-cyan);
}
.navbar-toggler {
    border: 1px solid var(--mv-border);
    padding: 6px 10px;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 212, 255, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ─── PAGE HEADER / BANNER ─── */
.page-header {
    position: relative;
    padding: 140px 0 80px;
    overflow: hidden;
}
.page-header-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 30% 100%, rgba(26,92,255,0.1) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(0,212,255,0.06) 0%, transparent 60%),
        var(--mv-navy);
    z-index: 0;
}
.page-header-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(26,92,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26,92,255,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 1;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
}
.page-header .container { position: relative; z-index: 2; }
.page-header h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
}
.page-header .gradient-text {
    background: linear-gradient(135deg, var(--mv-blue-glow), var(--mv-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
}
.breadcrumb-nav a { color: var(--mv-gray); text-decoration: none; }
.breadcrumb-nav a:hover { color: var(--mv-cyan); }
.breadcrumb-nav .sep { color: var(--mv-gray); opacity: 0.5; }
.breadcrumb-nav .current { color: var(--mv-cyan); }

/* ─── SECTIONS ─── */
section { padding: 100px 0; position: relative; }

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--mv-cyan);
    margin-bottom: 16px;
}
.section-label::before {
    content: '';
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--mv-blue), var(--mv-cyan));
}
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 20px;
}
.section-subtitle {
    font-size: 1.05rem;
    color: var(--mv-gray);
    line-height: 1.7;
    max-width: 580px;
}

/* ─── BUTTONS ─── */
.btn-mv-primary {
    background: linear-gradient(135deg, var(--mv-blue), var(--mv-blue-glow));
    color: #fff;
    border: none;
    padding: 14px 36px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: all 0.35s ease;
    box-shadow: 0 4px 20px rgba(26,92,255,0.3);
    text-decoration: none;
    display: inline-block;
}
.btn-mv-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 35px rgba(26,92,255,0.45);
    color: #fff;
}
.btn-mv-outline {
    background: transparent;
    color: var(--mv-light);
    border: 1px solid var(--mv-border);
    padding: 14px 36px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.35s ease;
    text-decoration: none;
    display: inline-block;
}
.btn-mv-outline:hover {
    border-color: var(--mv-cyan);
    color: var(--mv-cyan);
    background: rgba(0,212,255,0.05);
    transform: translateY(-2px);
}

/* ─── CARDS ─── */
.mv-card {
    background: var(--mv-card-bg);
    border: 1px solid var(--mv-border);
    border-radius: 20px;
    padding: 36px 28px;
    transition: all 0.45s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}
.mv-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--mv-blue), var(--mv-cyan));
    opacity: 0;
    transition: opacity 0.4s;
}
.mv-card:hover::before { opacity: 1; }
.mv-card:hover {
    border-color: rgba(26,92,255,0.3);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.mv-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(26,92,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    transition: all 0.4s;
}
.mv-card:hover .mv-icon-wrap {
    background: linear-gradient(135deg, var(--mv-blue), var(--mv-blue-glow));
}
.mv-icon-wrap .bi {
    font-size: 1.4rem;
    color: var(--mv-cyan);
    transition: color 0.4s;
}
.mv-card:hover .mv-icon-wrap .bi { color: #fff; }

.mv-card h5 { font-weight: 700; font-size: 1.1rem; margin-bottom: 12px; letter-spacing: -0.3px; }
.mv-card p { color: var(--mv-gray); font-size: 0.88rem; line-height: 1.65; }

.mv-link {
    color: var(--mv-cyan);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s;
}
.mv-link:hover { gap: 12px; color: var(--mv-cyan); }

/* ─── CONTENT SECTIONS ─── */
.content-section {
    background: var(--mv-navy);
}
.content-section.alt-bg {
    background: var(--mv-deep);
    border-top: 1px solid var(--mv-border);
    border-bottom: 1px solid var(--mv-border);
}
.content-block p {
    color: var(--mv-gray);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 16px;
}
.content-block p strong, .content-block p b {
    color: var(--mv-light);
}
.content-block ul {
    list-style: none;
    padding: 0;
}
.content-block ul li {
    color: var(--mv-gray);
    font-size: 0.92rem;
    padding: 10px 0;
    padding-left: 28px;
    position: relative;
    border-bottom: 1px solid rgba(26,92,255,0.08);
}
.content-block ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--mv-blue), var(--mv-cyan));
}
.content-block ul li a {
    color: var(--mv-light);
    text-decoration: none;
    transition: color 0.3s;
}
.content-block ul li a:hover { color: var(--mv-cyan); }

.img-styled {
    border-radius: 20px;
    border: 1px solid var(--mv-border);
    width: 100%;
    display: block;
}

/* ─── VISION / MISSION CARDS ─── */
.vm-card {
    background: var(--mv-card-bg);
    border: 1px solid var(--mv-border);
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    height: 100%;
    backdrop-filter: blur(10px);
    transition: all 0.4s;
}
.vm-card:hover {
    border-color: rgba(26,92,255,0.3);
    transform: translateY(-4px);
}
.vm-card .vm-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: rgba(26,92,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.vm-card .vm-icon .bi {
    font-size: 1.5rem;
    color: var(--mv-cyan);
}
.vm-card h4 {
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 14px;
}
.vm-card p {
    color: var(--mv-gray);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ─── CTA SECTION ─── */
.cta-section {
    background: linear-gradient(135deg, var(--mv-deep) 0%, var(--mv-navy) 100%);
    padding: 100px 0;
}
.cta-box {
    background: linear-gradient(135deg, rgba(26,92,255,0.12), rgba(0,212,255,0.06));
    border: 1px solid var(--mv-border);
    border-radius: 28px;
    padding: 72px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-box::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(26,92,255,0.1), transparent 70%);
}

/* ─── CONTACT FORM ─── */
.form-control, .form-select {
    background: var(--mv-card-bg);
    border: 1px solid var(--mv-border);
    border-radius: 12px;
    color: var(--mv-white);
    padding: 14px 18px;
    font-size: 0.92rem;
    transition: all 0.3s;
}
.form-control:focus, .form-select:focus {
    background: rgba(15, 31, 58, 0.8);
    border-color: var(--mv-blue-glow);
    color: var(--mv-white);
    box-shadow: 0 0 0 3px rgba(26,92,255,0.15);
}
.form-control::placeholder { color: var(--mv-gray); }
.form-label {
    color: var(--mv-light);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}
textarea.form-control { min-height: 140px; resize: vertical; }

/* ─── CONTACT INFO CARDS ─── */
.contact-info-card {
    background: var(--mv-card-bg);
    border: 1px solid var(--mv-border);
    border-radius: 16px;
    padding: 28px 24px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    transition: all 0.4s;
    height: 100%;
}
.contact-info-card:hover {
    border-color: rgba(26,92,255,0.3);
    transform: translateY(-3px);
}
.contact-info-card .ci-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(26,92,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-info-card .ci-icon .bi {
    font-size: 1.2rem;
    color: var(--mv-cyan);
}
.contact-info-card h6 {
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 6px;
}
.contact-info-card p {
    color: var(--mv-gray);
    font-size: 0.88rem;
    margin: 0;
    line-height: 1.6;
}
.contact-info-card a {
    color: var(--mv-gray);
    text-decoration: none;
}
.contact-info-card a:hover { color: var(--mv-cyan); }

/* ─── PROJECT CARDS ─── */
.project-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 300px;
    cursor: pointer;
    transition: all 0.5s ease;
    background: var(--mv-card-bg);
    border: 1px solid var(--mv-border);
}
.project-card:hover { transform: translateY(-6px); }
.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.project-card:hover img { transform: scale(1.08); }
.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(10,22,40,0.95) 0%, rgba(10,22,40,0.3) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
}
.project-card:hover .project-overlay {
    background: linear-gradient(0deg, rgba(26,92,255,0.85) 0%, rgba(26,92,255,0.2) 50%, transparent 100%);
}
.project-overlay h5 { font-weight: 700; font-size: 1rem; margin-bottom: 4px; }
.project-overlay p { color: rgba(255,255,255,0.7); font-size: 0.82rem; margin: 0; }

/* ─── CAREER CARD ─── */
.career-card {
    background: var(--mv-card-bg);
    border: 1px solid var(--mv-border);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.4s;
}
.career-card:hover {
    border-color: rgba(26,92,255,0.3);
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}
.career-card h5 { font-weight: 700; font-size: 1.05rem; margin-bottom: 8px; }
.career-card .career-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.career-card .career-meta span {
    color: var(--mv-gray);
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.career-card .career-meta .bi { color: var(--mv-blue-glow); font-size: 0.9rem; }
.career-card p { color: var(--mv-gray); font-size: 0.88rem; line-height: 1.6; }

/* ─── FOOTER ─── */
.footer {
    background: var(--mv-deep);
    border-top: 1px solid var(--mv-border);
    padding: 72px 0 0;
}
.footer h6 {
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--mv-light);
    margin-bottom: 24px;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
    color: var(--mv-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
}
.footer-links a:hover { color: var(--mv-cyan); padding-left: 4px; }
.footer-contact p { color: var(--mv-gray); font-size: 0.9rem; margin-bottom: 10px; }
.footer-contact .bi { color: var(--mv-blue-glow); margin-right: 10px; }
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--mv-border);
    color: var(--mv-gray);
    margin-right: 10px;
    transition: all 0.35s;
    text-decoration: none;
}
.footer-social a:hover {
    background: var(--mv-blue);
    border-color: var(--mv-blue);
    color: #fff;
    transform: translateY(-3px);
}
.footer-bottom {
    border-top: 1px solid var(--mv-border);
    padding: 24px 0;
    margin-top: 48px;
}
.footer-bottom p { color: var(--mv-gray); font-size: 0.82rem; margin: 0; }

/* ─── ANIMATIONS ─── */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── MAP ─── */
.map-wrap {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--mv-border);
}
.map-wrap iframe {
    width: 100%;
    height: 400px;
    border: none;
    display: block;
    filter: brightness(0.8) contrast(1.1) saturate(0.3);
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--mv-navy); }
::-webkit-scrollbar-thumb { background: var(--mv-blue); border-radius: 4px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 991px) {
    section { padding: 72px 0; }
    .page-header { padding: 120px 0 60px; }
    .cta-box { padding: 48px 28px; }
}
@media (max-width: 767px) {
    section { padding: 56px 0; }
    .page-header { padding: 100px 0 48px; }
}
