/* ==========================================================
   MNT ENGINEERING SOLUTIONS — MAIN STYLESHEET
   Palette derived from logo: Royal/Navy Blue, Orange/Gold, White, Grey
   ========================================================== */
:root {
    --navy: #0a1f44;
    --royal-blue: #1450a3;
    --blue-light: #2f7ee0;
    --orange: #f5941e;
    --gold: #ffb347;
    --white: #ffffff;
    --grey-light: #f4f6f9;
    --grey: #8a94a6;
    --text-dark: #14202e;
    --shadow: 0 10px 30px rgba(10, 31, 68, 0.08);
    --radius: 14px;
    --transition: all 0.3s ease;
    --gradient-brand: linear-gradient(135deg, var(--navy) 0%, var(--royal-blue) 55%, var(--blue-light) 100%);
    --gradient-accent: linear-gradient(120deg, var(--orange) 0%, var(--gold) 100%);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, sans-serif;
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.65;
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Poppins', 'Inter', sans-serif; font-weight: 700; line-height: 1.25; color: var(--navy); }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 20px; }

.section { padding: 90px 0; }
.section-alt { background: var(--grey-light); }

.section-tag {
    display: inline-block;
    color: var(--orange);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 13px;
    margin-bottom: 10px;
}

.section-title { font-size: clamp(28px, 4vw, 40px); margin-bottom: 16px; }
.section-desc { color: var(--grey); max-width: 640px; margin-bottom: 40px; font-size: 16px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* -------- Buttons -------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-primary { background: var(--gradient-accent); color: var(--navy); box-shadow: 0 8px 20px rgba(245, 148, 30, 0.35); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(245, 148, 30, 0.45); }
.btn-outline { background: transparent; border: 2px solid var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--royal-blue); transform: translateY(-3px); }
.btn-block { width: 100%; justify-content: center; }

/* -------- Header / Navbar -------- */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 14px rgba(10, 31, 68, 0.08);
    transition: var(--transition);
    padding: 14px 0;
}
.header.scrolled {
    background: var(--white);
    backdrop-filter: blur(8px);
    padding: 10px 0;
    box-shadow: 0 6px 24px rgba(10, 31, 68, 0.12);
}
.navbar { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 46px; width: auto; transition: var(--transition); }
.header.scrolled .brand img { height: 40px; }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
    color: var(--navy);
    font-weight: 600;
    font-size: 14.5px;
    position: relative;
    padding: 6px 0;
}
.nav-links a::after {
    content: '';
    position: absolute; left: 0; bottom: 0;
    width: 0; height: 2px;
    background: var(--gradient-accent);
    transition: var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: none; color: var(--navy); font-size: 26px; cursor: pointer; }

@media (max-width: 991px) {
    .nav-links {
        position: fixed; top: 0; right: -100%;
        width: 78%; max-width: 320px; height: 100vh;
        background: var(--navy);
        flex-direction: column; justify-content: center;
        gap: 26px;
        transition: right 0.35s ease;
        box-shadow: -10px 0 30px rgba(0,0,0,0.3);
    }
    .nav-links.open { right: 0; }
    .nav-toggle { display: block; }
    .nav-cta .btn span { display: none; }
}

/* -------- Hero -------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-brand);
    overflow: hidden;
    padding-top: 100px;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(245,148,30,0.25), transparent 45%),
                radial-gradient(circle at 10% 90%, rgba(47,126,224,0.35), transparent 45%);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 8px 18px; border-radius: 50px;
    color: var(--gold); font-size: 13px; font-weight: 600;
    margin-bottom: 24px;
}
.hero h1 { color: var(--white); font-size: clamp(34px, 5vw, 56px); margin-bottom: 20px; }
.hero h1 span { color: var(--orange); }
.hero p { color: rgba(255,255,255,0.82); font-size: 17px; max-width: 520px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 50px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-size: 28px; color: var(--white); }
.hero-stats div span { color: rgba(255,255,255,0.7); font-size: 13px; }

.hero-visual {
    position: relative;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 24px;
    padding: 30px;
    backdrop-filter: blur(6px);
}
.hero-visual img { border-radius: 16px; width: 100%; }

@media (max-width: 991px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero p { margin-left: auto; margin-right: auto; }
    .hero-actions, .hero-stats { justify-content: center; }
    .hero-visual { margin-top: 20px; }
}

/* -------- Trust strip -------- */
.trust-strip { background: var(--navy); padding: 22px 0; }
.trust-strip .container { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 20px; }
.trust-strip div { color: rgba(255,255,255,0.85); font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.trust-strip i { color: var(--orange); }

/* -------- Service Cards -------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 991px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 34px 28px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
    position: relative;
    overflow: hidden;
}
.service-card:hover { transform: translateY(-8px); border-bottom-color: var(--orange); }
.service-icon {
    width: 62px; height: 62px;
    border-radius: 16px;
    background: var(--gradient-brand);
    display: flex; align-items: center; justify-content: center;
    color: var(--white); font-size: 26px;
    margin-bottom: 22px;
}
.service-card h3 { font-size: 19px; margin-bottom: 10px; }
.service-card p { color: var(--grey); font-size: 14.5px; margin-bottom: 16px; }
.service-card .link { color: var(--royal-blue); font-weight: 700; font-size: 13.5px; }

/* -------- Industry chips -------- */
.industry-card {
    background: var(--grey-light);
    border-radius: var(--radius);
    padding: 26px 18px;
    text-align: center;
    transition: var(--transition);
}
.industry-card:hover { background: var(--gradient-brand); }
.industry-card:hover h4, .industry-card:hover i { color: var(--white); }
.industry-card i { font-size: 30px; color: var(--royal-blue); margin-bottom: 14px; }
.industry-card h4 { font-size: 14.5px; }

/* -------- Counters -------- */
.stats-section { background: var(--gradient-brand); position: relative; }
.stats-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; text-align: center; }
.stat-item i { font-size: 30px; color: var(--orange); margin-bottom: 12px; }
.stat-item strong { display: block; font-size: 36px; color: var(--white); }
.stat-item span { color: rgba(255,255,255,0.75); font-size: 13.5px; }
@media (max-width: 991px) { .stats-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* -------- About -------- */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; }
.about-image { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.about-badge {
    position: absolute; bottom: 20px; left: 20px;
    background: var(--white); border-radius: 16px; padding: 18px 22px;
    box-shadow: var(--shadow);
}
.about-badge strong { font-size: 26px; color: var(--orange); display: block; }
.about-badge span { font-size: 12.5px; color: var(--grey); }
.check-list li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; font-size: 15px; }
.check-list i { color: var(--orange); margin-top: 4px; }
@media (max-width: 991px) { .about-grid { grid-template-columns: 1fr; } }

/* -------- Process -------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process-item { text-align: center; position: relative; }
.process-num {
    width: 60px; height: 60px; border-radius: 50%;
    background: var(--gradient-accent); color: var(--navy);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 20px; margin: 0 auto 18px;
}
@media (max-width: 900px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }

/* -------- Testimonials -------- */
.testimonial-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; }
.testimonial-card {
    min-width: 340px; scroll-snap-align: start;
    background: var(--white); border-radius: var(--radius);
    padding: 30px; box-shadow: var(--shadow);
}
.testimonial-card .stars { color: var(--orange); margin-bottom: 14px; }
.testimonial-card p { color: var(--text-dark); font-size: 15px; margin-bottom: 18px; }
.testi-person { display: flex; align-items: center; gap: 12px; }
.testi-person img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.testi-person strong { display: block; font-size: 14.5px; }
.testi-person span { font-size: 12.5px; color: var(--grey); }

/* -------- FAQ -------- */
.faq-item { border-bottom: 1px solid #e5e9f0; padding: 18px 0; }
.faq-question { display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 700; font-size: 16px; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; color: var(--grey); font-size: 14.5px; }
.faq-item.open .faq-answer { max-height: 240px; padding-top: 12px; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-icon { transition: var(--transition); color: var(--orange); }

/* -------- CTA -------- */
.cta-banner {
    background: var(--gradient-brand);
    border-radius: 24px;
    padding: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-banner h2 { color: var(--white); margin-bottom: 14px; }
.cta-banner p { color: rgba(255,255,255,0.8); margin-bottom: 30px; }

/* -------- Contact -------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info-item { display: flex; gap: 16px; margin-bottom: 26px; }
.contact-info-item i {
    width: 48px; height: 48px; border-radius: 12px;
    background: var(--gradient-brand); color: var(--white);
    display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0;
}
.form-control {
    width: 100%; padding: 14px 16px; border: 1px solid #dfe4ec;
    border-radius: 10px; font-size: 14.5px; margin-bottom: 18px;
    transition: var(--transition); font-family: inherit;
}
.form-control:focus { outline: none; border-color: var(--royal-blue); box-shadow: 0 0 0 3px rgba(20,80,163,0.12); }
textarea.form-control { resize: vertical; min-height: 120px; }
.map-embed { border-radius: 16px; overflow: hidden; margin-top: 30px; box-shadow: var(--shadow); }
.map-embed iframe { width: 100%; height: 300px; border: 0; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* -------- Footer -------- */
.footer { background: var(--navy); color: rgba(255,255,255,0.75); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer h4 { color: var(--white); font-size: 16px; margin-bottom: 20px; }
.footer-brand .footer-company-name {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: 0.3px;
}
.footer-brand .footer-company-name::first-letter { color: var(--orange); }
.footer p { font-size: 14px; margin-bottom: 16px; }
.footer ul li { margin-bottom: 12px; font-size: 14px; }
.footer ul li a:hover { color: var(--orange); }
.footer ul li a { color: inherit; }
.social-icons { display: flex; gap: 12px; margin-top: 16px; }
.social-icons a {
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.social-icons a:hover { background: var(--orange); color: var(--navy); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0; text-align: center; font-size: 13px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* -------- Floating buttons -------- */
.whatsapp-float {
    position: fixed; bottom: 26px; left: 26px; z-index: 999;
    width: 58px; height: 58px; border-radius: 50%;
    background: #25D366; color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; box-shadow: 0 8px 20px rgba(37,211,102,0.4);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.55); }
    70% { box-shadow: 0 0 0 16px 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: 50px; height: 50px; border-radius: 50%;
    background: var(--gradient-accent); color: var(--navy);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: var(--transition); box-shadow: var(--shadow);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* -------- Auth pages -------- */
.auth-wrapper {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    background: var(--gradient-brand); padding: 100px 20px 40px;
}
.auth-card {
    background: var(--white); border-radius: 20px; box-shadow: var(--shadow);
    width: 100%; max-width: 440px; padding: 44px 38px;
}
.auth-card .brand { justify-content: center; margin-bottom: 20px; }
.auth-card img { height: 44px; }
.auth-card h2 { text-align: center; font-size: 24px; margin-bottom: 8px; }
.auth-card p.sub { text-align: center; color: var(--grey); font-size: 14px; margin-bottom: 28px; }
.auth-links { text-align: center; margin-top: 20px; font-size: 14px; color: var(--grey); }
.auth-links a { color: var(--royal-blue); font-weight: 700; }
.alert { padding: 12px 16px; border-radius: 10px; font-size: 14px; margin-bottom: 20px; }
.alert-success { background: #e6f7ec; color: #1a7e3f; }
.alert-error { background: #fdecec; color: #c0392b; }
.password-hint { font-size: 12.5px; color: var(--grey); margin: -12px 0 18px; }

/* -------- Page header (inner pages) -------- */
.page-header {
    background: var(--gradient-brand);
    padding: 160px 0 70px;
    text-align: center;
    position: relative;
}
.page-header h1 { color: var(--white); font-size: clamp(28px, 4vw, 42px); }
.page-header .breadcrumb { color: rgba(255,255,255,0.75); margin-top: 10px; font-size: 14px; }
.page-header .breadcrumb a { color: var(--gold); }

/* -------- Utilities -------- */
.animate-in { opacity: 0; transform: translateY(24px); transition: all 0.7s ease; }
.animate-in.visible { opacity: 1; transform: translateY(0); }