/* ============================================================
   MECH ON THE MOVE — Main Stylesheet
   ============================================================ */

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

:root {
    --blue:       #467FF7;
    --blue-dark:  #2f5ec4;
    --navy:       #1C244B;
    --text:       #324A6D;
    --bg-light:   #F3F5F8;
    --white:      #FFFFFF;
    --radius:     12px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
}

/* ── HEADER ── */
header {
    background-color: var(--blue);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: clamp(18px, 4vw, 32px);
    font-style: italic;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 24px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-brand p { margin: 0; line-height: 1.1; }

.logo {
    width: clamp(52px, 9vw, 74px);
    height: clamp(52px, 9vw, 74px);
    object-fit: cover;
    background-color: var(--white);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ── NAVIGATION ── */
nav {
    background-color: var(--blue-dark);
    font-family: 'Inter', sans-serif;
    position: relative;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links a {
    display: block;
    color: var(--white);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 14px 28px;
    border-bottom: 3px solid transparent;
    transition: background 0.2s, border-color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    background-color: rgba(255,255,255,0.12);
    border-bottom-color: var(--white);
}

/* ── BURGER ── */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 6px;
    border-radius: 8px;
    transition: background 0.2s;
    flex-shrink: 0;
    margin-left: auto;
}

.burger:hover { background: rgba(255,255,255,0.18); }

.burger span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ── MAIN ── */
main {
    display: flex;
    flex-direction: column;
}

/* ── SECTIONS ── */
section {
    padding: clamp(48px, 7vw, 90px) clamp(20px, 8vw, 110px);
}

/* ── HERO ── */
.hero-section {
    background: linear-gradient(135deg, #eef3ff 0%, #dce8ff 100%);
    text-align: center;
    padding: clamp(70px, 12vw, 130px) clamp(20px, 8vw, 110px);
}

.hero-heading {
    font-size: clamp(26px, 5vw, 50px);
    font-weight: 700;
    color: var(--navy);
    max-width: 700px;
    margin: 0 auto 20px;
    line-height: 1.2;
}

.hero-text {
    font-size: clamp(14px, 2vw, 18px);
    font-weight: 300;
    color: var(--text);
    max-width: 580px;
    margin: 0 auto 36px;
    line-height: 1.75;
}

/* ── BTN ── */
.btn {
    background-color: var(--blue);
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    border: none;
    padding: 14px 38px;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(70,127,247,0.4);
}

.btn:hover {
    background-color: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(70,127,247,0.5);
}

/* ── TYPOGRAPHY ── */
.section-heading {
    font-size: clamp(22px, 3.5vw, 34px);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 16px;
    text-align: center;
}

.section-text {
    font-size: clamp(14px, 1.8vw, 16px);
    font-weight: 300;
    color: var(--text);
    max-width: 750px;
    margin: 0 auto 40px;
    line-height: 1.8;
    text-align: center;
}

.body-heading {
    font-size: clamp(15px, 2vw, 19px);
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 10px;
}

.body-text {
    font-size: clamp(13px, 1.5vw, 15px);
    font-weight: 300;
    color: var(--text);
    line-height: 1.8;
}

/* ── SERVICES ── */
.services-section { background: var(--white); text-align: center; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 16px;
}

.service-card {
    background: var(--bg-light);
    border-radius: var(--radius);
    overflow: hidden;
    text-align: left;
    transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 36px rgba(0,0,0,0.1);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.service-card-body { padding: 22px; }

/* ── WHY CHOOSE US ── */
.why-choose-us-section { background: var(--bg-light); text-align: center; }

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 16px;
    text-align: left;
}

.why-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 26px;
    border-left: 4px solid var(--blue);
    transition: box-shadow 0.2s;
}

.why-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); }

/* ── ABOUT ── */
.about-us-section { text-align: center; }

.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    align-items: center;
    margin-top: 24px;
    text-align: left;
}

.about-inner img {
    width: 100%;
    border-radius: var(--radius);
    object-fit: cover;
    max-height: 380px;
}

/* ── OUR STORY ── */
.our-story-section {
    max-width: 820px;
    margin: 0 auto;
}

.our-story-section .hero-heading {
    text-align: center;
    margin-bottom: 28px;
}

/* ── CONTACT ── */
.contact-section {
    max-width: 680px;
    margin: 0 auto;
    width: 100%;
}

.contact-form {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 36px clamp(22px, 4vw, 44px);
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}

.contact-form label {
    display: block;
    margin-top: 20px;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 14px;
    color: var(--navy);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #d0d9e8;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: var(--navy);
    background: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(70,127,247,0.15);
}

.contact-form button[type="submit"] {
    margin-top: 24px;
    padding: 14px 36px;
    background-color: var(--blue);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(70,127,247,0.4);
}

.contact-form button[type="submit"]:hover {
    background-color: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(70,127,247,0.5);
}

.contact-form button[type="submit"]:disabled {
    background-color: #a0b4d8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

#form-message {
    display: none;
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 14px;
}

#form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

#form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ── FOOTER ── */
footer {
    background-color: var(--navy);
    color: rgba(255,255,255,0.7);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    text-align: center;
    padding: 28px 24px;
}

/* ── GLOBAL IMG ── */
img { max-width: 100%; height: auto; }

/* ============================================================
   TABLET  ≤ 900px
   ============================================================ */
@media (max-width: 900px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: 1fr; }
    .about-inner { grid-template-columns: 1fr; text-align: center; }
    .about-inner img { max-height: 280px; }
}

/* ============================================================
   MOBILE  ≤ 640px
   ============================================================ */
@media (max-width: 640px) {

    /* Burger visible */
    .burger { display: flex; }

    /* Nav collapses */
    .nav-links {
        display: none;
        flex-direction: column;
        gap: 0;
        width: 100%;
        border-top: 1px solid rgba(255,255,255,0.15);
    }

    .nav-links.open { display: flex; }

    .nav-links a {
        padding: 16px 24px;
        border-bottom: 1px solid rgba(255,255,255,0.1) !important;
        font-size: 16px;
        border-bottom-width: 1px;
    }

    /* Sections */
    section { padding: 44px 18px; }
    .hero-section { padding: 64px 18px; }
    .contact-section { padding: 30px 14px; }
    .contact-form { padding: 26px 18px; }

    /* Grids → single col */
    .services-grid,
    .why-grid,
    .about-inner { grid-template-columns: 1fr; }
}
