/* =============================================
   ICM LOGISTICS — Main Stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --red: #cc0000;
    --red-dark: #a80000;
    --dark: #1a1a1a;
    --dark-nav: #222222;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --text-gray: #555555;
    --border: #e0e0e0;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
    padding-top: 50px;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* =============================================
   SECURITY TICKER BANNER
   ============================================= */
.ticker-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background-color: #d00b12;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    overflow: hidden;
    white-space: nowrap;
    z-index: 1100;
    display: flex;
    align-items: center;
}

.ticker-inner {
    display: inline-block;
    animation: ticker 50s linear infinite;
}

@keyframes ticker {
    0% {
        transform: translateX(100vw);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* =============================================
   NAVIGATION
   ============================================= */
.navbar {
    background: transparent;
    position: sticky;
    top: 50px;
    z-index: 1000;
    box-shadow: none;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    background: var(--dark-nav);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.navbar.scrolled .nav-logo img {
    padding-top: 0;
    height: 48px;
}

.navbar.scrolled .nav-links,
.navbar.scrolled .nav-track {
    padding-top: 0;
}

.navbar.scrolled .nav-verify-btn {
    margin-top: 0;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.nav-logo img {
    padding-top: 60px;
    height: 110px;
    padding-left: 35px;
    transition: all 0.3s ease;
}

.nav-links {
    display: flex;
    align-items: center;
    /* gap: 20px; */
    list-style: none;
    margin: 0;
    padding-top: 50px;
    transition: all 0.3s ease;
}

.nav-links a {
    color: var(--white);
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.2s;
    padding: 16px 16px;
    border: 1px solid transparent;
    border-radius: 4px;
}

/* .nav-links a:hover,
.nav-links a:focus, */
.nav-links a:active {
    border-color: var(--white);
}

.nav-track {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    padding-top: 50px;
}

.nav-track:hover {
    color: var(--red);
}

.nav-track img {
    width: 40px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s;
}

/* Hide mobile-only nav items on desktop */
.mobile-nav-extras {
    display: none;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    background: url('/images/Icmbanner.jpeg') center center / cover no-repeat;
    background-position: center 30%;
    overflow: hidden;
    margin-top: -60px;
    padding-top: 60px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    padding: 10px 63px;
    transform: translateY(-135px);
    /* Move the text upwards */
}

.hero-tagline {
    color: var(--red);
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 0px;
    padding-bottom: 10px;
}

.hero-title {
    color: var(--white);
    font-size: 44px;
    font-weight: 200;
    line-height: 1.2;
    max-width: 900px;
    margin-bottom: 20px;
}

.btn-hero {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 4px;
    transition: background 0.2s, transform 0.15s;
    cursor: pointer;
    border: none;
}

.btn-hero:hover {
    background: var(--red-dark);
    transform: translateY(-1px);
}

/* =============================================
   HERO FEATURES STRIP
   ============================================= */
.hero-features {
    background: transparent;
    position: relative;
    z-index: 2;
    transform: translateY(-140px);
}

.hero-features-inner {
    max-width: 1155px;
    margin: 0 auto;
    padding: 16px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.9);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    text-align: center;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--white);
}

.feature-item img {
    width: 86px;
    height: 86px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    /* Forces any colored icon to pure white */
}

.feature-item p.feature-item-text,
.feature-item p {
    display: block;
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.4;
    margin: 4px 0 0 0;
    color: var(--white);
    letter-spacing: 0.02em;
}

/* =============================================
   QUOTE FORM SECTION
   ============================================= */
.quote-section {
    background: url('/images/Banner_2.jpg') center center / cover no-repeat;
    background-attachment: fixed;
    padding: 70px 24px;
}

.quote-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 80px;
    display: grid;
    grid-template-columns: 480px 1fr;
    gap: 60px;
    align-items: start;
}

/* --- Quote Form Card --- */
.quote-card {
    background: var(--red);
    padding: 40px 36px;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.quote-title {
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 16px;
}

.form-group {
    margin-bottom: 10px;
}

.form-group label {
    display: block;
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.form-group input {
    box-sizing: border-box;
    width: 100%;
    padding: 8px 12px;
    height: 38px;
    border: none;
    border-radius: 3px;
    background: var(--white);
    font-size: 0.9rem;
    color: var(--dark);
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: box-shadow 0.2s;
}

.form-group input::placeholder {
    color: #aaa;
}

.form-group input:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.4);
}

.form-group input.is-invalid {
    box-shadow: 0 0 0 3px rgba(255, 100, 100, 0.6);
}

.field-error {
    color: #ffe0e0;
    font-size: 0.78rem;
    margin-top: 4px;
}

.captcha-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

/* The red image box */
.captcha-img-wrap {
    position: relative;
    flex-shrink: 0;
}

.captcha-img-wrap img {
    display: block;
    height: 38px;
    width: 120px;
    border-radius: 3px;
    object-fit: cover;
}

/* Refresh button */
.captcha-refresh {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.35s ease;
    flex-shrink: 0;
}

.captcha-refresh:hover {
    transform: rotate(180deg);
}

.captcha-refresh svg {
    width: 22px;
    height: 22px;
    fill: var(--white);
}

/* Captcha text input */
.captcha-input {
    flex: 1;
    min-width: 0;
    /* Allows input to shrink below default width */
    box-sizing: border-box;
    width: 100%;
    height: 38px;
    padding: 0 12px;
    border: none;
    border-radius: 3px;
    background: var(--white);
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    outline: none;
    transition: box-shadow 0.2s;
}

.captcha-input::placeholder {
    color: #aaa;
}

.captcha-input:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.4);
}

.captcha-input.is-invalid {
    box-shadow: 0 0 0 3px rgba(255, 100, 100, 0.6);
}


.btn-submit {
    background: var(--white);
    color: var(--red);
    border: none;
    padding: 10px 32px;
    font-size: 1rem;
    font-weight: 800;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: background 0.2s, color 0.2s, transform 0.15s;
    letter-spacing: 0.02em;
}

.btn-submit:hover {
    background: var(--dark);
    color: var(--white);
    transform: translateY(-1px);
}

/* Success / error alert */
.alert-success {
    background: #e6ffe6;
    color: #1a5c1a;
    border-left: 4px solid #2e7d32;
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 16px;
    font-size: 0.88rem;
    font-weight: 500;
}

.alert-error {
    background: #fff0f0;
    color: #8b0000;
    border-left: 4px solid #cc0000;
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 16px;
    font-size: 0.88rem;
    font-weight: 500;
}

/* --- Right side: Services Block --- */
.services-block {
    padding-top: 10px;
    text-align: center;
}

.services-heading {
    color: var(--red);
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.services-sub {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--dark);
    margin-bottom: 12px;
}

.services-desc {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0 auto 32px auto;
    max-width: 480px;
}

.services-icons {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    gap: 40px 60px;
    margin-top: 30px;
    justify-content: center;
}

.service-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.service-icon-item img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    /* Force ANY icon color (black/white/etc) to red to match target */
    filter: brightness(0) invert(15%) sepia(87%) saturate(5263%) hue-rotate(355deg) brightness(99%) contrast(116%);
}

.service-icon-item span {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--dark);
}

/* =============================================
   EXPERTISE SECTION
   ============================================= */
.expertise-section {
    position: relative;
    background: url('/images/Banner-3-new.jpeg') center center / cover no-repeat;
    overflow: hidden;
}

.expertise-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
}

.expertise-inner {
    position: relative;
    z-index: 2;
    max-width: 1050px;
    margin: 0 auto;
    padding-top: 50px;
    padding-bottom: 50px;
    padding-left: 34px;
    text-align: center;
}

.section-tag {
    font-size: 1.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--white);
    margin-bottom: 8px;
}

.section-sub {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 18px;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.expertise-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    color: var(--white);
}

.expertise-item img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.expertise-label-top {
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--white);
}

.expertise-label {
    font-size: 1.4rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--white);
}

/* =============================================
   CAR CARRIERS SECTION
   ============================================= */
.carriers-section {
    padding: 70px 24px;
    background: var(--white);
}

.carriers-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.section-title-center {
    text-align: center;
    margin-bottom: 48px;
}

.section-title-center h2 {
    color: var(--red);
    font-size: 1.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}

.section-title-center p {
    color: var(--text-gray);
    font-size: 1rem;
}

.carriers-layout {
    display: grid;
    padding-left: 120px;
    grid-template-columns: 350px 1fr;
    gap: 1px;
    align-items: center;
}

.carriers-features {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.carriers-features h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--dark);
    margin-bottom: 4px;
}

.carrier-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    padding: 2px;
    /* border-bottom: 1px solid var(--border); */
}

.carrier-feature:last-child {
    border-bottom: none;
}

.carrier-feature img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.carrier-feature span {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--dark);
}

.carriers-image img {
    width: 100%;
    max-width: 720px;
    object-fit: contain;
    margin: 0 auto;
}

/* =============================================
   OUR CLIENTS SECTION
   ============================================= */
.clients-section {
    position: relative;
    background: url('/images/Banner-3-new.jpeg') center center / cover no-repeat;
    overflow: hidden;
}

.clients-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.1);
}

.clients-inner {
    position: relative;
    z-index: 2;
    max-width: 1580px;
    margin: 0 auto;
    padding-top: 80px;
    padding-bottom: 80px;
    padding-left: 120px;
    display: grid;
    grid-template-columns: 460px 1fr;
    gap: 60px;
    align-items: center;
}

.clients-text h2 {
    color: var(--red);
    font-size: 2.8rem;
    font-weight: 800;
    font-style: italic;
    margin-bottom: 12px;
    position: relative;
    padding-bottom: 10px;
}

.clients-text h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--red);
}

.clients-text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    line-height: 1.75;
    margin-top: 14px;
}

.clients-logos {
    display: grid;
    grid-template-columns: repeat(5, 112px);
    gap: 3px;
    background: transparent;
}

.client-logo-box {
    /* background: var(--white); */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: none;
}

.client-logo-box img {
    height: 110px;
    object-fit: contain;
    max-width: 110px;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: var(--white);
    border-top: 1px solid var(--border);
}

.footer-top {
    max-width: 1280px;
    margin: 0 auto;
    padding: 50px 24px 30px;
    display: grid;
    grid-template-columns: 200px 1fr 1fr 1fr;
    gap: 40px;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 10px;
}

.footer-col h4 {
    color: var(--red);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0.02em;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--red);
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-col ul li a {
    color: var(--text-gray);
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--red);
}

.footer-reach p {
    color: var(--text-gray);
    font-size: 0.875rem;
    line-height: 1.7;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 16px 24px;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-gray);
    font-size: 0.8rem;
}

/* =============================================
   RESPONSIVE
   ============================================= */
/* =============================================
   RESPONSIVE — 1024px (Tablet)
   ============================================= */
@media (max-width: 1024px) {

    /* Hero */
    .hero {
        min-height: 500px;
    }

    .hero-content {
        padding: 10px 40px;
        transform: translateY(-80px);
    }

    .hero-title {
        font-size: 34px;
    }

    .hero-features {
        transform: translateY(-80px);
    }

    .hero-features-inner {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Quote */
    .quote-inner {
        grid-template-columns: 1fr;
        padding: 0 40px;
    }

    .quote-card {
        max-width: 100%;
    }

    /* Clients */
    .clients-inner {
        grid-template-columns: 1fr;
        padding: 40px 30px;
        gap: 30px;
    }

    .clients-logos {
        grid-template-columns: repeat(5, 1fr);
    }

    /* Carriers */
    .carriers-layout {
        grid-template-columns: 1fr;
    }

    .carriers-image img {
        max-width: 100%;
    }

    /* Footer */
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    /* Vision & Mission split */
    .vm-split-section {
        margin: 0 20px 20px;
    }
}

/* =============================================
   RESPONSIVE — 768px (Mobile)
   ============================================= */
@media (max-width: 768px) {

    /* Ticker */
    .ticker-bar {
        font-size: 13px;
        height: 40px;
    }

    body {
        padding-top: 40px;
    }

    /* ---- Navigation ---- */
    .navbar {
        top: 40px;
    }

    .nav-logo img {
        padding-top: 10px;
        height: 60px;
        padding-left: 0;
    }

    .navbar.scrolled .nav-logo img {
        height: 44px;
        padding-top: 0;
    }

    .nav-links,
    .nav-track {
        display: none;
    }

    .nav-verify-btn {
        display: none !important;
    }

    .hamburger {
        display: flex;
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--dark-nav);
        padding: 16px 24px 24px;
        gap: 4px;
        z-index: 999;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    }

    .nav-links.open li a {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        font-size: 0.9rem;
    }

    /* Mobile-only nav extras (added via JS) */
    .mobile-nav-extras {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
    }

    .mobile-nav-verify {
        background: var(--red);
        color: var(--white);
        border: none;
        padding: 10px 16px;
        border-radius: 4px;
        font-size: 0.85rem;
        font-weight: 700;
        cursor: pointer;
        text-align: center;
        font-family: 'Inter', sans-serif;
        letter-spacing: 0.03em;
    }

    .mobile-nav-track {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        color: var(--white);
        font-size: 0.82rem;
        font-weight: 700;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        text-decoration: none;
    }

    .mobile-nav-track img {
        width: 28px;
        filter: brightness(0) invert(1);
    }

    /* ---- Hero ---- */
    .hero {
        min-height: 500px;
        align-items: flex-start;
        padding-top: 80px;
        background-position: center center;
    }

    .hero-content {
        padding: 20px 20px 40px;
        transform: none;
        width: 100%;
    }

    .hero-tagline {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .hero-title {
        font-size: 24px;
        line-height: 1.3;
        max-width: 100%;
        margin-bottom: 18px;
    }

    .btn-hero {
        padding: 10px 22px;
        font-size: 0.88rem;
    }

    .hero-features {
        transform: none;
        background: var(--dark-nav);
        margin-top: 0;
    }

    .hero-features-inner {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        padding: 14px 16px;
        border-top: none;
        border-bottom: none;
    }

    .feature-item {
        color: var(--white);
    }

    .feature-item img {
        width: 50px;
        height: 50px;
    }

    .feature-item p.feature-item-text {
        font-size: 0.7rem;
    }

    /* ---- Quote Section ---- */
    .quote-section {
        background-attachment: scroll;
        padding: 40px 16px;
    }

    .quote-inner {
        padding: 0;
        gap: 30px;
    }

    .quote-card {
        padding: 28px 20px;
    }

    .services-block {
        padding-top: 0;
    }

    .services-icons {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 20px;
    }

    .service-icon-item img {
        width: 64px;
        height: 64px;
    }

    /* ---- Expertise ---- */
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .expertise-inner {
        padding: 30px 24px;
    }

    /* ---- Clients ---- */
    .clients-inner {
        grid-template-columns: 1fr;
        padding: 30px 20px;
        gap: 20px;
    }

    .clients-logos {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .client-logo-box {
        flex: 0 0 calc(33.333% - 10px);
    }

    .client-logo-box img {
        height: 60px;
    }

    /* ---- Carriers ---- */
    .carriers-section {
        padding: 40px 20px;
    }

    .carriers-layout {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-left: 0;
    }

    .carriers-features {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    /* ---- Footer ---- */
    .footer-top {
        grid-template-columns: 1fr 1fr;
        padding: 36px 20px 24px;
        gap: 24px;
    }

    .footer-logo img {
        max-width: 130px;
    }

    /* ---- About / Inner page heroes ---- */
    .about-hero,
    .service-hero,
    .corporate-hero,
    .contact-hero,
    .awards-hero,
    .careers-hero,
    .vm-hero {
        min-height: 200px;
        margin-top: -40px;
        padding-top: 40px;
    }

    .awards-hero-content,
    .careers-hero-content,
    .vm-hero-content,
    .about-hero-content {
        margin-top: 20px;
        padding-bottom: 20px;
    }

    .about-hero-content h1,
    .service-hero-content h1,
    .awards-hero-content h1,
    .careers-hero-content h1,
    .vm-hero-content h1 {
        font-size: 1.8rem;
    }

    /* ---- Vision & Mission split panels ---- */
    .vm-split-section {
        grid-template-columns: 1fr;
        margin: 0 0 16px;
    }

    .vm-split-image {
        min-height: 220px;
    }

    .vm-split-text {
        padding: 30px 24px;
    }

    /* ---- Awards ---- */
    .awards-grid {
        grid-template-columns: 1fr;
    }

    /* ---- Corporate ---- */
    .corporate-branches {
        padding: 40px 20px;
    }

    .branches-grid {
        grid-template-columns: 1fr;
        padding-left: 0;
    }

    /* ---- Contact ---- */
    .contact-inner {
        grid-template-columns: 1fr;
    }


}

/* =============================================
   RESPONSIVE — 480px (Small Mobile)
   ============================================= */
@media (max-width: 480px) {

    /* Hero */
    .hero {
        min-height: 480px;
    }

    .hero-content {
        transform: none;
        padding: 16px 16px 40px;
    }

    .hero-tagline {
        font-size: 15px;
    }

    .hero-title {
        font-size: 22px;
    }

    .hero-features {
        transform: none;
    }

    .hero-features-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 10px 12px;
    }

    .feature-item img {
        width: 44px;
        height: 44px;
    }

    /* Quote */
    .quote-card {
        padding: 20px 16px;
    }

    /* Clients logos */
    .client-logo-box {
        flex: 0 0 calc(50% - 10px);
    }

    /* Footer */
    .footer-top {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Inner page heroes */
    .about-hero,
    .service-hero,
    .corporate-hero,
    .contact-hero,
    .awards-hero,
    .careers-hero,
    .vm-hero {
        min-height: 180px;
    }

    .about-hero-content h1,
    .service-hero-content h1,
    .awards-hero-content h1,
    .careers-hero-content h1,
    .vm-hero-content h1 {
        font-size: 1.5rem;
    }

    /* VM panels */
    .vm-split-image {
        min-height: 180px;
    }
}

/* =============================================
   ABOUT US PAGE
   ============================================= */
.about-hero {
    position: relative;
    width: 100%;
    min-height: 450px;
    background: url('/images/Banner_1.jpg') center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -60px;
    padding-top: 60px;
}

.about-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.about-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-top: 60px;
}

.about-hero-content h1 {
    color: var(--white);
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.about-content-section {
    padding: 60px 24px;
    background: var(--white);
}

.about-content-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.about-main-heading {
    color: var(--red);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.about-text {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 24px;
    text-align: justify;
}

/* =============================================
   SERVICES PAGE
   ============================================= */
.service-intro {
    padding: 60px 24px;
    background: var(--white);
}

.service-intro-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.service-intro-title {
    color: var(--red);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.service-intro-text {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.8;
}

.service-list-section {
    padding-bottom: 60px;
    background: var(--white);
}

.service-list-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
}

.service-row {
    display: flex;
    flex-direction: row;
    background: #f4f8fb;
}

.service-row.reverse {
    flex-direction: row-reverse;
}

.service-img,
.service-details {
    width: 50%;
}

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

.service-details {
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-details h3 {
    color: var(--red);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.service-details p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.service-details p:last-child {
    margin-bottom: 0;
}

/* =============================================
   CORPORATE PAGE
   ============================================= */
.corporate-branches {
    padding-top: 60px;
    padding-bottom: 60px;
    padding-left: 60px;
    background: var(--white);
}

.branches-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.branches-title {
    color: var(--red);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.branches-desc {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding-left: 30px;
}

.branch-col {
    list-style: none;
    padding: 0;
    margin: 0;
}

.branch-col li {
    display: flex;
    align-items: center;
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: transparent;
    color: var(--red);
    border: 2px solid var(--red);
    border-radius: 4px;
    margin-right: 12px;
}

.check-icon::before {
    content: "\2714";
    /* checkmark */
    font-size: 12px;
    font-weight: bold;
    margin-top: -1px;
}

/* =============================================
   CAREERS PAGE
   ============================================= */
.careers-hero {
    position: relative;
    width: 100%;
    min-height: 450px;
    background: url('/images/Banner_1.jpg') center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -60px;
    padding-top: 60px;
}

.careers-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 149, 149, 0.1);
}

.careers-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-top: 0px;
    padding-bottom: 100px;
}

.careers-hero-content h1 {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: 2px;
}

.careers-content-section {
    padding: 50px 24px 80px;
    background: var(--white);
}

.careers-content-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.careers-main-heading {
    color: var(--red);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.careers-text {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.85;
    margin-bottom: 18px;
    text-align: justify;
}

.careers-email {
    color: var(--red);
    text-decoration: none;
    font-weight: 500;
}

.careers-email:hover {
    text-decoration: underline;
}

/* =============================================
   VISION & MISSION PAGE
   ============================================= */
.vm-hero {
    position: relative;
    width: 100%;
    min-height: 450px;
    background: url('/images/Banner_1.jpg') center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -100px;
    padding-top: 60px;
}

.vm-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 149, 149, 0.1);
}

.vm-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-top: 60px;
    padding-bottom: 100px;
}

.vm-hero-content h1 {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: 2px;
}

.vm-content-section {
    padding: 50px 24px 40px;
    background: var(--white);
}

.vm-content-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.vm-main-heading {
    color: var(--red);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.vm-text {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Split panels — Core Value & Quality Policy */
.vm-split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 0 120px 30px;
    overflow: hidden;
    border-radius: 4px;
}

.vm-split-image {
    overflow: hidden;
    position: relative;
    min-height: 420px;
}

.vm-split-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vm-split-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px 48px;
}

.vm-light-bg {
    background: #f0f4f8;
}

.vm-split-heading {
    color: var(--red);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.vm-split-text p {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .vm-split-section {
        grid-template-columns: 1fr;
    }

    .vm-split-image {
        min-height: 250px;
    }

    .vm-split-text {
        padding: 36px 24px;
    }
}

/* =============================================
   AWARDS PAGE
   ============================================= */
.awards-hero {
    position: relative;
    width: 100%;
    min-height: 450px;
    background: url('/images/Banner_1.jpg') center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -60px;
    padding-top: 60px;
}

.awards-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 149, 149, 0.1);
}

.awards-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-top: 60px;
    padding-bottom: 100px;
}

.awards-hero-content h1 {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: 2px;
}

.awards-content-section {
    padding: 50px 24px 70px;
    background: var(--white);
}

.awards-content-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.awards-main-heading {
    color: var(--red);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.awards-intro-text {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 40px;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.award-item {
    overflow: hidden;
    border: 1px solid var(--border);
    height: 370px;
}

.award-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.award-item:hover img {
    transform: scale(1.03);
}

@media (max-width: 640px) {
    .awards-grid {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-section {
    padding: 60px 24px;
    background: var(--white);
}

.contact-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info-title,
.contact-form-title {
    color: var(--red);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.contact-form-title {
    text-transform: none;
    font-size: 1.6rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--dark);
    margin-right: 20px;
    margin-top: 4px;
    width: 24px;
    text-align: center;
}

.info-item p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.95rem;
    color: var(--dark);
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--red);
}

.contact-form .captcha-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    width: 60%;
}

.contact-form .captcha-input {
    flex: 1;
}

.btn-submit-contact {
    background: #f4f4f4;
    color: var(--red);
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    align-self: flex-start;
    transition: background 0.3s ease;
}

.btn-submit-contact:hover {
    background: #e0e0e0;
}

/* =============================================
   SECURITY MODAL
   ============================================= */
.security-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    /* hidden by default */
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.security-modal-overlay.active {
    display: flex;
}

.security-modal-content {
    background: #fff;
    width: 90%;
    max-width: 600px;
    border: 3px solid var(--red);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    font-family: inherit;
    position: relative;
    padding: 30px;
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.modal-header .modal-warn-icon {
    font-size: 2rem;
    color: #f39c12;
    /* yellow */
}

.modal-header h2 {
    color: var(--red);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}

.modal-body p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.modal-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.modal-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 12px;
    line-height: 1.5;
}

.modal-list li i {
    color: var(--dark);
    margin-top: 3px;
}

.modal-alert-box {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.modal-alert-box i {
    font-size: 2rem;
    color: var(--red);
}

.modal-alert-box p {
    margin: 0;
    color: var(--dark);
    font-size: 1rem;
}

.modal-footer {
    display: flex;
    justify-content: center;
}

.btn-modal-close {
    background: var(--red);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-modal-close:hover {
    background: #c01919;
}

/* =============================================
   EMPLOYEE VERIFICATION MODAL
   ============================================= */
.nav-verify-btn {
    background: #b10a0a;
    color: #fff;
    border: none;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 15px;
    margin-top: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.nav-verify-btn:hover {
    background: #8b0000;
}

.verify-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.verify-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.verify-modal {
    background: #fff;
    width: 100%;
    max-width: 480px;
    border-radius: 8px;
    padding: 30px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.verify-modal-overlay.active .verify-modal {
    transform: translateY(0);
}

.verify-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 20px;
    color: #666;
    cursor: pointer;
    transition: color 0.3s;
}

.verify-modal-close:hover {
    color: #000;
}

.verify-step {
    display: none;
}

.verify-step.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.verify-step-title {
    color: #cc0000;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 15px;
}

.verify-step h2 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #222;
}

.verify-step p {
    color: #555;
    font-size: 14px;
    margin-bottom: 25px;
}

.verify-tabs {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}

.verify-tab {
    flex: 1;
    padding: 10px;
    color: #666;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}

.verify-tab.active {
    color: #cc0000;
    border-bottom-color: #cc0000;
}

.verify-input-group {
    position: relative;
    margin-bottom: 5px;
}

.verify-input-group i {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: #cc0000;
}

.verify-input-group input {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    outline: none;
}

.verify-input-group input:focus {
    border-color: #cc0000;
}

.verify-error {
    color: #cc0000;
    font-size: 13px;
    text-align: left;
    min-height: 20px;
    margin-bottom: 15px;
}

.verify-btn-primary {
    background: #cc0000;
    color: #fff;
    border: none;
    width: 100%;
    padding: 14px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.verify-btn-primary:hover {
    background: #a80000;
}

.verify-btn-primary:disabled {
    background: #e0e0e0;
    color: #888;
    cursor: not-allowed;
}

.verify-status {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.verify-status.fail {
    flex-direction: column;
}

.verify-status.success i {
    font-size: 36px;
    margin-bottom: 0;
}

.verify-status.fail i {
    font-size: 60px;
    margin-bottom: 15px;
}

.verify-status.success h2,
.verify-status.fail h2 {
    margin-bottom: 0;
    font-size: 24px;
}

.verify-status.success i {
    color: #28a745;
}

.verify-status.fail i {
    color: #dc3545;
}

.verify-status.success h2 {
    color: #28a745;
}

.verify-status.fail h2 {
    color: #dc3545;
}

.verify-employee-card {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 0 0 25px 0;
    background: transparent;
    margin-bottom: 25px;
    text-align: left;
    border: none;
    border-bottom: 1px dashed #ccc;
}

.verify-emp-img-wrapper {
    width: 140px;
    height: 140px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.verify-emp-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.verify-emp-details h3 {
    margin-bottom: 18px;
    font-size: 22px;
    color: #111;
}

.verify-emp-info {
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.verify-emp-info i {
    color: #cc0000;
    width: 20px;
}

.verify-emp-info span {
    display: inline-block;
    width: 120px;
}

.verify-report-link {
    margin-top: 25px;
    font-size: 13px;
    color: #0056b3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.verify-report-link a {
    color: #0056b3;
    text-decoration: none;
    text-align: center;
    display: block;
}

.verify-report-link a:hover {
    text-decoration: underline;
}

.verify-report-link i {
    font-size: 16px;
}

.verify-fail-text {
    font-size: 16px;
    color: #555;
    margin-bottom: 30px;
}

#verify-step-2-fail .verify-report-link {
    border-top: 1px dashed #ccc;
    padding-top: 25px;
    margin-top: 15px;
}

/* =============================================
   INNER PAGES MOBILE FIXES (Overriding base styles)
   ============================================= */
@media (max-width: 768px) {

    /* Services Page */
    .service-row,
    .service-row.reverse {
        flex-direction: column !important;
    }

    .service-details {
        order: 1 !important;
        width: 100% !important;
        padding: 30px 20px !important;
    }

    .service-img {
        order: 2 !important;
        width: 100% !important;
    }

    /* Vision & Mission Page */
    .vm-split-section {
        flex-direction: column !important;
    }

    .vm-split-text {
        order: 1 !important;
        width: 100% !important;
        padding: 30px 20px !important;
    }

    .vm-split-image {
        order: 2 !important;
        width: 100% !important;
    }

    /* Contact Page */
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr !important;
    }

    /* Corporate Page */
    .corporate-branches {
        padding: 40px 20px !important;
    }

    .branches-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)) !important;
        gap: 15px !important;
        padding-left: 0 !important;
    }
}