/* ============================= */
/*          HERO SECTION         */
/* ============================= */

.hero-section {
    width: 100%;
    padding: 20px 20px 40px;
    background: linear-gradient(180deg, #0482FF 0%, #005DFF 100%);
    text-align: center;
    color: #fff;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

/* HEADLINE */
.hero-section h1 {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 8px;
}

.highlight {
    color: #FFEE00;
}

/* SUBHEAD */
.hero-sub {
    font-size: 1.2rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

/* VEHICLE IMAGE */
.hero-image-wrapper {
    margin: 10px 0 12px; /* reduced gap */
}

.hero-vehicles {
    width: 85%;
    max-width: 560px;
    height: auto; 
    display: block;
    margin: 0 auto;
}

/* ============================
   REALISTIC UK NUMBER PLATE
   ============================ */

.reg-plate {
    display: flex;
    align-items: center;
    width: 360px;
    height: 80px;
    background: #F3DD4E;      /* Yellow plate */
    border-radius: 16px;
    border: 4px solid white;
    box-shadow: 0px 6px 22px rgba(0,0,0,0.35);
    overflow: hidden;
    margin: 25px auto 30px;
}

/* LEFT BLUE EU STRIP */
.reg-left {
    width: 70px;
    height: 100%;
    background: #1C2A78;     /* Perfect EU blue */
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* EU 12 STAR CIRCLE */
.eu-stars {
    width: 36px;
    height: 36px;
    background: url('/assets/img/eu-stars.svg') no-repeat center;
    background-size: contain;
    margin-bottom: 4px;
}

/* UK text */
.uk-text {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* INPUT FIELD */
#regInput {
    flex: 1;
    height: 100%;
    border: none;
    background: transparent;
    font-size: 34px;
    font-weight: 800;
    color: #2A2A2A;
    text-transform: uppercase;
    padding-left: 22px;
    outline: none;
    font-family: Arial, Helvetica, sans-serif;
}

/* Placeholder same style as screenshot */
#regInput::placeholder {
    color: #555;
    opacity: 0.55;
}

/* MOBILE */
@media (max-width: 600px) {
    .reg-box {
        width: 290px;
        padding: 6px 10px;
    }

    .plate-left {
        width: 48px;
        height: 45px;
    }

    #regInput {
        font-size: 1.7rem;
    }

}

/* CTA BUTTON */
.cta-btn {
    margin-top: 12px;
    background: #16A34A;
    color: #fff;
    padding: 14px 30px;
    font-size: 1.2rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    transition: 0.25s;
}

.cta-btn:hover {
    background: #2BFF6A;
}

/* MOBILE OPTIMISATION */
@media (max-width: 600px) {
    .hero-section h1 { font-size: 1.9rem; }
    .hero-sub { font-size: 1rem; }
    .hero-vehicles { max-width: 400px; width: 90%; }
    .reg-box { width: 280px; }
    #regInput { font-size: 1.6rem; }
}
.hero-step {
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.hero-step.hide {
    opacity: 0;
    transform: translateY(-20px);
    display: none;
}

.hero-step.show {
    opacity: 1;
    transform: translateY(0);
    display: block;
}
/* CONTACT INPUTS (FIX SIZE + FIX IPHONE ZOOM) */
.contact-input {
    width: 100%;
    padding: 16px 14px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 18px !important;     /* MUST be 16px+ to prevent iPhone zoom */
    font-weight: 600;
    margin-bottom: 12px;
    outline: none;
}

.contact-input::placeholder {
    font-size: 18px !important;
    opacity: 0.6;
}
.error-message {
    display: none;
    margin-top: 10px;
    text-align: center;
    font-size: 15px;
    color: #ff3b30; /* iOS red */
    font-weight: 600;
}
/* =============================
   HERO CARD CONTAINER
   ============================= */

.hero-card {
    background: #f0f1f5;
    color: #111;
    max-width: 420px;
    margin: 0 auto;
    padding: 26px 22px 28px;
    border-radius: 22px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.25);
    position: relative;
    overflow: hidden;
}

/* Smooth internal transitions */
.hero-step {
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.hero-step.hide {
    opacity: 0;
    transform: translateY(25px);
    display: none;
}

.hero-step.show {
    opacity: 1;
    transform: translateY(0);
    display: block;
}
.hero-step.hide { display: none; }
.hero-step.show { display: block; }
/* ============================
   MOBILE REG PLATE FIX
   ============================ */

@media (max-width: 420px) {
    .reg-plate {
        width: 92%;
        height: 68px;
        border-radius: 14px;
        margin: 18px auto 22px;
    }

    .reg-left {
        width: 56px;
    }

    #regInput {
        font-size: 26px;
        padding-left: 14px;
    }
}