/* Million Minds Tech City - shared styles for sub pages, menu dropdowns and footer.
   Loads after style.css. Uses the same theme variables. */

/* ---------- Header / menu ---------- */
.menuList ul { white-space: nowrap; }
.menuList ul li { margin-right: 16px; }
.menuList ul li a { font-size: 14.5px; white-space: nowrap; }
@media (min-width: 1200px) and (max-width: 1500px) {
    .menuList ul li { margin-right: 12px; }
    .menuList ul li a { font-size: 14px; }
}
.menuList ul li.dropdown { position: relative; }
.menuList ul li.dropdown > a { cursor: pointer; }
ul.dropdown-menu { width: auto; min-width: 250px; left: -20px; padding: 8px 0; margin-top: 14px; z-index: 99999; }
ul.dropdown-menu:before { display: none; }
ul.dropdown-menu li { display: block; text-align: left; margin: 0; }
.menuList ul.dropdown-menu li a,
.header_warrper.header-light .menuList ul.dropdown-menu li a {
    display: block; color: #1f1f1f; padding: 9px 22px; font-size: 15px; white-space: nowrap; border: 0;
}
.menuList ul.dropdown-menu li a:hover,
.header_warrper.header-light .menuList ul.dropdown-menu li a:hover { color: var(--theme-main); background: #fff; }
.menuList ul li.current > a { color: var(--theme-main) !important; }
.logo_main a { display: inline-block; line-height: 1.25; font-weight: 600; font-size: 16px; padding: 4px 8px; border-radius: 4px; }

@media (max-width: 1199px) {
    .menuList ul { white-space: normal; }
    .menubar { overflow-y: auto; padding-bottom: 90px; }
    .menuList ul li.dropdown > a:after { float: right; }
    ul.dropdown-menu { min-width: 0; left: 0; background: #f6f6f6; border-radius: 0; }
    .menuList ul.dropdown-menu li a,
    .header_warrper.header-light .menuList ul.dropdown-menu li a { padding: 12px 40px; white-space: normal; border-bottom: 1px solid #e3e3e3; }
}

/* ---------- Hero ---------- */
.sub-hero {
    position: relative; background-color: #14101a; background-size: cover; background-position: center;
    padding: 170px 0 80px; color: #fff;
}
.sub-hero h1 {
    font-family: "Outfit", sans-serif; color: #fff; font-size: 46px; line-height: 1.2; font-weight: 700;
    max-width: 880px; text-transform: uppercase; letter-spacing: .5px;
}
.sub-hero h1:after { content: ""; display: block; width: 90px; height: 4px; background: var(--theme-main); margin-top: 18px; border-radius: 4px; }
.sp-crumbs { background: #f4f1ec; border-bottom: 1px solid #e8e2d8; padding: 12px 0; font-size: 14px; }
.sp-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.sp-crumbs li { font-size: 14px; color: #555; }
.sp-crumbs li + li:before { content: "/"; margin-right: 8px; color: #999; }
.sp-crumbs a { color: var(--theme-main); text-decoration: none; }

/* ---------- Content ---------- */
.sp-wrap { padding: 50px 0 20px; }
.sp-intro-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.sp-main p { font-size: 17px; line-height: 1.75; color: #444; margin-bottom: 18px; }
.sp-main a { color: var(--theme-main); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.sp-main a.sp-btn, .sp-main a.sp-btn:hover { text-decoration: none; }
.sp-main strong { color: #222; }
.sp-section { margin-bottom: 38px; }
.sp-section h2 {
    font-family: "Outfit", sans-serif; font-size: 30px; line-height: 1.3; color: #1e1e1e; font-weight: 700;
    margin: 0 0 16px; padding-left: 16px; border-left: 5px solid var(--theme-main);
}
.sp-section h3 { font-family: "Outfit", sans-serif; font-size: 21px; margin: 22px 0 10px; color: #2b2b2b; font-weight: 600; }
.sp-section ul, .sp-section ol { margin: 0 0 20px 22px; }
.sp-section li { font-size: 17px; line-height: 1.7; color: #444; margin-bottom: 8px; }
.sp-glance { background: #fbf7f1; border: 1px solid #ecdcc4; border-radius: 12px; padding: 26px 24px; position: sticky; top: 100px; }
.sp-glance h2 { font-family: "Outfit", sans-serif; font-size: 22px; margin: 0 0 14px; color: #222; font-weight: 700; }
.sp-glance dl { margin: 0; }
.sp-glance dt { font-size: 13px; text-transform: uppercase; letter-spacing: .8px; color: var(--theme-main); font-weight: 600; margin-top: 12px; font-family: "Outfit", sans-serif; }
.sp-glance dd { margin: 2px 0 0; font-size: 16px; color: #333; font-family: "Outfit", sans-serif; }
.sp-glance .sp-btn { margin-top: 20px; width: 100%; text-align: center; }
.sp-btnrow { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.sp-btn {
    display: inline-block; background: var(--theme-main); color: #fff !important; font-family: "Outfit", sans-serif; font-size: 15px;
    font-weight: 600; padding: 12px 24px; border-radius: 50px; border: 2px solid var(--theme-main); cursor: pointer; text-decoration: none; transition: .3s;
}
.sp-btn:hover { background: #8a4e04; border-color: #8a4e04; }
.sp-btn.alt { background: transparent; color: var(--theme-main) !important; }
.sp-btn.alt:hover { background: var(--theme-main); color: #fff !important; }
.sp-figure { margin: 8px 0 34px; }
.sp-figure img { width: 100%; max-height: 460px; object-fit: cover; border-radius: 12px; display: block; }
.sp-figure figcaption { font-size: 14px; color: #777; margin-top: 8px; font-family: "Outfit", sans-serif; }
.sp-table-wrap { overflow-x: auto; margin: 6px 0 26px; }
.sp-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.sp-table th { background: #2a2230; color: #fff; text-align: left; padding: 12px 14px; font-size: 15px; font-weight: 500; font-family: "Outfit", sans-serif; }
.sp-table td { padding: 12px 14px; border-bottom: 1px solid #e5e1da; font-size: 16px; color: #3b3b3b; vertical-align: top; font-family: "Outfit", sans-serif; }
.sp-table tr:nth-child(even) td { background: #faf8f4; }
.sp-note { background: #f4f8ff; border-left: 4px solid #4b6fb5; padding: 14px 18px; border-radius: 6px; margin: 4px 0 26px; font-size: 16px; color: #3a4660; }
.sp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 6px 0 28px; }
.sp-card { background: #fff; border: 1px solid #e8e2d8; border-radius: 12px; padding: 20px; box-shadow: 0 3px 12px rgba(0,0,0,.05); }
.sp-card h3 { margin: 0 0 8px; font-size: 19px; }
.sp-card p { font-size: 16px; margin: 0; line-height: 1.65; }
.sp-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 6px 0 30px; }
.sp-gallery figure img { width: 100%; height: 230px; object-fit: cover; border-radius: 10px; border: 2px solid var(--theme-main); display: block; }
.sp-gallery figcaption { font-size: 14px; color: #666; margin-top: 6px; font-family: "Outfit", sans-serif; }

/* ---------- CTA bands ---------- */
.cta-band {
    background: linear-gradient(120deg, #2a2230 0%, #6a1d5e 100%); color: #fff; border-radius: 14px; padding: 34px 36px;
    margin: 10px 0 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta-band h2, .cta-band h3 { font-family: "Outfit", sans-serif; color: #fff; font-size: 26px; margin: 0 0 8px; border: 0; padding: 0; line-height: 1.3; }
.cta-band p { color: #eadfef; margin: 0; font-size: 16px; max-width: 640px; }
.cta-band .sp-btn { background: #fff; color: #6a1d5e !important; border-color: #fff; white-space: nowrap; }
.cta-band .sp-btn:hover { background: var(--theme-main); color: #fff !important; border-color: var(--theme-main); }
.cta-final { background: linear-gradient(120deg, #a66005 0%, #6a1d5e 100%); margin: 20px 0 50px; }
.cta-final .sp-btnrow .sp-btn.alt { color: #fff !important; border-color: #fff; background: transparent; }
.cta-final .sp-btnrow .sp-btn.alt:hover { background: #fff; color: #6a1d5e !important; }

/* ---------- FAQ ---------- */
.sp-faq { margin-bottom: 30px; }
.sp-faq .faq-question { font-size: 18px; padding: 18px 12px; }
.sp-faq .faq-answer p { font-size: 17px; line-height: 1.7; margin: 0 0 14px; }

/* ---------- Footer ---------- */
footer.sp-footer { background: #1d1722; padding: 50px 0 20px; color: #cfc8d6; }
footer.sp-footer a { color: #cfc8d6; text-decoration: none; font-family: "Outfit", sans-serif; font-size: 14.5px; line-height: 1.9; transition: .3s; }
footer.sp-footer a:hover { color: #e9a03b; }
.sp-foot-grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 28px 24px; padding-bottom: 28px; border-bottom: 1px solid #3a3042; }
.sp-foot-col h4 { font-family: "Outfit", sans-serif; color: #fff; font-size: 16px; margin: 0 0 10px; font-weight: 600; }
.sp-foot-col ul { list-style: none; margin: 0; padding: 0; }
.sp-foot-col li { font-family: "Outfit", sans-serif; }
.sp-foot-brand p { color: #b9b0c2 !important; font-size: 14.5px; line-height: 1.7; }
footer.sp-footer .sp-foot-brand strong { color: #fff; font-family: "Outfit", sans-serif; font-size: 18px; display: block; margin-bottom: 8px; }
footer.sp-footer .copy_right, footer.sp-footer .copy_right a { color: #a79fb1; font-size: 13px; line-height: 1.7; font-family: "Outfit", sans-serif; }
footer.sp-footer .copy_right { padding-top: 20px; }
footer.sp-footer .copy_right a { color: #e9a03b !important; text-decoration: underline; }
.page-404 { text-align: center; padding: 60px 0 30px; }
.page-404 .code { font-family: "Outfit", sans-serif; font-size: 110px; font-weight: 800; color: var(--theme-main); line-height: 1; }

@media (max-width: 991px) {
    .sp-intro-grid { grid-template-columns: 1fr; }
    .sp-glance { position: static; }
    .sp-cards, .sp-gallery { grid-template-columns: 1fr 1fr; }
    .sp-foot-grid { grid-template-columns: 1fr 1fr 1fr; }
    .sp-foot-brand { grid-column: 1 / -1; }
    .sub-hero { padding: 130px 0 56px; }
    .sub-hero h1 { font-size: 34px; }
}
@media (max-width: 600px) {
    .sp-cards, .sp-gallery { grid-template-columns: 1fr; }
    .sp-foot-grid { grid-template-columns: 1fr 1fr; }
    .sub-hero h1 { font-size: 27px; }
    .sp-section h2 { font-size: 24px; }
    .cta-band { padding: 26px 22px; }
    .cta-band h2, .cta-band h3 { font-size: 22px; }
    footer.sp-footer { padding-bottom: 80px; }
}

.map-responsive { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 12px; margin: 6px 0 28px; border: 2px solid var(--theme-main); }
.map-responsive iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
