@import url('https://fonts.googleapis.com/css2?family=Kumbh+Sans:wght@100;200;300;400;500;600;700;800;900&family=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {

    margin: 0;
    font-family: 'Raleway', sans-serif;
    scroll-behavior: smooth;
    /* overflow-x: hidden; */
p{
    line-height: 1.5;
}
a{
    color: #6BBE41;
    text-decoration: none;
    transition: color .3s ease-in-out;
}
a:hover{
    color: #1A4534;
    text-decoration: none;
}
a:active{
    color: #1A4534;
    text-decoration: none;
}

}
.main-logo-svg {
    display: block;
    width: calc(100% - 60px);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
    margin-top: 100px;
    padding-left: 30px;
    padding-right: 30px;
    svg {
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        background-attachment: fixed;
    }
}
.references {
    font-weight: bold;
    color: var(--light-color);
    font-size: 18px;
}

.header_home {
    background-image: url(../images/homepage.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-color: var(--background-color);
    max-width: calc(100% - 60px);
    height: calc(100vh - var(--menu--height));
    width: calc(100% - 60px);
    top: 0;
    overflow: hidden;
    padding-left: 30px;
padding-right: 30px;
}

.header_aboutus {
    background-image: url(../images/aboutus_header.jpg);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: auto;
    background-attachment: fixed;
    background-color: var(--light-color);

    height: 200px;
    margin: 0;
    padding: 0;
    top: 0;
}

.header_services {
    background-image: url(../images/services_header.jpg);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: auto;
    background-attachment: fixed;
    background-color: var(--light-color);

    height: 200px;
    margin: 0;
    padding: 0;
    top: 0;
}

.header_contactus {
    background-image: url(../images/vancouver-dark.jpg);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: auto;
    background-attachment: fixed;
    background-color: var(--light-color);

    height: 100%;
    margin: 0;
    padding: 0;
    top: 0;
}

.header_news {
    background-image: url(../images/news_header.jpg);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: auto;
    background-attachment: fixed;
    background-color: var(--light-color);

    height: 200px;
    margin: 0;
    padding: 0;
    top: 0;
}

.header_services .container,
.header_news .container,
.header_contactus .container,
.header_aboutus .container {

    display: grid;
    grid-template-columns: 1fr;
    margin: 0 auto 0 auto !important;
    height: 100%;
}

.header_contactus .container {
    display: block;
    color: var(--lgrey-color);

    padding-top: 3vh;
    padding-bottom: 3vh;

}

.header_services h1,
.header_news h1,
.header_contactus h1,
.header_aboutus h1 {
    margin: 0;
    padding: 0;

    display: block;
    text-align: left;

    color: rgb(255, 255, 255);

    font-size: 40px;

    font-weight: 700;

    align-self: center;
    justify-self: center;
    padding-bottom: 30px;
    border-bottom: 3px var(--lgrey-color) solid;
    text-transform: uppercase;
    text-shadow: 0px 5px 4px rgba(0, 0, 0, 0.80);
    ;


}
.header_contactus .company_details{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap:10px;
}
.header_contactus h1 {
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    font-size: 30px;

}
.header_contactus a{
    color: white;
    transition: all .3s ease-in-out;
    text-decoration: none;
    
}
.header_contactus a:hover{
    background-color: rgba(255, 255, 255, 0.2);
}
.header_contactus .address-contact{
 display: flex;
 text-align: center;
 align-items: center;
 justify-content: center;
}

.header_contactus p {
    margin-top: 3vh;
    margin-bottom: 3vh;
    margin-left: 3vh;
    margin-right: 3vh;
    font-size: 14px;
}

.contact_form {
    padding-left: 3vw;
    padding-right: 3vw;

}

.contact_form ul {
    padding: 0;
    margin: 0;

    list-style: none;
    display: block;


}

.contact_form li {
    margin-top: 1vh;
}

.contact_form label,
.contact_form .form-item,
.contact_form select,
.contact_form textarea {
    display: block;
    width: -webkit-fill-available;
    margin: 0;
    padding: 0;

}

.contact_form label {
    text-transform: uppercase;
    font-size: 14px;
}

.contact_form .form-item {
    height: 40px;
    background-color: var(--background-color);
    color: var(--lgrey-color);
    border: 1px solid var(--dgrey-color);
    font-size: 14px;
    padding-left: 20px;
}

.contact_form .form-item-select {
    height: 40px;
    background-color: var(--background-color);
    color: var(--lgrey-color);
    border: 1px solid var(--dgrey-color);
    font-size: 16px;
    padding-left: 0px;
    width: -webkit-fill-available;
}

.contact_form textarea.form-item {
    padding: 20px;

}

.contact_form .area {
    grid-column: span 2;

}

.company-info {
    margin-top: 5vh;
    border-top: 3px solid rgba(255, 255, 255, .3);
    padding-top: 5vw;
    padding-bottom: 5vw;
    padding-left: 5vw;
    padding-right: 5vw;
    display: block;

}

.company-info iframe {
    grid-column: span 2;
    width: -webkit-fill-available;
    max-height: 320px;
    height: 100%;
    margin-top: 3vh;
}

.company-info img {
    display: block;
    min-width: 150px;
    max-width: 200px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 3vh;
    margin-bottom: 3vh;
}

.company-info p {
    text-align: center;
    margin: 0;
}

.company-info h3 {
    margin: 0;
    padding: 0;
    font-size: 18px;
    padding-bottom: 10px;
    text-align: center;
}

.header_home h1 {
    display: block;
    text-align: center;
    margin-top: 10vh;
    color: rgba(0, 0, 0, 0.70);

    font-size: 40px;

    font-weight: 700;

}

.header_home h1 span {
    display: block;
    color: rgba(0, 0, 0, 0.60);
    font-size: 24px;
    font-weight: 400;
}

.header_home .card {
    display: none;
    border-radius: 20px;
    /**/
    background: rgba(36, 39, 45, 0.57);
    padding: 5vw;
    max-width: 400px;

    position: relative;
    top: auto;
    margin-top: 5vh;
    margin-left: auto;
    margin-right: auto;
    right: auto;
    text-align: center;
}

.header_home .card h2 {
    display: block;
    color: var(--light-color);

    font-size: 18px;

    font-weight: 700;

    margin-top: 0px;
    text-align: left;
}

.header_home .card h2::before,
.CadFlag {
    content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="27"><g clip-path="url(%23a)"><path fill="%23fff" d="M0 0h54v27H0z"/><path fill="red" d="M0 0h13.5v27H0zM27.02 2.531 25.253 6.14c-.164.313-.447.268-.713.103l-1.68-.973 1.086 5.372c.177.688-.39 1-.789.523l-2.259-2.545-.638 1.317c-.164.344-.341.495-.98.344l-2.286-.492.891 2.906c.133.437.12.643-.133.84l-.877.54 4.74 3.91c.403.344.355.688.178 1.197l-.52 1.33 4.024-.776c.877-.183 1.25-.196 1.25.295l-.178 4.439h1.303l-.177-4.452c.014-.434.385-.434.921-.3l4.338.791-.43-1.33c-.178-.554-.342-.706.133-1.198l4.668-3.965-.802-.402c-.416-.183-.239-.496-.15-.87v-.062l.758-2.872-2.256.478-.01.002c-.384.071-.674.125-.867-.274l-.58-1.33-2.184 2.352c-.598.66-1.147.374-.939-.599l.997-4.956-1.533.764c-.355.178-.535.21-.757-.165L27.02 2.53ZM40.5 0H54v27H40.5z"/></g><defs><clipPath id="a"><path fill="%23fff" d="M0 0h54v27H0z"/></clipPath></defs></svg>');
    /* with class ModalCarrot ??*/
    height: 20px;
    margin-left: 10px;
    margin-right: 10px;
    /* position:relative; or absolute */
    /* left:-50px;
  top:10px; */

}

.CadFlag {
    width: 100%;
    height: inherit;
    display: block;
}

.header_home .card p {
    text-align: left;
    color: var(--lgrey-color);

    font-size: 14px;

    font-weight: 400;

}

.btn {
    border-radius: 15px;
    font-size: 15px;
    color: var(--light-color);


    font-weight: 600;

    cursor: pointer;
    border: 0;

}

.btn-med {
    padding: 10px 20px 10px 20px;
    font-size: 15px;
}

.btn-large {
    padding: 20px 30px 20px 30px;
    font-size: 20px;
}

.btn-red {
    background: var(--secondary-color);
    color: var(--light-color);

}

.btn-red:hover {
    background: darkred;
    color: var(--light-color);

}

.btn-grey {
    background: #969696;
    color: var(--light-color);

}

.btn-grey:hover {
    background: var(--dark-color);
    color: var(--light-color);
    ;

}

.btn-grey-wh {
    background: #717171;
    color: var(--light-color);

}

.btn-grey-wh:hover {
    background: var(--light-color);
    color: var(--dark-color);
    ;

}

.btn-centered {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.nav-container {
    background-color: var(--background-color);
    height: var(--menu--height);
    position: sticky;

    width: 100%;

    top: 0;
    /* margin-top: calc(100vh - var(--menu--height)); */
    z-index: 1000;
}

nav {
    position: sticky;
    top: 0;
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}

nav img {
    margin: 20px;
    width: calc(100% - 40px);
    max-width: 332px;
    max-height: 50px;
    justify-self: start;
}


#about_us_page,
#services_page,
#news_page {
    display: block;
    margin-left: 5vw;
    margin-right: 5vw;
    margin-top: 30px;
}


#about_us h2 {
    grid-area: title;
    color: var(--primary-color);

    font-size: 45px;

    font-weight: 700;

    text-transform: uppercase;
    border-top: 3px var(--lgrey-color) solid;
    padding-top: 30px;
    margin: 10px auto 10px auto;
    width: fit-content;


    text-align: center;
}

#about_us_page h2,
#services_page h2,
#news_page h2 {
    grid-area: title;
    color: var(--primary-color);

    font-size: 30px;

    font-weight: 700;

    text-transform: uppercase;
    border: 0;
    border-bottom: 3px var(--lgrey-color) solid;
    padding-bottom: 10px;
    margin: 10px auto 10px auto;
    width: fit-content;
    text-align: center;
}

#about_us_page img,
#services_page img {
    display: block;
    width: 60vw;
    max-height: 200px;
    margin: 0;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    object-fit: cover;
    object-position: top;
}

#about_us_page p,
#services_page p,
#news_page p {
    font-size: 16px;
}

#news_page p {
    text-align: center;
}

.strong {
    font-weight: bold;
}

.mt-med {
    margin-top: 30px;
}

.mb-med {
    margin-bottom: 30px;
}

.two-columns {
    columns: 2;
    column-gap: 30px;
}

#about_us .about_us_info {

    margin: 3vw 10vw 10vw 10vw;
}

#about_us .about_us_info img {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 0 auto 8vw auto;

}

.about_us_info p {
    text-align: justify;
    padding: 0;
}

#about_us .logo_safebridge {
    display: block;

    width: 100%;
    max-width: 250px;

    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}

#about_us_msg {
    background-image: url(../images/canada11-dark.jpg);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 60px 0 30px 0;
    color: var(--light-color);
}

#about_us_msg p {
    color: var(--light-color);
    text-align: center;

    font-size: 15px;

    font-weight: 400;

    padding: 3vw 5vw 3vw 5vw;
}

main {
    display: block;
}

#services article,
#services_details article {
    display: block;
    background-color: var(--dark-color);

    padding: 0;
    margin: 0;
}

#services h2 {
    display: flex;
    align-items: center;
    height: 25vw;
    max-height: 300px;
    min-height: 200px;
    padding: 0 0 0 10vw;
    margin: 0;
    color: var(--light-color);
    text-shadow: 0px 5px 4px rgba(0, 0, 0, 0.80);

    font-size: 25px;

    font-weight: 600;


}

.service_details h3 {

    height: 25vw;
    max-height: 300px;
    min-height: 200px;
    padding: 0 0 0 10vw;
    margin: 0;
    color: var(--light-color);
    text-shadow: 0px 5px 4px rgba(0, 0, 0, 0.80);

    font-size: 20px;

    font-weight: 600;


}

#services .container {
    margin-top: 0;
    margin-bottom: 0;
}

.black_overlay {
    display: block;
    background-color: rgba(0, 0, 0, 0.70);
}

.black_overlay_grad {

    background: rgba(0, 0, 0, 0.70);


}

.service_details h3 {
    height: inherit !important;
    max-height: fit-content !important;
    min-height: fit-content !important;
    padding: 7vh 0 3vh 3vw !important;
    text-align: left;
}

.service_details p {
    margin: 0;
    color: var(--lgrey-color);

    font-size: 14px;

    font-weight: 400;

    padding: 0 5vw 0 3vw;

    /*padding: 0 50vw 0 70px; mas de 1200px*/

    /* padding: 0 5vw 0 5vw; mas de 1200px */

}

.service_details button {
    margin: 3vh 0 5vh 3vw;

}

#services article,
.services_details {
    background-repeat: repeat-x;
}

#study_card {
    background: url('../images/canada5.jpg');
    background-position: center center;
    background-size: cover;
}

#business_card {
    background: url('../images/canada7.jpg');
    background-position: center center;
    background-size: cover;
}

#pr_card {
    background: url('../images/canada8.jpg');
    background-position: center top;
    background-size: cover;
}

#citizenship_card {
    background: url('../images/canada4.jpg');
    background-position: center center;
    background-size: cover;
}

#reunification_card {
    background: url('../images/canada9.jpg');
    background-position: center center;
    background-size: cover;
}

#asylum_card {
    background: url('../images/canada10.jpg');
    background-position: center center;
    background-size: cover;
}


#services_extra p {
    color: var(--primary-color);
    text-align: center;

    font-size: 14px;

    font-weight: 400;

    padding-bottom: 50px;
    margin-left: 3vw;
    margin-right: 3vw;
}

#services_extra_details {
    margin-left: 3vw;
    margin-right: 3vw;
}

#services_extra_details ul {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
}

.three-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;

}

#services_extra {
    padding-top: 50px;
    margin-bottom: 0px !important;
    padding-bottom: 50px;
}

#services_extra_details img {
    display: block;
    border-radius: 50%;
    width: 245px;
    height: 245px;
    object-fit: cover;
    margin-left: auto;
    margin-right: auto;

}

#services_extra_details h3 {
    color: var(--dark-color);

    font-size: 16px;

    font-weight: 700;

    text-align: center;
}

#services_extra_details li {
    color: var(--dark-color);

    font-size: 14px;

    font-weight: 400;

}

/* news */


#news_feed article {
    background-color: var(--lgrey-color);
    padding: 2vw;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 40px;
    cursor: pointer;
    transition: background-color 300ms ease-out 100ms;
}

#news_feed .time-overlay {
    text-align: right;

}

#news_feed .category {
    text-transform: uppercase;
    color: var(--dgrey-color);
    font-weight: 500;
    font-size: 11px;
    transition: color 300ms ease-out 100ms;

}

#news_feed .tags_container {
    margin-top: 2vh;
    margin-bottom: 2vh;
}

#news_feed .tagNews {
    display: inline-block;
    padding: 10px;
    margin: 5px;
    border: 1px var(--lgrey-color) solid;
    color: var(--dgrey-color);
    font-weight: 500;
    font-size: 10px;
    transition: color 300ms ease-out 100ms;
}

#news_feed button {
    transition: background-color 300ms ease-out 100ms;
}

#news_feed h3 {
    font-size: 16px;
    transition: color 300ms ease-out 100ms;
}

#news_feed p {
    font-size: 14px;
    transition: color 300ms ease-out 100ms;
}

#news_feed time {
    display: inline-block;
    background-color: var(--light-color);
    color: var(--dgrey-color);
    padding: 0.9375rem 1.875rem;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    right: 0;
}

#news_feed img {
    width: 100%;
    height: inherit;
    object-fit: cover;
}

#news_feed article:hover {
    background-color: var(--dgrey-color);
}

#news_feed article:hover h3,
#news_feed article:hover p {
    color: var(--light-color);
}

#news_feed article:hover .category {

    color: var(--lgrey-color);
}

#news_feed article:hover .tagNews {

    color: var(--lgrey-color);
}

#news_feed article:hover button {
    background-color: var(--dark-color);
}

#news_feed .three-columns {
    margin-left: 5vw;
    margin-right: 5vw;
}

/* newsletters */
#newsletter {
    background: url('../images/vancouver-sunset.jpg');
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
}

#newsletter_layout {
    display: block;

    color: var(--light-color);
    padding: 7vw;

}

#newsletter_layout h2 {
    color: var(--light-color);

    text-shadow: 0px 5px 4px rgba(0, 0, 0, 0.80);

    font-size: 25px;

    font-weight: 600;

}

#newsletter_layout a {
    text-decoration: none;
    color: var(--lgrey-color)
}

#newsletter_layout a:hover {

    color: var(--light-color)
}

#newsletter_layout p {
    font-size: 16px;
    color: var(--lgrey-color);
}


#useful_links {
    padding-left: 7vw;
    border: 0;
    margin-top: 3vh;
    padding-top: 3vh;
    border-top: 3px solid var(--dgrey-color);
}

#newsletter_layout label {
    display: block;
    text-transform: uppercase;
    color: var(--lgrey-color);
    font-weight: 500;
    font-size: 14px;
    margin-top: 1vh;
    margin-bottom: 1vh;
}

#subscription input[type="email" i] {
    height: 40px;
    border-radius: 0;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    width: 100%;
    font-size: 16px;
    padding-left: 2vw;
    margin-bottom: 2vh;
    border: 1px var(--light-color) solid;
}

#subscription input[type="submit" i] {
    height: 40px;
    border-radius: 0;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    width: 100%;
    font-size: 16px;
    padding-left: 2vw;
    margin-bottom: 2vh;
}

.paging {
    margin-top: 1vh;
    margin-bottom: 1vh;
    margin-right: 5vw;
    text-align: right;
}

.paging ul {
    list-style: none;
}

.paging li {
    display: inline-block;
}

.paging a {
    text-decoration: none;
    color: gray;
    font-weight: normal;
    font-size: 16px;
    padding: 5px;

}

.paging a:hover {
    color: var(--secondary-color);
    background-color: var(--lgrey-color);

}

.paging .active {
    color: darkred;
    font-weight: bold;
}

.form-group {
    display: table;
    box-sizing: border-box;
    margin-top: 10vh;
}

.form-group .email {
    display: table-cell;
    width: 100%;
}

.form-group .email>input {
    width: 100%;
    margin: 2px;
    padding: 2px;
    box-sizing: border-box;
}

/* MENU MOBILE */

.hamb {

    cursor: pointer;
    padding: 10vw 0px;
    right: 20px;
    position: absolute;
    z-index: 200;

}

.hamb-containter {
    display: block;
    height: 100%;
    width: 100%;
}

.hamb-line {
    display: block;
    height: 3px;
    position: relative;
    width: 35px;
    background: var(--light-color);

}

.hamb-line::before,
.hamb-line::after {
    background: var(--light-color);
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
}

.hamb-line::before {
    top: 10px;
}

.hamb-line::after {
    top: -10px;
}

.menu_elements {
    /* display: block; */


    display: none;
    position: fixed;
    top: 0;
    height: 100%;
    /* max-height: 0%; */
    width: 100%;
    /* transition: height 2s ease-out 1s; */
    background-color: rgba(0, 0, 0, 0.97);
    z-index: 100;
    padding: var(--menu--height) 0 0 0;
    margin: 0;
}

.menu_elements li {
    list-style: none;
    margin-right: 60px;
    margin-left: 60px;

}

.menu_elements .active a {
    background-color: rgba(255, 255, 255, .5);
}

.menu_elements li:hover a {
    background-color: rgba(255, 255, 255, .3);

}

.menu_elements li:hover .line_top {
    width: 0%;
}

.menu_elements li:hover .line_bottom {
    background-color: var(--light-color);
}

.menu_elements a {
    display: block;
    text-align: center;
    padding-top: var(--menu--element--padding);
    padding-bottom: var(--menu--element--padding);
    color: var(--light-color);
    text-decoration: none;
    height: inherit;
    background-color: transparent;
    transition: background-color 1s ease-out 100ms;
    padding-left: 10px;
    padding-right: 10px;
}

.menu_elements .line_top {
    display: block;
    height: var(--menu--line--height);
    width: 0%;
    transition: width 300ms ease-out 100ms;
    background-color: var(--light-color);
    margin-left: auto;
    margin-right: auto;
}

.menu_elements .line_bottom {
    display: block;
    height: var(--menu--line--height);
    width: 100%;
    transition: background-color 300ms ease-out 100ms;
    background-color: rgba(255, 255, 255, 0.308);
    margin-left: auto;
    margin-right: auto;
}

.side-menu {
    display: none;
    grid-area: check;
}

.side-menu:checked~.menu_elements {
    /* max-height: 100%; */
    display: block;
}

.side-menu:checked~.hamb .hamb-line {
    background: transparent;
}

.side-menu:checked~.hamb .hamb-line::before {
    transform: rotate(-45deg);

    top: 0;
}

.side-menu:checked~.hamb .hamb-line::after {
    transform: rotate(45deg);
    top: 0;
}

/* TOP CITIES */
#top_cities {
    display: block;
    margin-top: 40px;
    padding-bottom: 30px;
}

#top_cities h2 {
    display: block;
    grid-area: title;
    color: var(--dark-color);
    text-align: center;

    font-size: 35px;

    font-weight: 400;

    text-transform: uppercase;

    border-right: none;
    border-bottom: 3px var(--lgrey-color) solid;
    padding-top: 40px;
    margin: 10px auto 40px auto;
    width: fit-content;
    text-align: center;
    align-self: start;
    padding-top: 0px;
    padding-right:unset;
}

#top_cities h2 span {
    display: block;
    color: var(--dgrey-color);

    font-size: 40px;

    font-weight: 700;

    text-transform: uppercase;
}

#top_cities p {
    text-align: center;
    margin: 3vw;
    color: var(--primary-color);

    font-size: 16px;

    font-weight: 400;

}

#cities_collage {
    grid-area: collage;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 60px;
}

#cities_collage img {
    width: 100%;
    height: inherit;
    object-fit: cover;
    overflow: hidden;
}

#cities_collage h3 {
    margin-top: 60px;
    margin-bottom: 10px;

    font-size: 30px;

    font-weight: 700;

    text-transform: uppercase;
}

#cities_collage p {

    color: var(--dgrey-color);
    font-size: 25px;

    font-weight: 700;

    text-transform: uppercase;
    margin: 0;
}

.flip-card {
    background-color: transparent;
    width: 100%;
    height: 100%;
    max-height: 300px;
    min-height: 200px;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.flip-card-front {
    background-color: var(--lgrey-color);
    color: var(--dark-color);
}

.flip-card-back {
    background-color: var(--background-color);
    color: var(--light-color);
    transform: rotateY(180deg);
}

/* IMMIGRATION PROGRAMS */
#immigration_programs {
    background-image: url(../images/canada6-dark.jpg);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 60px 0 30px 0;
    color: var(--light-color);
}

#programs_header {
    display: block;
    margin-bottom: 20px;
}

#immigration_programs h2 {
    color: var(--light-color);
    text-align: center;

    font-size: 30px;

    font-weight: 400;

    text-transform: uppercase;
    border-right:none;
    border-bottom: 3px var(--lgrey-color) solid;
    padding-top: 0px;
    margin: 10px auto 40px auto;
    width: fit-content;
    text-align: center;
    align-self: start;
    padding-right: 0px;

}

#immigration_programs h2 span {
    display: block;
    color: var(--dgrey-color);

    font-size: 30px;

    font-weight: 700;

    text-transform: uppercase;
}

#programs_header p {
    color: var(--light-color);
    grid-area: info;
    align-self: center;
    margin: 0 3vw 0 3vw;
    text-align: justify;

    font-size: 14px;

    font-weight: 400;

}

#info_programs {

    display: block;


}

#info_programs p {

    margin: 0 3vw 0 3vw;
    font-size: 14px;


}

#info_programs ul {

    display: block;
    padding: 0;
    margin: 0;
    margin-top: 40px;

}

#info_programs ul li {

    list-style: none;

    background-color: var(--dark-color);
    border-radius: 15px;
    border: 1px solid var(--dgrey-color);
    overflow: hidden;
    margin: 10px 3vw 0 3vw;

}

#info_programs ul li a {

    display: block;
    padding: 20px;
    border-radius: 15px;

    color: var(--light-color);
    text-decoration: none;
    background-color: transparent;
    transition: background-color 1s ease-out 100ms;


}

#info_programs ul li a:hover {
    background-color: rgba(255, 255, 255, .3);

}

/* LET US HELP  */

#help, #calculators {
    display: block;

    margin-top: 40px;
    padding-bottom: 30px;
}

#help h2, #calculators h2 {
    display: block;
    grid-area: title;
    color: var(--dark-color);
    text-align: center;

    font-size: 30px;

    font-weight: 400;

    text-transform: uppercase;
    border: none;
    border-bottom: 3px var(--lgrey-color) solid;
    padding-top: 0px;
    margin: 10px auto 10px auto;
    width: fit-content;
    text-align: center;
    align-self: start;
    padding-right: 0px;
}

#help h2 span, #calculators h2 span {
    display: block;
    color: var(--dgrey-color);

    font-size: 30px;

    font-weight: 700;

    text-transform: uppercase;
}

#help p, #calculators p {
    grid-area: info;
    align-self: center;
    margin: 30px 3vw 3vw 3vw;
    color: var(--primary-color);

    font-size: 14px;

    font-weight: 400;

}

#help_cards {
    grid-area: cards;
    display: block;
    margin-top: 40px;
}
#help_cards button{
    transition: background-color .3s ease-in-out;
}

#help_cards>a {
    background-color: var(--lgrey-color);
  

    padding: 0 0 2vh 0;
    transition: transform .3s ease-in-out;
    /* Animation */
    cursor: pointer;
}

#help_cards>a:hover {
    color: var(--dark-color);
    transform: scale(1.1);

}

#help_cards>a:hover button {
    background-color: var(--dark-color);
}

#help_cards h3 {
    color: var(--dark-color);


    font-size: 24px;

    font-weight: 500;

    text-transform: uppercase;

}

#help_cards p {
    color: var(--primary-color);

    font-size: 15px;

    font-weight: 400;

    margin: 10px 0 0 0;
    padding: 0;

}

#help_cards label {
    font-weight: bold;
    margin: 10px 0 10px 0;
    display: block;
    text-align: center;
    pointer-events: none;
    color: var(--primary-color);
}

#help_cards h3,
#help_cards p,
#help_cards label {
    margin-left: 2vh;
    margin-right: 2vh;
        color: var(--primary-color);
}

#help_cards a img {

    width: 100%;
    max-height: 250px;
    object-fit: cover;
    object-position: top;
}

#help_cards .card_body {
    min-height: 100px;
    height: max-content;

}

/* FOOTER */

footer {
    background-color: var(--background-color);
    color: var(--light-color);
    display: block;

    padding: 30px;
}

footer #address {
    grid-area: address;
    padding: 0 50px 0 50px;
    color: var(--lgrey-color);
    text-align: center;
}

#address strong {
    display: inline;
}

footer #footer_logo {
    display: none;
}

.home_link {
    background-color: transparent;
    transition: background-color 1s ease-out 100ms;
    text-align: center;
}

.home_link:hover {
    background-color: rgba(255, 255, 255, .3);
}

footer #socialmedia {
    text-align: center;

}

#socialmedia ul {
    text-align: center;
    padding: 0 50px 0 50px
}

#socialmedia li {
    list-style: none;
    display: inline-block;

}

#socialmedia li a {
    color: var(--light-color);
    font-size: 25px;
    margin: 5px;
    padding: 5px;
}

#socialmedia li a {
    color: rgb(255, 255, 255);
    background-color: transparent;
    transition: background-color 1s ease-out 100ms;
}

#socialmedia li a:hover {
    background-color: rgba(255, 255, 255, .3);
}

footer #copyright {
    font-size: 12px;
    text-align: center;
    padding-top: 20px;
    color: var(--lgrey-color);
    padding-bottom: 0px;
}

.container {

    max-width: 1200px;

    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
}
/* REFERENCES */


.references_table {
    color: var(--dark-color);
    width: 100% !important;

}

.references_table img {
    object-fit: cover;
    width: 100%;
    min-width: 150px;
    height: inherit;
}

.references_table td i {
    font-size: 50px;
    color: var(--dark-color);
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.references_table a{
    text-decoration: none;
}

.button-right-top{
    position: relative;
    z-index: 100;

    padding: 20px;
    margin-left: auto;
    margin-right: auto;
}

.references_table .odd{
    background-color: #f8f8f8;
}
.references_table .odd:hover, .references_table .even:hover{
    background-color: #ecebeb;
}
.references_table .even{
    background-color: var(--light-color);
}
.references_main{
    margin-top:50px;
    margin-left: 2vw;
    margin-right: 2vw;
    width: calc(100% - 4vw);
    overflow-x: auto;
}

/* screen and (max-width: 1199 px) and (min-width: 601){ */
@media (min-width: 768px) {
    .header_home {
        background-position: center center;
    }

    .header_home h1 {
        display: block;
        text-align: center;
        margin-top: calc(25vh);
        color: rgba(0, 0, 0, 0.70);

        font-size: 60px;

        font-weight: 700;

    }

    .header_home h1 span {
        display: block;
        color: rgba(0, 0, 0, 0.60);
        font-size: 34px;
        font-weight: 400;
    }

    .header_aboutus {
        background-image: url(../images/aboutus_header.jpg);
        background-position: center top;
        background-repeat: no-repeat;
        background-size: auto;
        background-attachment: fixed;
        background-color: var(--light-color);

        height: 300px;
        margin: 0;
        padding: 0;
        top: 0;
    }

    .header_services {
        background-image: url(../images/services_header.jpg);
        background-position: center top;
        background-repeat: no-repeat;
        background-size: auto;
        background-attachment: fixed;
        background-color: var(--light-color);

        height: 300px;
        margin: 0;
        padding: 0;
        top: 0;
    }

    .header_contactus {
        background-image: url(../images/vancouver-dark.jpg);
        background-position: center center;
        background-repeat: no-repeat;
        background-size: auto;
        background-attachment: fixed;
        background-color: var(--light-color);

        min-height: 100vh;
        height: fit-content;
        margin: 0;
        padding: 0;
        top: 0;
    }

    .header_news {
        background-image: url(../images/news_header.jpg);
        background-position: center top;
        background-repeat: no-repeat;
        background-size: auto;
        background-attachment: fixed;
        background-color: var(--light-color);

        height: 300px;
        margin: 0;
        padding: 0;
        top: 0;
    }

    .header_services .container,
    .header_news .container,
    .header_aboutus .container {

        display: grid;
        grid-template-columns: 30vw 1fr;
        margin: 0 auto 0 auto !important;
        height: 100%;
    }

    .header_contactus .container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
        color: var(--lgrey-color);

        padding-top: 7vh;
        padding-bottom: 7vh;

    }

    .header_services h1,
    .header_news h1,
    .header_contactus h1,
    .header_aboutus h1 {
        margin: 0;
        padding: 0;

        display: block;
        text-align: left;

        color: rgb(255, 255, 255);

        font-size: 50px;

        font-weight: 700;

        align-self: center;
        justify-self: center;
        padding-bottom: 30px;
        border-bottom: 3px var(--lgrey-color) solid;
        text-transform: uppercase;


    }

    .header_contactus h1 {
        display: inline-block;
        margin-left: 3vh;
        margin-right: 3vh;
    }

    .header_contactus p {
        margin-top: 3vh;
        margin-bottom: 3vh;
        margin-left: 3vh;
        margin-right: 3vh;
    }

    .contact_form {
        padding-left: 30px;
        padding-right: 30px;

    }

    .contact_form ul {
        padding: 0;
        margin: 0;

        list-style: none;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;

    }

    .contact_form label,
    .contact_form .form-item,
    .contact_form select,
    .contact_form textarea {
        display: block;
        width: -webkit-fill-available;
        margin: 0;
        padding: 0;

    }

    .contact_form label {
        margin-bottom: 10px;
        text-transform: uppercase;
    }

    .contact_form .form-item {
        height: 40px;
        background-color: var(--background-color);
        color: var(--lgrey-color);
        border: 1px solid var(--dgrey-color);
        font-size: 16px;
        padding-left: 20px;
        padding-right: 5px;
    }

    .contact_form .form-item-select {
        height: 40px;
        background-color: var(--background-color);
        color: var(--lgrey-color);
        border: 1px solid var(--dgrey-color);
        font-size: 16px;
        padding-left:20px;
        width: -webkit-fill-available;
    }

    .contact_form textarea.form-item {
        padding: 20px;

    }

    .contact_form .area {
        grid-column: span 2;

    }

    .company-info {
        padding-top: 0;
        padding-bottom: 0;
        border: 0;
        padding-left: 5vw;
        padding-right: 5vw;
        display: grid;
        grid-template-areas:
            "logo   details"
            "map    map";
        justify-items: center;
        grid-template-rows: min-content;
    }

    .company-info iframe {
        grid-column: span 2;
        width: -webkit-fill-available;
        max-height: 320px;
        height: 100%;
        margin-top: 3vh;
    }

    .company-info img {
        min-width: 150px;
        max-width: 300px;
        width: calc(100% - 6vw);
        padding-left: 3vw;
        padding-right: 3vw;
        margin: 0;
    }

    .company-info p {
        margin: 0;
    }

    .company-info h3 {
        margin: 0;
        padding: 0;
        font-size: 18px;
        padding-bottom: 10px;
    }

    nav {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 2fr;
        align-items: center;
        position: sticky;
        position: -webkit-sticky;
        top: 0;
        /* required */

    }

    .hamb,
    .hamb-containter {
        display: none;
    }

    .menu_elements {
        position: relative;
        background-color: transparent;
        max-height: none;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 0px;
        margin: 0px;
        height: 100%;
        justify-self: end;

        padding: 0;


    }

    .menu_elements li {
        list-style: none;
        margin: 0;
    }

    .menu_elements li:hover a {
        background-color: rgba(255, 255, 255, .3);

    }

    .menu_elements li:hover .line_top {
        width: 100%;
    }

    .menu_elements li:hover .line_bottom {
        width: 0%;
    }

    .menu_elements a {
        display: block;
        text-align: center;
        padding-top: var(--menu--element--padding);
        padding-bottom: 0px;
        color: var(--light-color);
        text-decoration: none;
        height: calc(var(--menu--height) - (var(--menu--element--padding) + var(--menu--line--height) + var(--menu--line--height)));
        background-color: transparent;
        transition: background-color 1s ease-out 100ms;
        padding-left: 1vw;
        padding-right: 1vw;
    }
    .menu_elements a:hover{
        color: var(--lgrey-color);
    }

    .menu_elements .line_top {
        display: block;
        height: var(--menu--line--height);
        width: 0%;
        transition: width 300ms ease-out 100ms;
        background-color: var(--light-color);
        margin-left: auto;
        margin-right: auto;
    }

    .menu_elements .line_bottom {
        height: 0;
        background-color: transparent;
    }

    /* CARD LARGE SCREEN */
    .header_home .card {
        display: none;
        border-radius: 40px;
        background: rgba(36, 39, 45, 0.57);
        padding: 30px;
        width: 400px;
        position: absolute;
        top: 40%;
        right: 30px;
        text-align: center;
    }

    .header_home .card h2 {
        font-size: 21px;
    }

    .header_home .card p {
        font-size: 17px;
    }

    .btn {
        border-radius: 15px;
        font-size: 15px;
        color: var(--light-color);


        font-weight: 600;

        cursor: pointer;

    }

    .btn-med {
        padding: 10px 20px 10px 20px;
        font-size: 15px;
    }

    .btn-large {
        padding: 20px 30px 20px 30px;
        font-size: 20px;
    }

    .btn-red {
        background: var(--secondary-color);
        color: var(--light-color);

    }

    .btn-red:hover {
        background: darkred;
        color: var(--light-color);

    }

    .mt-med {
        margin-top: 50px;
    }

    .mb-med {
        margin-bottom: 50px;
    }

    /* ABOUT US */
    #about_us {
        display: grid;
        grid-template-areas:
            "logo   info"
            "title  info";
        grid-template-columns: 1fr 2fr;
        margin-top: 60px;
        margin-bottom: 40px;
    }

    #about_us_page,
    #services_page {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
        margin-left: auto;
        margin-right: auto;
        margin-top: 60px;
    }

    #about_us_page h2,
    #services_page h2,
    #news_page h2 {
        grid-area: title;
        color: var(--primary-color);

        font-size: 45px;

        font-weight: 700;

        text-transform: uppercase;
        border: 0;
        border-bottom: 3px var(--lgrey-color) solid;
        padding-bottom: 10px;
        margin: 10px auto 10px auto;
        width: fit-content;
        text-align: center;
    }

    #about_us_page img,
    #services_page img {
        margin-top: 0;
        margin-bottom: 0;
        width: 100%;
        max-height: 300px;
        object-fit: cover;
        object-position: top;
    }

    #about_us_page div,
    #services_page div {
        margin-left: 3vw;
        margin-right: 3vw;
    }

    #about_us_page p,
    #services_page p,
    #news_page p {
        font-size: 18px;
    }

    #about_us_msg p {
        color: var(--light-color);
        text-align: center;

        font-size: 18px;

        font-weight: 400;

        padding: 5vw 10vw 5vw 10vw;
    }


    #about_us h2 {
        grid-area: title;
        color: var(--primary-color);

        font-size: 45px;

        font-weight: 700;

        text-transform: uppercase;
        border-top: 3px var(--lgrey-color) solid;
        padding-top: 30px;
        margin: 10px auto 10px auto;
        width: fit-content;
        text-align: center;
        align-self: start;
    }

    #about_us .logo_safebridge {
        display: block;
        grid-area: logo;
        align-self: end;
        width: 100%;
        max-width: 250px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 30px;
    }

    #about_us .about_us_info {
        grid-area: info;
        columns: 2;
        column-gap: 3vw;
        margin: 0 3vw 0vw 3vw;
    }

    /* news */
    #news_feed .three-columns {
        margin-left: 20px;
        margin-right: 20px;
    }

    #news_feed article {
        background-color: var(--lgrey-color);
        padding: 2vw;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto 40px;
        cursor: pointer;
        transition: background-color 300ms ease-out 100ms;
    }

    #news_feed .time-overlay {
        text-align: right;

    }

    #news_feed .category {
        text-transform: uppercase;
        color: var(--primary-color);
        font-weight: 500;
        font-size: 11px;
        transition: color 300ms ease-out 100ms;

    }

    #news_feed .tags_container {
        margin-top: 2vh;
        margin-bottom: 2vh;
    }

    #news_feed .tagNews {
        display: inline-block;
        padding: 10px;
        margin: 5px;
        border: 1px var(--dgrey-color) solid;
        color: var(--primary-color);
        font-weight: 500;
        font-size: 10px;
        transition: all 300ms ease-out 100ms;
    }

    #news_feed button {
        transition: background-color 300ms ease-out 100ms;
    }

    #news_feed h3 {
        font-size: 16px;
        transition: color 300ms ease-out 100ms;
    }

    #news_feed p {
        font-size: 14px;
        transition: color 300ms ease-out 100ms;
    }

    #news_feed time {
        display: inline-block;
        background-color: var(--light-color);
        color: var(--dgrey-color);
        padding: 0.9375rem 1.875rem;
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
        right: 0;
    }

    #news_feed img {
        width: 100%;
        height: inherit;
        object-fit: cover;
    }

    #news_feed article:hover {
        background-color: var(--dgrey-color);
    }

    #news_feed article:hover h3,
    #news_feed article:hover p {
        color: var(--light-color);
    }

    #news_feed article:hover .category {

        color: var(--lgrey-color);
    }

    #news_feed article:hover .tagNews {

        color: var(--lgrey-color);
        border: 1px var(--lgrey-color) solid;
    }

    #news_feed article:hover button {
        background-color: var(--dark-color);
    }

    /* newsletters */
    #newsletter {
        background: url('../images/vancouver-sunset.jpg');
        background-position: center center;
        background-size: cover;
        background-attachment: fixed;
    }

    #newsletter_layout {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        color: var(--light-color);
        padding: 7vw;
        gap: 7vw;
    }

    #newsletter_layout h2 {
        color: var(--light-color);

        text-shadow: 0px 5px 4px rgba(0, 0, 0, 0.80);

        font-size: 25px;

        font-weight: 600;

    }

    #newsletter_layout a {
        text-decoration: none;
        color: var(--lgrey-color)
    }

    #newsletter_layout a:hover {

        color: var(--light-color)
    }

    #newsletter_layout p {
        font-size: 16px;
        color: var(--lgrey-color);
    }


    #useful_links {
        border: 0;
        padding-left: 7vw;
        margin-top: 0;
        padding-top: 0;
        border-left: 3px solid var(--dgrey-color);
    }

    #newsletter_layout label {
        display: block;
        text-transform: uppercase;
        color: var(--lgrey-color);
        font-weight: 500;
        font-size: 14px;
        margin-top: 1vh;
        margin-bottom: 1vh;
    }

    #subscription input[type="email" i] {
        height: 40px;
        border-radius: 0;
        border-top-left-radius: 10px;
        border-bottom-left-radius: 10px;
        width: 100%;
        font-size: 16px;
        padding-left: 2vw;
        margin-bottom: 2vh;
        border: 1px var(--light-color) solid;
    }

    #subscription input[type="submit" i] {
        height: 40px;
        border-radius: 0;
        border-top-right-radius: 10px;
        border-bottom-right-radius: 10px;
        width: 100%;
        font-size: 16px;
        padding-left: 2vw;
        margin-bottom: 2vh;
    }

    .paging {
        margin-top: 1vh;
        margin-bottom: 1vh;
        margin-right: 20px;
        text-align: right;
    }

    .paging ul {
        list-style: none;
    }

    .paging li {
        display: inline-block;
    }

    .paging a {
        text-decoration: none;
        color: var(--dgrey-color);
        font-weight: normal;
        font-size: 16px;
        padding: 5px;

    }

    .paging a:hover {
        color: var(--secondary-color);
        background-color: var(--lgrey-color);

    }

    .paging .active {
        color: darkred;
        font-weight: bold;
    }

    .form-group {
        display: table;
        box-sizing: border-box;
    }

    .form-group .email {
        display: table-cell;
        width: 100%;
    }

    .form-group .email>input {
        width: 100%;
        margin: 2px;
        padding: 2px;
        box-sizing: border-box;
    }

    /* services */
    #services h2 {

        font-size: 35px;
        padding: 0 0 0 70px;
    }

    .service_details h3 {

        padding: 3vw 0 3vw 5vw;
        margin: 0;
        color: var(--light-color);
        text-shadow: 0px 5px 4px rgba(0, 0, 0, 0.80);

        font-size: 25px;

        font-weight: 600;
    }

    .service_details p {
        color: var(--lgrey-color);

        font-size: 18px;

        font-weight: 400;

        padding-right: calc(100vw - 768px);
        /* padding: 0 50vw 0 70px; */

    }

    .black_overlay {
        display: block;
        background-color: rgba(0, 0, 0, 0.80);
    }

    .black_overlay_grad {

        background: rgba(0, 0, 0, 0.70);
        background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 50%, rgba(0, 0, 0, 0.2) 100%);

    }

    .service_details h3 {
        height: inherit !important;
        max-height: fit-content !important;
        min-height: fit-content !important;
        padding: 7vh 0 3vh 3vw !important;
        text-align: left;
    }

    #about_us .about_us_info img {
        margin: 0 auto 0vw auto;
    }

    #study_card {

        background-position: center -300px;

    }

    #study_card::before {
        display: block;
        content: " ";
        background: rgba(0, 0, 0, 0.70);
        background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 50%, rgba(0, 0, 0, 0.2) 100%);
        height: 100%;
        width: 100%;
    }

    #business_card {

        background-position: center center;

    }

    #pr_card {

        background-position: center top;


    }

    #citizenship_card {

        background-position: center center;


    }

    #reunification_card {

        background-position-y: -210px;

    }

    #asylum_card {

        background-position: center center;


    }

    #services_extra p {
        color: var(--primary-color);
        text-align: center;

        font-size: 18px;

        font-weight: 400;

        padding-bottom: 50px;
        margin-left: 3vw;
        margin-right: 3vw;
    }

    #services_extra_details {
        margin-left: 3vw;
        margin-right: 3vw;
    }

    #services_extra {
        padding-top: 50px;
        margin-bottom: 0px !important;
        padding-bottom: 50px;
    }

    #services_extra_details img {
        display: block;
        border-radius: 50%;
        width: 245px;
        height: 245px;
        object-fit: cover;
        margin-left: auto;
        margin-right: auto;

    }

    #services_extra_details h3 {
        color: var(--dark-color);

        font-size: 16px;

        font-weight: 700;

        text-align: center;
    }

    #services_extra_details li {
        color: var(--dark-color);

        font-size: 14px;

        font-weight: 400;

    }

    /* TOP CITIES */
    #top_cities {
        display: grid;
        grid-template-areas:
            "title      info"
            "collage    collage";
        grid-template-columns: 1fr 2fr;
        margin-top: 40px;
        padding-bottom: 30px;
    }

    #top_cities h2 {
        display: block;
        grid-area: title;
        color: var(--dark-color);
        text-align: center;

        font-size: 45px;

        font-weight: 400;

        text-transform: uppercase;


        border-bottom: none;
        border-right: 3px var(--lgrey-color) solid;
        padding-top: 40px;
        margin: 10px auto 40px auto;
        width: fit-content;
        text-align: center;
        align-self: start;
        padding-right: 60px;
        padding-top: unset;
    }

    #top_cities h2 span {
        display: block;
        color: var(--dgrey-color);

        font-size: 45px;

        font-weight: 700;

        text-transform: uppercase;
    }

    #top_cities p {
        grid-area: info;
        align-self: center;
        margin: 2vw;
        color: var(--primary-color);

        font-size: 18px;

        font-weight: 500;

        text-align: left;
    }

    #cities_collage {
        grid-area: collage;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 20px;
        margin-top: 60px;
    }

    #cities_collage p {

        color: var(--dgrey-color);
        font-size: 25px;

        font-weight: 700;

        text-transform: uppercase;
        margin: 0;
        text-align: center;
    }

    /* IMMIGRATION PROGRAMS */
    #immigration_programs {
        background-image: url(../images/canada6-dark.jpg);

        background-attachment: fixed;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        padding: 60px 0 30px 0;
        color: var(--light-color);
    }

    #programs_header {
        display: grid;
        grid-template-areas:
            "title      info";
        grid-template-columns: 1fr 2fr;
        margin-bottom: 50px;
    }

    #immigration_programs h2 {
        color: var(--light-color);
        grid-area: title;
        text-align: center;

        font-size: 45px;

        font-weight: 400;

        text-transform: uppercase;
        border: 0;
        border-right: 3px var(--lgrey-color) solid;

        padding-top: 30px;
        margin: 10px auto 10px auto;
        width: fit-content;
        text-align: center;
        align-self: start;
        padding-right: 60px;
    }

    #immigration_programs h2 span {
        display: block;
        color: var(--dgrey-color);

        font-size: 45px;

        font-weight: 700;

        text-transform: uppercase;
    }

    #programs_header p {
        color: var(--light-color);
        grid-area: info;
        align-self: center;
        margin: 2vw;
        text-align: justify;

        font-size: 18px;

        font-weight: 500;

    }

    #info_programs {

        display: block;


    }

    #info_programs p {
        font-size: 16px;
    }

    #info_programs ul {

        display: grid;
        grid-template-columns: repeat(2, 1fr);
        padding: 0;
        margin: 0;
        gap: 10px;
        margin-top: 40px;

    }

    #info_programs ul li {

        list-style: none;
        margin: 0;
        background-color: var(--dark-color);
        border-radius: 15px;
        border: 1px solid var(--dgrey-color);
        overflow: hidden;

    }

    #info_programs ul li a {

        display: block;
        padding: 20px;
        border-radius: 15px;

        color: var(--light-color);
        text-decoration: none;
        background-color: transparent;
        transition: background-color 200ms ease-out 100ms;


    }

    #info_programs ul li a:hover {
        background-color: rgba(255, 255, 255, .3);

    }

    /* LET US HELP  */

    #help, #calculators {
        display: grid;
        grid-template-areas:
            "title      info"
            "cards    cards";
        grid-template-columns: 1fr 2fr;
        margin-top: 40px;
        padding-bottom: 30px;
    }

    #help h2, #calculators h2 {
        display: block;
        grid-area: title;
        color: var(--dark-color);
        text-align: center;

        font-size: 45px;

        font-weight: 400;

        text-transform: uppercase;
        border: none;
        border-right: 3px var(--lgrey-color) solid;
        padding-top: 30px;
        margin: 10px auto 10px auto;
        width: fit-content;
        text-align: center;
        align-self: start;
        padding-right: 60px;
    }

    #help h2 span, #calculators h2 span {
        display: block;
        color: var(--dgrey-color);

        font-size: 45px;

        font-weight: 700;

        text-transform: uppercase;
    }

    #help p, #calculators p {
        grid-area: info;
        align-self: center;
        margin: 1vw;
        color: var(--primary-color);

        font-size: 18px;

        font-weight: 500;

    }

    #help_cards {
        grid-area: cards;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 40px;

    }

    #help_cards div img {

        width: 100%;
        max-height: inherit;
        object-fit: cover;
        object-position: top;
    }

    #help_cards p {
        color: var(--primary-color);

        font-size: 15px;

        font-weight: 400;

        margin: 0 2vh 0 2vh;
        padding: 0;

    }

    #help_cards>div:hover {
        transform: scale(1.1);

    }

    #help_cards>div {
        background-color: var(--lgrey-color);
        margin: 0;

        padding: 0 0 2vh 0;
        transition: transform .2s;
        /* Animation */
        cursor: pointer;
    }

    #help_cards .card_body {
        min-height: 180px;
        height: max-content;

    }


    /* FOOTER */

    footer {
        background-color: var(--background-color);
        color: var(--light-color);
        padding: 0;
    }

    footer>div {
        display: grid;
        grid-template-areas:
            "address logo    social"
            "copy   copy    copy";
        grid-template-columns: 1fr 1fr 1fr;
        padding: 30px;
        margin-bottom: 0px !important;
    }

    footer #address {
        grid-area: address;
        padding: 0 50px 0 50px;
        color: var(--lgrey-color);
        align-self: center;

    }

    #address strong {
        display: none;
    }

    footer #footer_logo {
        display: block;
        grid-area: logo;
        margin: 20px;
        width: 100%;
        max-width: 332px;
        max-height: 50px;
        align-self: center;
        margin-left: auto;
        margin-right: auto;

    }

    .home_link {
        background-color: transparent;
        transition: background-color 1s ease-out 100ms;
        text-align: center;
    }

    .home_link:hover {
        background-color: rgba(255, 255, 255, .3);
    }

    footer #socialmedia {
        grid-area: social;
        justify-self: center;
        align-self: center;

    }

    #socialmedia ul {
        text-align: center;
        padding: 0 50px 0 50px
    }

    #socialmedia li {
        list-style: none;
        display: inline-block;

    }

    #socialmedia li a {
        color: var(--light-color);
        font-size: 25px;
        margin: 5px;
        padding: 5px;
    }

    #socialmedia li a {
        color: var(--light-color);
        background-color: transparent;
        transition: background-color 1s ease-out 100ms;
    }

    #socialmedia li a:hover {


        background-color: rgba(255, 255, 255, .3);
    }

    footer #copyright {
        grid-area: copy;
        text-align: center;
        padding-top: 20px;
        color: var(--lgrey-color);
        padding-bottom: 0px;
    }
/* REFERENCES */
.button-right-top{
    position: absolute;
    z-index: 100;
    top:120px;
    right:50px;
    padding: 20px;
    
}
.references_main{
    margin-top:50px;
    margin-left: 5vw;
    margin-right: 5vw;
    width: calc(100% - 10vw);
    overflow-x: auto;
}
}

@media (max-height: 440px) {
    .header_home .card {
        display: none;
    }
}

@media (max-width: 325px) {
    .header_home .card {
        display: none;
    }

    #cities_collage {
        grid-area: collage;
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 60px;
    }

    .header_services h1,
    .header_news h1,
    .header_contactus h1,
    .header_aboutus h1,
    .header_home h1,
    #about_us h2,
    #top_cities h2,
    #immigration_programs h2 {
        font-size: 12vw;
    }

    .header_home h1 span,
    #top_cities h2 span,
    #immigration_programs h2 span {
        font-size: 12vw;
    }

    #services h2,
    #services_details h2 {
        font-size: 10vw;
    }

    #help_cards h3 {
        font-size: 10vw;
    }

    .nav-container {
        height: fit-content;
    }
}

@media screen and (min-width: 768px) and (max-height: 653px) {
    .header_home h1 {

        margin-top: calc(10vh);

    }

    .header_home .card {
        top: 30%;
    }
}

@media screen and (min-width: 768px) and (max-height: 480px) {
    .header_home h1 {

        margin-top: calc(10vh);

    }

    .header_home .card {
        display: none;
    }
}

@media (min-width: 1200px) {
    .header_home h1 {

        font-size: 80px;
        margin-top: calc(15vh);

    }

    .header_home h1 span {

        font-size: 44px;

    }

    .header_home .card {
        right: 5%;
    }

    .service_details p {

        padding-right: 600px;
        /* padding: 0 50vw 0 70px; */

    }
}



.lds-roller,
.lds-roller div,
.lds-roller div:after {
  box-sizing: border-box;
}
.lds-roller {
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
}
.lds-roller div {
  animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  transform-origin: 40px 40px;
}
.lds-roller div:after {
  content: " ";
  display: block;
  position: absolute;
  width: 7.2px;
  height: 7.2px;
  border-radius: 50%;
  background: #6BBE41;
  margin: -3.6px 0 0 -3.6px;
}
.lds-roller div:nth-child(1) {
  animation-delay: -0.036s;
}
.lds-roller div:nth-child(1):after {
  top: 62.62742px;
  left: 62.62742px;
}
.lds-roller div:nth-child(2) {
  animation-delay: -0.072s;
}
.lds-roller div:nth-child(2):after {
  top: 67.71281px;
  left: 56px;
}
.lds-roller div:nth-child(3) {
  animation-delay: -0.108s;
}
.lds-roller div:nth-child(3):after {
  top: 70.90963px;
  left: 48.28221px;
}
.lds-roller div:nth-child(4) {
  animation-delay: -0.144s;
}
.lds-roller div:nth-child(4):after {
  top: 72px;
  left: 40px;
}
.lds-roller div:nth-child(5) {
  animation-delay: -0.18s;
}
.lds-roller div:nth-child(5):after {
  top: 70.90963px;
  left: 31.71779px;
}
.lds-roller div:nth-child(6) {
  animation-delay: -0.216s;
}
.lds-roller div:nth-child(6):after {
  top: 67.71281px;
  left: 24px;
}
.lds-roller div:nth-child(7) {
  animation-delay: -0.252s;
}
.lds-roller div:nth-child(7):after {
  top: 62.62742px;
  left: 17.37258px;
}
.lds-roller div:nth-child(8) {
  animation-delay: -0.288s;
}
.lds-roller div:nth-child(8):after {
  top: 56px;
  left: 12.28719px;
}
@keyframes lds-roller {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.MuiBox-root:has(>img):first-of-type{
    min-height: calc( 100vh - 90px) !important;

}
.formaloo__form-container .MuiBox-root:has(>img):first-of-type{
    min-height: unset!important;

}

.success_page{
    padding: 4rem 2rem;
}