*,
*::before,
*::after {
    box-sizing: border-box;
}

/* First section top gap is controlled globally in headerv1.5.css. */
body:has(.im-topbar):has(.im-header) .services-page > .services-section:first-child,
body:has(.im-topbar):has(.im-header) .elementor-widget-html:has(.services-section) .services-section:first-of-type {
    padding-top: 0 !important;
}

html,
body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    overflow-x: clip !important;
    scroll-behavior: smooth;
    background: #f8fafc !important;
}

body {
    font-family: "Inter", Arial, sans-serif;
    color: #0f172a;
    background: #f8fafc !important;
}

.services-page,
.services-page * {
    letter-spacing: 0;
}

.elementor-widget-html:has(.services-page),
.elementor-widget-html:has(.services-page) > .elementor-widget-container,
.elementor-widget-container:has(.services-page),
.elementor-element:has(.services-page),
.elementor-section:has(.services-page),
.elementor-container:has(.services-page),
.elementor-column:has(.services-page),
.elementor-widget-wrap:has(.services-page),
.elementor-column-wrap:has(.services-page),
.elementor-section-wrap:has(.services-page),
.elementor-top-section:has(.services-page),
.e-con:has(.services-page),
.elementor-widget-html:has(.services-section),
.elementor-widget-html:has(.services-section) > .elementor-widget-container,
.elementor-widget-container:has(.services-section),
.elementor-element:has(.services-section),
.elementor-section:has(.services-section),
.elementor-container:has(.services-section),
.elementor-column:has(.services-section),
.elementor-widget-wrap:has(.services-section),
.elementor-column-wrap:has(.services-section),
.elementor-section-wrap:has(.services-section),
.elementor-top-section:has(.services-section),
.e-con:has(.services-section) {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    background: #f8fafc !important;
}

.services-section {
    display: block;
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: -1px 0 !important;
    padding: 5.25rem 0;
    overflow: hidden;
    isolation: isolate;
    background: #f8fafc;
}

.services-section-soft {
    background: #f8fafc;
}

.services-section::before {
    content: "";
    position: absolute;
    top: -18rem;
    right: -10rem;
    width: 34rem;
    height: 34rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    filter: blur(90px);
    pointer-events: none;
}

.services-container {
    position: relative;
    z-index: 1;
    width: min(100% - 2rem, 80rem);
    margin: 0 auto;
}

.services-watermark {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.06;
    filter: grayscale(1);
}

.services-watermark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services-watermark::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, #f8fafc, rgba(248, 250, 252, 0.45), #f8fafc);
}

.services-container-medium {
    width: min(100% - 2rem, 64rem);
}

.services-header {
    max-width: 56rem;
    margin: 0 auto 5rem;
    text-align: center;
}

.services-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    padding: 0.6rem 1.2rem;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    color: #1d4ed8;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    font-size: 0.68rem;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.22em;
}

.services-kicker span {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    background: #2563eb;
    animation: services-pulse 1.8s ease-in-out infinite;
}

.services-header h1,
.services-header h2 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(2.2rem, 5.4vw, 4.4rem);
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.services-header h1 {
    font-size: clamp(3rem, 7vw, 5.75rem);
    line-height: 0.95;
}

.services-header h2 span,
.services-callout h2 span {
    color: transparent;
    font-style: italic;
    background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.services-header h1 span {
    color: transparent;
    font-style: italic;
    background: linear-gradient(90deg, #1d4ed8 0%, #3b82f6 55%, #60a5fa 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.services-header p {
    max-width: 46rem;
    margin: 2rem auto 0;
    color: #64748b;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 300;
    line-height: 1.75;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.service-card,
.tool-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border: 1px solid #f1f5f9;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(10px);
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.45s ease, box-shadow 0.45s ease, background 0.45s ease;
}

.service-card {
    border-radius: 3.5rem;
    padding: 3rem;
}

.service-card:hover,
.tool-card:hover {
    transform: translateY(-14px) scale(1.01);
    border-color: #2563eb;
    background: #ffffff;
    box-shadow: 0 45px 90px -25px rgba(15, 23, 42, 0.15);
}

.service-icon,
.tool-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    margin-bottom: 2.5rem;
    border-radius: 1rem;
    color: #2563eb;
    background: #eff6ff;
    transition: transform 0.45s ease, color 0.45s ease, background 0.45s ease, box-shadow 0.45s ease;
}

.service-icon svg,
.tool-icon svg {
    width: 2rem;
    height: 2rem;
}

.service-card:hover .service-icon,
.tool-card:hover .tool-icon {
    color: #ffffff;
    background: #2563eb;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.4);
    transform: scale(1.1) rotate(8deg);
}

.service-card h2,
.tool-card h3 {
    margin: 0 0 1rem;
    color: #0f172a;
    font-size: 1.55rem;
    font-weight: 900;
    line-height: 1.15;
    text-transform: uppercase;
}

.service-card p,
.tool-card p {
    margin: 0;
    color: #64748b;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.7;
}

.service-card ul {
    max-height: 0;
    margin: 0;
    padding: 0;
    border-top: 1px solid transparent;
    overflow: hidden;
    opacity: 0;
    list-style: none;
    transition: max-height 0.5s ease, opacity 0.4s ease, margin 0.4s ease, padding 0.4s ease, border-color 0.4s ease;
}

.service-card:hover ul {
    max-height: 16rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-color: #f1f5f9;
    opacity: 1;
}

.service-card li {
    position: relative;
    margin-top: 0.8rem;
    padding-left: 1.1rem;
    color: #334155;
    font-size: 0.68rem;
    font-weight: 900;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.service-card li::before {
    content: "";
    position: absolute;
    top: 0.45rem;
    left: 0;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 999px;
    background: #2563eb;
}

.service-card a,
.services-callout a,
.tool-card button,
.service-modal-score a,
.eligibility-panel a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    text-decoration: none;
    transition: transform 0.35s ease, color 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}

.service-card > a {
    margin-top: auto;
    padding-top: 2.5rem;
    color: #2563eb;
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.service-card > a:hover {
    color: #0f172a;
}

.service-card a svg,
.services-callout a svg {
    width: 1rem;
    height: 1rem;
    transition: transform 0.35s ease;
}

.service-card a:hover svg,
.services-callout a:hover svg {
    transform: translateX(0.25rem);
}

.services-callout {
    position: relative;
    margin-top: 6rem;
    border-radius: 4rem;
    padding: 4rem;
    overflow: hidden;
    background: #0f172a;
    box-shadow: 0 30px 60px -28px rgba(15, 23, 42, 0.75);
}

.services-callout > div:first-child {
    position: absolute;
    top: -13rem;
    right: -10rem;
    width: 30rem;
    height: 30rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.2);
    filter: blur(100px);
    pointer-events: none;
    transition: background 0.65s ease;
}

.services-callout:hover > div:first-child {
    background: rgba(37, 99, 235, 0.3);
}

.services-callout-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.services-callout h2 {
    margin: 0 0 1.25rem;
    color: #ffffff;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 900;
    line-height: 1.15;
    text-transform: uppercase;
}

.services-callout h2 span {
    color: #60a5fa;
}

.services-callout p {
    max-width: 38rem;
    margin: 0;
    color: rgba(219, 234, 254, 0.7);
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.75;
}

.services-callout a {
    flex: 0 0 auto;
    min-height: 4rem;
    padding: 1.15rem 2.6rem;
    border-radius: 2rem;
    color: #ffffff;
    background: #2563eb;
    box-shadow: 0 20px 35px -18px rgba(37, 99, 235, 0.75);
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.services-callout a:hover {
    color: #2563eb;
    background: #ffffff;
    transform: translateY(-3px);
}

.services-trust {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 5.5rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(226, 232, 240, 0.85);
    text-align: center;
}

.services-trust p {
    margin: 0;
    color: #94a3b8;
    font-size: 0.65rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.28em;
}

.services-trust span {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: #0f172a;
    opacity: 0.42;
    filter: grayscale(1);
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
    transition: opacity 0.45s ease, filter 0.45s ease;
}

.services-trust span:hover {
    opacity: 1;
    filter: grayscale(0);
}

.services-trust svg {
    width: 1.45rem;
    height: 1.45rem;
    color: #2563eb;
}

.services-photo-band {
    position: relative;
    width: 100%;
    margin: 0;
    min-height: 26rem;
    display: flex;
    align-items: flex-end;
    padding: 5rem 0;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.44), rgba(15, 23, 42, 0.12)),
        url("https://intelmigration.com.au/wp-content/uploads/2026/06/photo-1523580494863-6f3031224c94.avif") center / cover no-repeat;
}

.services-photo-band::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.16), rgba(15, 23, 42, 0.52));
}

.services-photo-band-card {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 26rem);
    gap: 2rem;
    align-items: end;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 2rem;
    background: rgba(15, 23, 42, 0.58);
    backdrop-filter: blur(16px);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.24);
}

.services-photo-band-card span {
    display: block;
    margin-bottom: 0.7rem;
    color: #93c5fd;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.services-photo-band-card h2 {
    margin: 0;
    max-width: 48rem;
    color: #ffffff;
    font-size: clamp(2rem, 4.6vw, 4rem);
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.services-photo-band-card p {
    margin: 0;
    color: rgba(219, 234, 254, 0.86);
    font-size: 1rem;
    line-height: 1.7;
}

@media (max-width: 1120px) {
    .services-photo-band-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .services-photo-band {
        min-height: 22rem;
        padding: 3.5rem 0;
    }

    .services-photo-band-card {
        border-radius: 1.5rem;
    }
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
}

.tool-card {
    align-items: center;
    border-radius: 4rem;
    padding: 4rem;
    text-align: center;
    cursor: pointer;
}

.tool-icon {
    width: 5rem;
    height: 5rem;
    border-radius: 2rem;
}

.tool-icon svg {
    width: 2.5rem;
    height: 2.5rem;
}

.tool-card h3 {
    font-size: 2rem;
}

.tool-card p {
    flex: 1;
    margin-bottom: 3rem;
    font-size: 1.05rem;
}

.tool-card button {
    width: 100%;
    min-height: 4rem;
    border: 0;
    border-radius: 2rem;
    color: #ffffff;
    background: #0f172a;
    box-shadow: 0 20px 35px -20px rgba(15, 23, 42, 0.5);
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.tool-card:hover button {
    background: #2563eb;
}

.tool-disclaimer {
    position: relative;
    width: min(100%, 48rem);
    margin: 5.5rem auto 0;
    border: 1px solid #f1f5f9;
    border-radius: 3.5rem;
    padding: 3rem;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 24px 48px -34px rgba(15, 23, 42, 0.35);
    text-align: center;
}

.tool-disclaimer > div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0.4rem;
    background: #2563eb;
}

.tool-disclaimer h3 {
    margin: 0 0 1rem;
    color: #0f172a;
    font-size: 1.15rem;
    font-weight: 900;
    text-transform: uppercase;
}

.tool-disclaimer p {
    margin: 0;
    color: #94a3b8;
    font-size: 0.95rem;
    font-style: italic;
    font-weight: 500;
    line-height: 1.75;
}

.service-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.service-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.service-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.62);
    backdrop-filter: blur(10px);
}

.service-modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(100%, 36rem);
    max-height: 90vh;
    border-radius: 3rem;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.5);
    transform: translateY(30px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-modal.active .service-modal-content {
    transform: translateY(0);
}

.service-modal-large {
    width: min(100%, 42rem);
}

.service-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 2rem;
    border-bottom: 1px solid #f8fafc;
    background: rgba(248, 250, 252, 0.5);
}

.service-modal-header h2 {
    margin: 0;
    color: #0f172a;
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
}

.service-modal-header button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid #f1f5f9;
    border-radius: 999px;
    color: #94a3b8;
    background: #ffffff;
    cursor: pointer;
}

.service-modal-header button:hover {
    color: #2563eb;
}

.service-modal-header svg {
    width: 1.25rem;
    height: 1.25rem;
}

.service-modal-body {
    padding: 2.5rem;
    overflow-y: auto;
}

.service-modal-body::-webkit-scrollbar {
    width: 5px;
}

.service-modal-body::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #cbd5e1;
}

.points-form {
    display: grid;
    gap: 1.75rem;
}

.points-form label {
    display: grid;
    gap: 0.85rem;
    color: #2563eb;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.points-form select {
    width: 100%;
    border: 1px solid #f1f5f9;
    border-radius: 1rem;
    padding: 1rem;
    color: #334155;
    background: #f8fafc;
    outline: 0;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 700;
}

.points-form select:focus {
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.points-notice {
    border: 1px solid #bfdbfe;
    border-radius: 1rem;
    padding: 1.25rem;
    background: #eff6ff;
}

.points-notice strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #2563eb;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.points-notice p {
    margin: 0;
    color: rgba(30, 64, 175, 0.75);
    font-size: 0.9rem;
    font-style: italic;
    line-height: 1.6;
}

.service-modal-score {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 2rem;
    color: #ffffff;
    background: #0f172a;
}

.service-modal-score span {
    display: block;
    color: #60a5fa;
    font-size: 0.65rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.service-modal-score strong {
    color: #ffffff;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
}

.service-modal-score small {
    margin-left: 0.5rem;
    color: #60a5fa;
    font-weight: 800;
    text-transform: uppercase;
}

.service-modal-score a,
.eligibility-panel a {
    min-height: 3.25rem;
    border-radius: 0.85rem;
    padding: 1rem 1.5rem;
    color: #ffffff;
    background: #2563eb;
    box-shadow: 0 18px 30px -18px rgba(37, 99, 235, 0.7);
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.service-modal-score a:hover,
.eligibility-panel a:hover {
    color: #2563eb;
    background: #ffffff;
}

.eligibility-panel {
    padding: 3rem;
    text-align: center;
}

.eligibility-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    margin-bottom: 2rem;
    border: 1px solid #dbeafe;
    border-radius: 1rem;
    color: #2563eb;
    background: #eff6ff;
}

.eligibility-icon-success {
    width: 5rem;
    height: 5rem;
    border: 4px solid #ffffff;
    border-radius: 999px;
    color: #16a34a;
    background: #f0fdf4;
    box-shadow: 0 20px 40px -24px rgba(22, 163, 74, 0.4);
}

.eligibility-icon svg {
    width: 2rem;
    height: 2rem;
}

.eligibility-panel h2 {
    margin: 0 0 1rem;
    color: #0f172a;
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
}

.eligibility-panel p {
    margin: 0 0 2rem;
    color: #64748b;
    line-height: 1.7;
}

.eligibility-actions {
    display: grid;
    gap: 0.75rem;
}

.eligibility-actions button,
.eligibility-panel > div > button {
    width: 100%;
    border: 1px solid #f1f5f9;
    border-radius: 1rem;
    padding: 1rem;
    color: #334155;
    background: #f8fafc;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: color 0.35s ease, background 0.35s ease;
}

.eligibility-actions button:hover {
    color: #ffffff;
    background: #2563eb;
}

.eligibility-panel > div > button {
    margin-top: 1rem;
    border: 0;
    color: #94a3b8;
    background: transparent;
}

.is-hidden {
    display: none !important;
}

@keyframes services-pulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.45;
        transform: scale(0.82);
    }
}

@media (max-width: 1024px) {
    .services-section {
        padding: 4.25rem 0;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tools-grid,
    .services-callout-content {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 720px) {
    .services-section {
        padding: 3.25rem 0;
    }

    .services-container,
    .services-container-medium {
        width: min(100% - 1rem, 80rem);
    }

    .services-header {
        margin-bottom: 3rem;
    }

    .services-kicker {
        width: 100%;
        justify-content: center;
        padding-inline: 0.9rem;
        font-size: 0.62rem;
        letter-spacing: 0.14em;
    }

    .services-header h1,
    .services-header h2 {
        font-size: clamp(2rem, 11vw, 2.85rem);
    }

    .services-grid,
    .tools-grid {
        grid-template-columns: 1fr;
    }

    .service-card,
    .tool-card {
        border-radius: 2rem;
        padding: 1.5rem;
    }

    .service-icon,
    .tool-icon {
        width: 3.75rem;
        height: 3.75rem;
        margin-bottom: 2rem;
    }

    .tool-card h3 {
        font-size: 1.55rem;
    }

    .services-callout,
    .tool-disclaimer {
        margin-top: 3.5rem;
        border-radius: 2rem;
        padding: 2rem 1.35rem;
    }

    .services-callout a,
    .tool-card button,
    .service-modal-score a,
    .eligibility-panel a {
        width: 100%;
    }

    .service-modal-content {
        border-radius: 2rem;
    }

    .service-modal-header,
    .service-modal-body,
    .service-modal-score,
    .eligibility-panel {
        padding: 1.35rem;
    }

    .service-modal-score {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
}
