/* ==========================================================================
   MM Infrastructure — Custom Styles
   ========================================================================== */

:root {
	--mm-primary: #10284d;
	--mm-primary-light: #1a3c6e;
	--mm-accent: #f5821f;
	--mm-accent-dark: #d96e13;
	--mm-dark: #1c1c1c;
	--mm-gray: #6c757d;
	--mm-light-bg: #f7f9fb;
	--mm-white: #ffffff;
	--mm-radius: 10px;
	--mm-shadow: 0 10px 30px rgba(16, 40, 77, 0.08);
	--mm-font-heading: 'Poppins', sans-serif;
	--mm-font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }

body {
	font-family: var(--mm-font-body);
	color: #333;
	line-height: 1.7;
	overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--mm-font-heading);
	font-weight: 700;
	color: var(--mm-primary);
}

a { text-decoration: none; transition: all 0.25s ease; }
img { max-width: 100%; height: auto; display: block; }

.skip-link { position: absolute; left: -9999px; top: auto; background: var(--mm-accent); color: #fff; padding: 10px 16px; z-index: 9999; }
.skip-link:focus { left: 10px; top: 10px; }

/* ---------- Buttons ---------- */
.btn-mm-accent {
	background: var(--mm-accent);
	color: #fff;
	border: none;
	padding: 12px 28px;
	border-radius: 50px;
	font-weight: 600;
	box-shadow: 0 6px 16px rgba(245, 130, 31, 0.35);
}
.btn-mm-accent:hover { background: var(--mm-accent-dark); color: #fff; transform: translateY(-2px); }

.btn-mm-outline {
	background: transparent;
	color: #fff;
	border: 2px solid rgba(255,255,255,0.7);
	padding: 10px 26px;
	border-radius: 50px;
	font-weight: 600;
}
.btn-mm-outline:hover { background: #fff; color: var(--mm-primary); }

.btn-mm-primary {
	background: var(--mm-primary);
	color: #fff;
	border: none;
	padding: 12px 26px;
	border-radius: 50px;
	font-weight: 600;
}
.btn-mm-primary:hover { background: var(--mm-primary-light); color: #fff; transform: translateY(-2px); }

/* ---------- Topbar ---------- */
.topbar { background: var(--mm-primary); color: #cfd9e8; font-size: 0.9rem; }
.topbar a { color: #cfd9e8; }
.topbar a:hover { color: var(--mm-accent); }
.topbar-social a { color: #cfd9e8; font-size: 1rem; }
.topbar-social a:hover { color: var(--mm-accent); }

/* ---------- Header ---------- */
.site-header { background: #fff; box-shadow: 0 2px 15px rgba(0,0,0,0.06); z-index: 1030; }
.site-header .navbar { padding: 14px 0; }
.site-title { font-family: var(--mm-font-heading); font-weight: 800; font-size: 1.5rem; color: var(--mm-primary); }
.navbar-nav .nav-link { font-weight: 600; color: var(--mm-dark); padding: 8px 16px !important; }
.navbar-nav .nav-link:hover { color: var(--mm-accent); }

/* ---------- Hero ---------- */
.hero-section {
	position: relative;
	background: linear-gradient(135deg, var(--mm-primary) 0%, #163a63 100%);
	background-size: cover;
	background-position: center;
	padding: 140px 0 110px;
	color: #fff;
	text-align: center;
}
.hero-overlay { position: absolute; inset: 0; background: rgba(16, 40, 77, 0.72); }
.hero-section .container { z-index: 2; }
.hero-tagline {
	display: inline-block;
	background: rgba(245, 130, 31, 0.15);
	border: 1px solid var(--mm-accent);
	color: var(--mm-accent);
	padding: 6px 20px;
	border-radius: 50px;
	font-weight: 600;
	margin-bottom: 20px;
	font-size: 0.95rem;
}
.hero-title { font-size: 3rem; font-weight: 800; color: #fff; margin-bottom: 20px; line-height: 1.25; }
.hero-desc { font-size: 1.15rem; color: #d7dfeb; max-width: 700px; margin: 0 auto 34px; }
.hero-buttons .btn { margin: 6px; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-tag {
	display: inline-block;
	color: var(--mm-accent);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	font-size: 0.85rem;
	margin-bottom: 10px;
}
.section-title { font-size: 2.3rem; margin-bottom: 18px; }
.section-subtitle { color: var(--mm-gray); max-width: 650px; margin: 0 auto; }

/* ---------- About / Vision-Mission ---------- */
.about-section { background: #fff; }
.vm-card {
	background: var(--mm-light-bg);
	border-radius: var(--mm-radius);
	padding: 30px 24px;
	height: 100%;
	transition: 0.3s;
}
.vm-card:hover { box-shadow: var(--mm-shadow); transform: translateY(-4px); }
.vm-card-accent { background: var(--mm-primary); color: #fff; }
.vm-card-accent h4 { color: #fff; }
.vm-icon { font-size: 2rem; color: var(--mm-accent); margin-bottom: 14px; }
.vm-list { padding-left: 18px; margin-bottom: 0; }
.vm-list li { margin-bottom: 8px; font-size: 0.95rem; }

/* ---------- Services ---------- */
.services-section { background: var(--mm-light-bg); }
.service-card {
	background: #fff;
	border-radius: var(--mm-radius);
	padding: 34px 26px;
	height: 100%;
	text-align: center;
	box-shadow: var(--mm-shadow);
	transition: 0.3s;
	border-bottom: 3px solid transparent;
}
.service-card:hover { transform: translateY(-6px); border-bottom-color: var(--mm-accent); }
.service-icon {
	width: 70px; height: 70px;
	background: rgba(245, 130, 31, 0.12);
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	margin: 0 auto 18px;
	font-size: 1.8rem;
	color: var(--mm-accent);
}
.service-card h4 { font-size: 1.15rem; margin-bottom: 10px; }
.service-card p { font-size: 0.92rem; color: var(--mm-gray); margin-bottom: 0; }

/* ---------- Projects ---------- */
.projects-section { background: #fff; }
.nav-pills .nav-link { color: var(--mm-primary); font-weight: 600; border-radius: 50px; padding: 10px 26px; margin: 0 6px; }
.nav-pills .nav-link.active { background: var(--mm-accent); color: #fff; }
.project-card { background: var(--mm-light-bg); border-radius: var(--mm-radius); overflow: hidden; box-shadow: var(--mm-shadow); transition: 0.3s; height: 100%; }
.project-card:hover { transform: translateY(-5px); }
.project-img { height: 220px; overflow: hidden; }
.project-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.4s; }
.project-card:hover .project-img img { transform: scale(1.08); }
.project-body { padding: 20px; }
.project-body h5 { margin-bottom: 8px; }
.project-body h5 a { color: var(--mm-primary); }
.project-location { font-size: 0.88rem; color: var(--mm-gray); margin-bottom: 0; }

/* ---------- Why Choose Us ---------- */
.why-us-section { background: var(--mm-light-bg); }
.why-card { background: #fff; border-radius: var(--mm-radius); padding: 32px 26px; height: 100%; box-shadow: var(--mm-shadow); transition: 0.3s; }
.why-card:hover { transform: translateY(-5px); }
.why-icon { font-size: 2.2rem; color: var(--mm-accent); margin-bottom: 16px; }
.why-card h5 { margin-bottom: 10px; }
.why-card p { color: var(--mm-gray); font-size: 0.93rem; margin-bottom: 0; }

/* ---------- Gallery Before/After ---------- */
.gallery-section { background: #fff; }
.ba-card { background: var(--mm-light-bg); border-radius: var(--mm-radius); overflow: hidden; box-shadow: var(--mm-shadow); padding-bottom: 14px; }
.ba-slider { position: relative; width: 100%; padding-top: 75%; overflow: hidden; }
.ba-slider .ba-after, .ba-slider .ba-before-wrap img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before-wrap { position: absolute; top: 0; left: 0; width: 50%; height: 100%; overflow: hidden; }
.ba-before-wrap img { width: 100%; }
.ba-handle {
	position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
	width: 40px; height: 40px; background: var(--mm-accent); border-radius: 50%;
	display: flex; align-items: center; justify-content: center; color: #fff; pointer-events: none; z-index: 3;
}
.ba-range { position: absolute; top: 0; left: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 4; }
.ba-title { text-align: center; margin-top: 14px; margin-bottom: 0; font-size: 1rem; }

/* ---------- Contact ---------- */
.contact-section { background: var(--mm-light-bg); }
.contact-info-box { background: var(--mm-primary); color: #fff; border-radius: var(--mm-radius); padding: 36px; height: 100%; }
.contact-info-box h4 { color: #fff; margin-bottom: 24px; }
.contact-info-list { list-style: none; padding: 0; margin: 0; }
.contact-info-list li { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 22px; }
.contact-info-list li i { font-size: 1.3rem; color: var(--mm-accent); margin-top: 4px; }
.contact-info-list li strong { display: block; margin-bottom: 3px; }
.contact-info-list li a, .contact-info-list li span { color: #d7dfeb; font-size: 0.94rem; }
.contact-map iframe { border-radius: var(--mm-radius); }

.contact-form-box { background: #fff; border-radius: var(--mm-radius); padding: 36px; box-shadow: var(--mm-shadow); }
.contact-form-box .form-label { font-weight: 600; font-size: 0.92rem; color: var(--mm-primary); }
.contact-form-box .form-control, .contact-form-box .form-select { border-radius: 8px; padding: 11px 14px; border: 1px solid #e1e6ec; }
.contact-form-box .form-control:focus, .contact-form-box .form-select:focus { border-color: var(--mm-accent); box-shadow: 0 0 0 3px rgba(245,130,31,0.15); }
.req { color: #dc3545; }
.mm-hp-field { position: absolute; left: -9999px; top: -9999px; }

/* ---------- Footer ---------- */
.site-footer { background: #0c1d38; color: #b9c4d6; }
.footer-brand { color: #fff; font-weight: 800; margin-bottom: 14px; }
.footer-widget-title { color: #fff; margin-bottom: 18px; font-size: 1.05rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a, .footer-links li { color: #b9c4d6; font-size: 0.93rem; }
.footer-links a:hover { color: var(--mm-accent); }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { margin-bottom: 14px; font-size: 0.92rem; display: flex; gap: 10px; align-items: flex-start; }
.footer-contact li i { color: var(--mm-accent); margin-top: 3px; }
.footer-contact a { color: #b9c4d6; }
.footer-contact a:hover { color: var(--mm-accent); }
.footer-social-icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08);
	color: #fff; margin-right: 8px;
}
.footer-social-icon:hover { background: var(--mm-accent); }
.footer-bottom { background: #081326; font-size: 0.85rem; color: #8b97ab; }

/* ---------- Floating Buttons ---------- */
.whatsapp-float {
	position: fixed; bottom: 26px; left: 26px; z-index: 999;
	width: 58px; height: 58px; background: #25D366; color: #fff;
	border-radius: 50%; display: flex; align-items: center; justify-content: center;
	font-size: 1.8rem; box-shadow: 0 6px 20px rgba(37,211,102,0.5);
	animation: mm-pulse 2.2s infinite;
}
.whatsapp-float:hover { color: #fff; transform: scale(1.08); }
@keyframes mm-pulse {
	0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
	70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
	100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
.back-to-top {
	position: fixed; bottom: 26px; right: 26px; z-index: 999;
	width: 46px; height: 46px; background: var(--mm-accent); color: #fff;
	border-radius: 50%; display: none; align-items: center; justify-content: center;
	box-shadow: 0 6px 18px rgba(245,130,31,0.4);
}
.back-to-top.show { display: flex; }

/* ---------- Blog / Page generic ---------- */
.site-main-content { background: #fff; }
.page-title { font-size: 2rem; margin-bottom: 20px; }
.blog-card { background: var(--mm-light-bg); border-radius: var(--mm-radius); overflow: hidden; box-shadow: var(--mm-shadow); }
.blog-thumb img { height: 260px; width: 100%; object-fit: cover; }
.blog-card-body { padding: 24px; }
.blog-title a { color: var(--mm-primary); }
.blog-meta { font-size: 0.85rem; color: var(--mm-gray); margin: 8px 0 14px; }
.blog-meta span { margin-right: 16px; }
.error-404 { padding: 80px 0; }
.text-mm-primary { color: var(--mm-primary); }

/* ---------- Alerts ---------- */
#mm-form-alert.alert-success { background: #d4edda; color: #155724; border-color: #c3e6cb; }
#mm-form-alert.alert-danger { background: #f8d7da; color: #721c24; border-color: #f5c6cb; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
	.hero-title { font-size: 2.1rem; }
	.hero-section { padding: 100px 0 70px; }
	.section { padding: 60px 0; }
	.navbar-collapse { background: #fff; padding: 16px; border-radius: 8px; margin-top: 10px; }
}
@media (max-width: 575px) {
	.hero-title { font-size: 1.7rem; }
	.section-title { font-size: 1.7rem; }
	.contact-form-box, .contact-info-box { padding: 22px; }
}
