/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
header#masthead .main-header {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
}
header#masthead .main-header .header-logo img, footer#colophon .footer-logo img {
    filter: brightness(0) invert(1);
}
.welcome-heading h2 span {
    font-size: 16px;
    font-weight: 800;
    color: #0193ac;
    display: block;
}
.visa-writing {
    counter-reset: section;
}
.visa-writing .e-con-full.e-flex.e-con.e-child{
  padding-left: 90px;
}
.visa-writing .e-con-full.e-flex.e-con.e-child::before {
  counter-increment: section;
  content: "0"counter(section)".";
  font-size: 48px;
  font-weight:800;
  opacity: 0.1;
}
.migration-box figure.elementor-image-box-img {
    height: 500px;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}
.migration-box figure.elementor-image-box-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    border: 2px solid #fff;
     transition: all 0.4s;
}
.migration-box figure.elementor-image-box-img:hover img{
    transform: scale(1.1);
    transition: all 0.4s;
}
.migration-box figure.elementor-image-box-img:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
    border-radius: 20px;
    z-index: 1;
     border: 2px solid #fff;
}
.migration-box .elementor-image-box-content {
    position: absolute;
    bottom: 40px;
    padding: 0 20px;
    z-index: 2;
}
.migration-box .elementor-image-box-content  h3.elementor-image-box-title a {
    font-family: "Plus Jakarta Sans", Sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 30px;
    color: #FFFFFF;
}
.migration-box .elementor-image-box-content p.elementor-image-box-description a {
    display: inline-block;
    background: #ff9d03;
    font-size: 15px;
    font-weight: 600;
    padding: 15px 30px;
    border-radius: 30px;
    color: #000;
    margin-top:20px;
    transition: all 0.4s;
}
.migration-box .elementor-image-box-content p.elementor-image-box-description a:hover {
    background-color: #fff;
    transition: all 0.4s;
}
.blog-post-list article.hfe-post-card .hfe-post-image a {
    height: 300px;
    display:block;
    border-radius:20px;
    position: relative;

}
.blog-post-list article.hfe-post-card .hfe-post-image a img{
    width:100%; 
    height:100%;
    object-fit: cover;
    border-radius:20px;
    transition: all 0.4s;
}
.blog-post-list article.hfe-post-card .hfe-post-content{
    border-radius: 20px;
    border: 1px solid #000;
    background-color: #fff;
    position: relative;
    top: -75px;
    left: 20px;
    display: flex;
    flex-direction: column;
}
.blog-post-list article.hfe-post-card .hfe-post-content .hfe-post-meta {
    order: 1;
}
.blog-post-list article.hfe-post-card .hfe-post-content h3.hfe-post-title {
    order: 2;
}
.blog-post-list article.hfe-post-card .hfe-post-content .hfe-post-excerpt {
    order: 3;
}
.blog-post-list article.hfe-post-card .hfe-post-content h3.hfe-post-title a {
    font-size: 22px;
}
footer#colophon .footer-inner {
    position: relative;
}

footer#colophon .footer-inner:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,rgba(4, 44, 74, 0.56) 0%, rgba(4, 44, 74, 0.89) 100%);
}
.footer-menu ul.hfe-nav-menu {
    column-count: 2;
}
.step-to-australia {
    counter-reset: section;
}
.step-to-australia .elementor-widget-hfe-infocard {
    width: 650px;
    max-width: 100%;
}
.step-to-australia .elementor-widget-hfe-infocard:before {
    counter-increment: section;
    content: "0" counter(section) ".";
    font-size:22px;
    font-weight: bold;
    color: #ff9d03;
    top: 0;
    position: absolute;
}
.step-to-australia .elementor-widget-hfe-infocard:nth-child(odd):before{
    left: 110px;
} 
.step-to-australia .elementor-widget-hfe-infocard:nth-child(1):after, .step-to-australia .elementor-widget-hfe-infocard:nth-child(3):after {
    content: '';
    position: absolute;
    right: -10px;
    bottom: -85px;
    width: 86px;
    height: 112px;
    background-image: url(images/arrow.webp);
    background-size: contain;
    background-repeat: no-repeat;
    transform: rotate(-10deg);
}
.step-to-australia .elementor-widget-hfe-infocard:nth-child(2):after {
    content: '';
    position: absolute;
    left: -10px;
    bottom: -85px;
    width: 86px;
    height: 112px;
    background-image: url(images/arrow.webp);
    background-size: contain;
    background-repeat: no-repeat;
    transform: rotateY(-180deg);
}
div.hero-secction {
    position: relative;
    z-index: 9;
}
div.hero-secction:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 600px;
    height: 600px;
    background: #003860;
    opacity: 1;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.8;
}
.contact-form ul {
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0 20px;
    list-style: none;
}
.contact-form ul li.half {
    width: calc(50% - 10px);
}
.contact-form ul  li.full {
    width: 100%;
}
.contact-form ul li input, .contact-form ul li textarea, .contact-form ul li select {
    padding: 15px 20px;
    border: 2px solid #000;
    border-radius: 30px;
    font-family: 'Plus Jakarta Sans';
    font-size: 16px;
    color: #000;
}
.contact-form ul li textarea{
    height: 150px;
}
.contact-form ul li input.wpcf7-form-control.wpcf7-submit {
    background-color: #FF9D03;
    font-family: "Plus Jakarta Sans", Sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #000000;
    border-radius: 30px 30px 30px 30px;
    padding: 20px 70px;
    border: 0;
    transition: all 0.4s;
}
.contact-form ul li  input.wpcf7-form-control.wpcf7-submit:hover{
    background-color: #000;
     color: #fff;
     transition: all 0.4s;
}
body.error404 main#content {
    padding: 250px 10px 200px 10px;
    background-color: #31506b;
    max-width: 100%;
}
body.error404 main#content h1.entry-title {
    color: #fff;
    font-size: 48px;
    font-weight: 800;
    text-align: center;
}
body.error404 main#content .page-content{
    text-align: center;
}
body.error404 main#content .page-content p {
    font-size: 20px;
    font-family: 'Plus Jakarta Sans';
    color: #fff;
    font-weight: 600;
}
body.error404 main#content .page-content a {
    background-color: #FF9D03;
    font-family: "Plus Jakarta Sans", Sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #000000;
    border-radius: 30px 30px 30px 30px;
    padding: 20px 70px;
    border: 0;
    text-decoration: none;
    display: inline-block;
    transition: all 0.4s;
}
body.error404 main#content .page-content a:hover{
    background-color: #fff;
     color: #000;
     transition: all 0.4s;
}
.services-boxes .elementor-image-box-wrapper{
    position: relative;
    border-radius: 30px;
}
.services-boxes .elementor-image-box-wrapper figure.elementor-image-box-img {
    margin-bottom: 0!important;
    position: relative;
     overflow: hidden; 
    border-radius: 30px 30px 0px 0px;
    height: 400px;
}
.services-boxes .elementor-image-box-wrapper figure.elementor-image-box-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s;
}
.services-boxes .elementor-image-box-wrapper .elementor-image-box-content {
    position: relative;
    left: 50%;
    width: 90%;
    transform: translateX(-50%);
    padding: 20px;
    background: #0193AC;
    border-radius:0px 0px 20px 20px;
    min-height: 550px;
    transition: all 0.4s;
    width: 100%;
}
.services-boxes:nth-child(odd) .elementor-image-box-wrapper .elementor-image-box-content {
    background: #042C4A;
}
.services-boxes .elementor-image-box-wrapper .elementor-image-box-content p.elementor-image-box-description strong {
    display: inline-block;
    margin-bottom: 10px;
}
/*.services-boxes .elementor-image-box-wrapper:hover .elementor-image-box-content{
    margin-top: -100%;
    transition: all 0.4s;
}*/
.services-boxes .elementor-image-box-wrapper:hover figure.elementor-image-box-img img{
    transform: scale(1.1);
    transition: all 0.4s;
}
.card-overlap-animation {
    position: relative;
}
.card-overlap {
    position: sticky;
    box-shadow: 0 10px 10px rgb(104 104 104 / 2%);
    padding: 20px;
    margin-bottom: 20px;
    min-height: 500px; 
    transition: transform 0.3s ease;
}
.card-overlap:nth-child(1) { top: 0; z-index: 1; }
.card-overlap:nth-child(2) { top: 30px; z-index: 2; }
.card-overlap:nth-child(3) { top: 60px; z-index: 3; }
.card-overlap:nth-child(4) { top: 90px; z-index: 4; }
section.single-background {
    background: #003860;
    padding: 300px 10px 200px 10px;
}

section.single-background .container {
    max-width: 1320px;
    margin: auto;
}
section.single-background .container h1 {
    font-family: "Plus Jakarta Sans", Sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #FFFFFF;
    text-align: center;
}
section.single-background + main#content {
    padding: 80px 10px;
    font-family: 'Plus Jakarta Sans';
    font-size: 16px;
    font-weight: 500;
    color: #000;
}
.pum-theme-lightbox .pum-container {
    border: 0;
    border-radius: 20px;
    box-shadow: 3px 0px 30px 0px rgba(2, 2, 2, 0.05);
}

@media (max-width: 1600px){
    section.single-background {
        padding: 200px 10px 150px 10px;
    }
}
@media (max-width: 1024px){
    nav.hfe-nav-menu__layout-horizontal.hfe-nav-menu__submenu-arrow.hfe-dropdown {
        overflow: hidden;
    }
    div.hero-secction:after {
        width: 80%;
        height: 80%;
    }
     section.single-background .container h1{
        font-size: 40px;
    }
}
@media (max-width: 767px){
    section.single-background {
        padding: 250px 10px 150px 10px;
    }
    section.single-background .container h1{
        font-size: 36px;
    }
    div.hero-secction:after {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background: #003860;
        opacity: 1;
        filter: blur(100px);
        z-index: -1;
        opacity: 0.8;
    }
    .step-to-australia .hfe-infocard{
        padding-left: 60px!important;
    }
    .step-to-australia .elementor-widget-hfe-infocard:nth-child(odd):before {
        left: 0;
    }
    .step-to-australia.e-flex.e-con.e-child {
        background-image: none !important;
    }
    .step-to-australia .elementor-widget-hfe-infocard:nth-child(1):after, .step-to-australia .elementor-widget-hfe-infocard:nth-child(3):after {
        width: 45px;
    }
    .step-to-australia .elementor-widget-hfe-infocard:nth-child(2):after {
        width: 45px;
    }
        .blog-post-list article.hfe-post-card .hfe-post-content {
        left: 0;
        top: -30px;
    }
.services-boxes .elementor-image-box-wrapper .elementor-image-box-content {
    width: 100%;
}
.card-overlap{
    padding: 10px;
}
.table-container {
    overflow-x: scroll;
}
.policy-text a {
    word-break: break-all;
}
}
div#non-uk-residents, div#uk-residents {
    display: none;
}


.services-boxes .elementor-image-box-wrapper .elementor-image-box-content .buttons-box {
    display: flex;
    gap: 20px;
    margin-top: 25px;
}

.services-boxes .elementor-image-box-wrapper .elementor-image-box-content .buttons-box a.btn {
    border: 2px solid #FF9D03;
    display: inline-block;
    background: #FF9D03;
    padding: 10px 30px;
    width: auto;
    border-radius: 25px;
    color: #000;
    font-size: 14px;
    font-weight: bold;
}

/*.services-boxes .elementor-image-box-wrapper .elementor-image-box-content .buttons-box a.btn:nth-child(even){
    background:none;
    color:#FF9D03;
}

.services-boxes .elementor-image-box-wrapper .elementor-image-box-content .buttons-box a.btn:nth-child(even):hover{background:#FF9D03; color:#000;}*/

.services-boxes .elementor-image-box-wrapper .elementor-image-box-content .buttons-box a.btn:hover {
    background: none;
    color: #FF9D03;
}
section.hero-sldier-sec ul.slick-dots {
    bottom: 50px;
}


@media(max-width:768px){
   section.hero-sldier-sec button.slick-arrow{display:none !important;}
}

.pagethumbnill {
    margin-bottom: 30px;
    border-radius: 30px;
    overflow: hidden;
}

.pagethumbnill img {
    width: 100%;
    border-radius: 25px;
}

body.single section.single-background {
    padding: 150px 0px;
}

body.single.single-post main#content {
    background: #f1f1f1;
    max-width: 100%;
    padding-top: 5px;
}

body.single.single-post main#content .page-content {
    max-width: 1000px;
    text-align: center;
    margin: auto;
    background: #fff;
    padding: 35px;
    border-radius: 25px;
    box-shadow: 0px 0px 10px #ddd;
    margin-top: -80px;
}

body.single.single-post main#content .page-content .page-header {
    text-align: left;
    display: inline-block;
    width: 100%;
}

body.single.single-post main#content .page-content .page-header h1.entry-title {
    font-size: 36px;
    font-weight: 900;
    float: left;
    line-height: 48px;
    margin: 0;
    margin-bottom: 25px;
}
body.single.single-post main#content .page-content .blogpost-para {
    text-align: left;
}

body.single.single-post main#content .page-content .blogpost-para p {
    font-size: 18px;
    line-height: 30px;
}

body.single.single-post main#content .page-content .blogpost-para p strong {
    font-weight: 900;
}
/*13Jan*/
body.archive .page-content {
    display: flex;
    gap: 30px 40px;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: auto;
    margin-bottom: 80px;
}
body.archive .page-content article.post {
    width: calc(calc(100% - 80px) / 3);
    position: relative;
    margin-top: 230px;
    border-radius: 20px;
    border: 1px solid #000;
    background-color: #fff;
    padding: 20px;
}
body.archive  main#content {
    max-width: 100%;
}
body.archive .page-content article.post h2.entry-title + a {
    position: absolute;
    top: -230px;
    height: 300px;
    overflow: hidden;
    width: 100%;
    border-radius: 15px;
    display: block;
    left: -20px;
    z-index: -1;
}
body.archive .page-content article.post h2.entry-title + a img {
    position: absolute;
    height: 100%;
}
body.archive .page-content article.post h2.entry-title{
    font-size: 22px;
    color: #000000;
    font-family: "Plus Jakarta Sans", Sans-serif;
}
body.archive .page-content article.post h2.entry-title a {
    color: #000;
    font-family: "Plus Jakarta Sans", Sans-serif;
    font-weight: 700;
}
body.archive .page-content article.post p {
    color: #000000;
    font-family: "Plus Jakarta Sans", Sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
    margin-bottom: 0px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
body.archive .page-header {
    background-image: linear-gradient(180deg, #042C4A 20%, #042C4A24 100%);
    padding-top: 300px;
    padding-bottom: 200px;
    margin-bottom: 80px;
    background-image: linear-gradient(180deg, #042C4A 20%, #042C4A24 100%),url(https://milnemigration.com/wp-content/uploads/2025/11/314656.webp);
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: cover;
}
body.archive .page-header h1.entry-title {
    font-family: "Plus Jakarta Sans", Sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #FFFFFF;
    text-align: center;
}
@media (max-width:1450px){
    body.archive .page-content {
    padding-left: 40px;
    padding-right: 20px;
}
}
@media (max-width:1366px){
   body.archive .page-header {padding-top: 200px;
    padding-bottom: 100px;
}
}
@media (max-width:1024px){
body.archive .page-header h1.entry-title {
    font-size: 40px;
}
body.archive .page-content article.post {
    width: calc(calc(100% - 40px) / 2) ;
}
}
@media (max-width:768px){
body.archive .page-content article.post {
    width: 100%;
}
}

body.home .blog-post-list article.hfe-post-card .hfe-post-content
Specificity: (0,4,2)
 {
    min-height: 250px;
}