/* =========================================================
   IMMIGRATION HERO SLIDER
========================================================= */

.immigration-hero {
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #071625;
}

.hero-slider {
    width: 100%;
    position: relative;
    overflow: hidden;
}


/* =========================================================
   SLIDE
========================================================= */

.hero-slide {
    width: 100%;
    min-height: 560px;

    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.8s ease,
        visibility 0.8s ease;

    z-index: 1;
}

.hero-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    z-index: 2;
}


/* =========================================================
   DARK IMAGE OVERLAY
========================================================= */

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(3, 16, 31, 0.94) 0%,
            rgba(3, 16, 31, 0.82) 42%,
            rgba(3, 16, 31, 0.48) 72%,
            rgba(3, 16, 31, 0.60) 100%
        );
}


/* =========================================================
   MAIN CONTAINER
========================================================= */

.hero-inner {
    width: min(1180px, calc(100% - 80px));

    margin: 0 auto;

    position: relative;
    z-index: 5;

    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(420px, 0.85fr);

    align-items: center;

    gap: 45px;

    padding: 42px 0;
}


/* =========================================================
   LEFT CONTENT
========================================================= */

.hero-content {
    max-width: 720px;
    color: #fff;
}

.hero-tag {
    display: inline-flex;
    align-items: center;

    padding: 11px 17px;

    border: 1px solid rgba(255,255,255,0.20);
    border-radius: 50px;

    background: rgba(255,255,255,0.07);

    color: #ff9eaf;

    font-family: "Manrope", sans-serif;
    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.5px;
    text-transform: uppercase;

    backdrop-filter: blur(5px);
}

.hero-content h1 {
    margin: 18px 0 15px;

    color: #fff;

    font-family: "Manrope", sans-serif;

    font-size: clamp(40px, 4.2vw, 60px);
    font-weight: 800;

    line-height: 1.04;
    letter-spacing: -2.8px;
}

.hero-content h1 span {
    color: #ff91a6;
}

.hero-content p {
    max-width: 700px;

    margin: 0;

    color: rgba(255,255,255,0.82);

    font-family: "Manrope", sans-serif;

    font-size: 15px;
    font-weight: 400;

    line-height: 1.6;
}


/* =========================================================
   BUTTONS
========================================================= */

.hero-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 18px;

    margin-top: 24px;
}

.hero-btn {
    min-height: 50px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 13px;

    padding: 0 22px;

    border-radius: 8px;

    font-family: "Manrope", sans-serif;
    font-size: 14px;
    font-weight: 800;

    text-decoration: none;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease;
}

.hero-btn span {
    font-size: 20px;
    line-height: 1;
}

.hero-btn.primary {
    background: #d90b2f;
    color: #fff;

    box-shadow: 0 12px 30px rgba(217,11,47,0.28);
}

.hero-btn.primary:hover {
    background: #bd0828;
    color: #fff;
    transform: translateY(-3px);
}

.hero-btn.secondary {
    padding-left: 0;
    color: #fff;
    background: transparent;
}

.hero-btn.secondary:hover {
    color: #ff91a6;
    transform: translateX(3px);
}


/* =========================================================
   TRUST POINTS
========================================================= */

.hero-points {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 25px;

    margin-top: 34px;
}

.hero-points span {
    color: rgba(255,255,255,0.90);

    font-family: "Manrope", sans-serif;

    font-size: 12px;
    font-weight: 600;
}


/* =========================================================
   RIGHT FORM
========================================================= */

.hero-form {
    position: relative;

    width: 100%;

    padding: 28px;

    background: rgba(255,255,255,0.97);

    border: 1px solid rgba(255,255,255,0.8);

    border-radius: 18px;

    box-shadow:
        0 30px 80px rgba(0,0,0,0.30);

    overflow: hidden;
}

.hero-form::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 5px;

    background: #d90b2f;
}

.form-badge {
    display: inline-flex;

    padding: 9px 14px;

    border-radius: 30px;

    background: #fff0f3;

    color: #d90b2f;

    font-family: "Manrope", sans-serif;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1px;
}

.hero-form h2 {
    margin: 15px 0 7px;

    color: #111b2e;

    font-family: "Manrope", sans-serif;

    font-size: 27px;
    font-weight: 800;

    line-height: 1.15;

    letter-spacing: -1.2px;
}

.hero-form > p {
    margin: 0 0 17px;

    color: #667085;

    font-family: "Manrope", sans-serif;

    font-size: 13px;

    line-height: 1.6;
}


/* =========================================================
   FORM FIELDS
========================================================= */

.hero-form form {
    width: 100%;
}

.form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 10px;
}

.form-field {
    width: 100%;
}

.hero-form input,
.hero-form select {
    width: 100%;
    height: 48px;

    display: block;

    margin-bottom: 12px;

    padding: 0 16px;

    border: 1px solid #d5dae2;

    border-radius: 9px;

    outline: none;

    background: #fff;

    color: #344054;

    font-family: "Manrope", sans-serif;

    font-size: 13px;

    box-sizing: border-box;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.hero-form input::placeholder {
    color: #98a2b3;
}

.hero-form select {
    cursor: pointer;

    appearance: auto;
}

.hero-form input:focus,
.hero-form select:focus {
    border-color: #d90b2f;

    box-shadow:
        0 0 0 3px rgba(217,11,47,0.08);
}


/* =========================================================
   SUBMIT BUTTON
========================================================= */

.form-submit {
    width: 100%;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    margin-top: 4px;

    border: 0;
    border-radius: 9px;

    background: #d90b2f;
    color: #fff;

    font-family: "Manrope", sans-serif;

    font-size: 14px;
    font-weight: 800;

    cursor: pointer;

    box-shadow:
        0 12px 25px rgba(217,11,47,0.20);

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.form-submit span {
    font-size: 19px;
}

.form-submit:hover {
    background: #bd0828;
    transform: translateY(-2px);
}


/* =========================================================
   SUCCESS MESSAGE
========================================================= */

.hero-form .success {
    display: none;

    padding: 25px 10px;

    text-align: center;
}

.hero-form .success strong {
    display: block;

    color: #111b2e;

    font-size: 18px;
    margin-bottom: 7px;
}

.hero-form .success span {
    display: block;

    color: #667085;

    font-size: 13px;
}


/* =========================================================
   ARROWS
========================================================= */

.hero-arrow {
    position: absolute;

    top: 50%;

    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 1px solid rgba(255,255,255,0.25);

    border-radius: 50%;

    background: rgba(255,255,255,0.14);

    color: #fff;

    font-size: 22px;
    line-height: 1;

    cursor: pointer;

    z-index: 20;

    transform: translateY(-50%);

    backdrop-filter: blur(8px);

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.hero-arrow:hover {
    background: #d90b2f;

    border-color: #d90b2f;

    transform:
        translateY(-50%)
        scale(1.08);
}

.hero-prev {
    left: 25px;
}

.hero-next {
    right: 25px;
}


/* =========================================================
   DOTS
========================================================= */

.hero-dots {
    position: absolute;

    left: 50%;
    bottom: 25px;

    z-index: 30;

    display: flex;
    align-items: center;

    gap: 8px;

    transform: translateX(-50%);
}

.hero-dot {
    width: 8px;
    height: 8px;

    padding: 0;

    border: 0;

    border-radius: 50%;

    background: rgba(255,255,255,0.45);

    cursor: pointer;

    transition:
        width 0.3s ease,
        background 0.3s ease;
}

.hero-dot.active {
    width: 28px;

    border-radius: 10px;

    background: #d90b2f;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .hero-inner {
        width: min(100% - 60px, 900px);

        grid-template-columns: 1fr;

        gap: 40px;

        padding: 45px 0 55px;
    }

    .hero-content {
        max-width: 850px;
    }

    .hero-content h1 {
        max-width: 800px;

        font-size: clamp(44px, 7vw, 64px);
    }

    .hero-form {
        max-width: 650px;

        margin: 0 auto;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .hero-slide {
        min-height: auto;

        background-position: 60% center;
    }

    .hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(3,16,31,0.90),
                rgba(3,16,31,0.82)
            );
    }

    .hero-inner {
        width: calc(100% - 36px);

        padding: 35px 0 50px;

        gap: 28px;
    }

    .hero-tag {
        padding: 9px 13px;

        font-size: 9px;

        letter-spacing: 1px;
    }

    .hero-content h1 {
        margin-top: 15px;

        font-size: 34px;

        line-height: 1.08;

        letter-spacing: -1.7px;
    }

    .hero-content p {
        font-size: 14px;

        line-height: 1.7;
    }

    .hero-buttons {
        align-items: stretch;

        flex-direction: column;

        gap: 12px;

        margin-top: 20px;
    }

    .hero-btn {
        width: 100%;

        min-height: 48px;

        box-sizing: border-box;
    }

    .hero-btn.secondary {
        padding: 0;
    }

    .hero-points {
        display: grid;

        grid-template-columns: 1fr;

        gap: 10px;

        margin-top: 24px;
    }

    .hero-form {
        padding: 20px 16px;

        border-radius: 17px;
    }

    .hero-form h2 {
        font-size: 25px;

        letter-spacing: -0.7px;
    }

    .form-row {
        grid-template-columns: 1fr;

        gap: 0;
    }

    .hero-form input,
    .hero-form select,
    .form-submit {
        height: 40px;
    }

    .hero-arrow {
        width: 42px;
        height: 42px;

        font-size: 18px;
    }

    .hero-prev {
        left: 10px;
    }

    .hero-next {
        right: 10px;
    }

    .hero-dots {
        bottom: 20px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .hero-inner {
        width: calc(100% - 28px);

        padding-top: 42px;
    }

    .hero-content h1 {
        font-size: 35px;
    }

    .hero-form {
        padding: 25px 16px;
    }

    .hero-form h2 {
        font-size: 23px;
    }

    .hero-arrow {
        width: 38px;
        height: 38px;

        font-size: 16px;
    }

}

/* =========================================================
   FINAL COMPACT HERO OVERRIDE
   Keeps the complete banner visible without excessive height.
========================================================= */

.immigration-hero,
.hero-slider {
    overflow: hidden !important;
}

.hero-slide {
    min-height: 560px !important;
}

.hero-inner {
    min-height: 560px !important;
    padding-top: 38px !important;
    padding-bottom: 38px !important;
}

.hero-content h1 {
    font-size: clamp(38px, 4vw, 58px) !important;
    line-height: 1.06 !important;
    margin: 16px 0 14px !important;
}

.hero-content p {
    font-size: 14px !important;
    line-height: 1.55 !important;
}

.hero-buttons {
    margin-top: 22px !important;
    gap: 16px !important;
}

.hero-btn {
    min-height: 48px !important;
}

.hero-points {
    margin-top: 20px !important;
    gap: 16px !important;
}

.hero-form {
    padding: 25px !important;
    border-radius: 17px !important;
}

.hero-form h2 {
    font-size: 26px !important;
    margin: 13px 0 6px !important;
}

.hero-form > p {
    margin-bottom: 15px !important;
}

.hero-form input,
.hero-form select {
    height: 46px !important;
    margin-bottom: 8px !important;
}

.form-submit {
    height: 48px !important;
}

@media (max-width: 1050px) {
    .hero-slide {
        min-height: 0 !important;
    }

    .hero-inner {
        min-height: 0 !important;
        padding: 42px 0 50px !important;
    }
}

@media (max-width: 700px) {
    .hero-slide {
        min-height: 0 !important;
        height: auto !important;
    }

    .hero-inner {
        width: calc(100% - 30px) !important;
        min-height: 0 !important;
        padding: 32px 0 46px !important;
        gap: 25px !important;
    }

    .hero-content h1 {
        font-size: 32px !important;
        line-height: 1.08 !important;
        margin: 14px 0 11px !important;
    }

    .hero-content p {
        font-size: 13px !important;
    }

    .hero-buttons {
        margin-top: 18px !important;
    }

    .hero-points {
        margin-top: 17px !important;
    }

    .hero-form {
        padding: 18px 15px !important;
    }

    .hero-form h2 {
        font-size: 22px !important;
    }

    .hero-form input,
    .hero-form select,
    .form-submit {
        height: 43px !important;
    }
}

@media (max-width: 420px) {
    .hero-inner {
        width: calc(100% - 24px) !important;
        padding: 28px 0 42px !important;
    }

    .hero-content h1 {
        font-size: 29px !important;
    }

    .hero-form {
        padding: 17px 13px !important;
    }

    .hero-form h2 {
        font-size: 21px !important;
    }
}
