@media (max-width:1600px) {
    .container {
        width: 1240px !important;
    }

    .topHeader ul li a .content {
        padding-right: 0;
        padding-left: 15px;
    }
    
    .topHeader ul li a .content h5 {
        font-size: 18px;
    }
    
    .bottomHeader .menu ul li a {
        font-size: 15.6px;
    }
    
    .bottomHeader {
        padding-bottom: 0;
    }
    
    .primarybtn .border.btn1 {
        width: 200px;
        font-size: 15px;
    }

    .mainBanner {
        height: 650px;
    }
    
    .bottomBanner {
        padding: 18px 0;
    }
    
    .service-card .front-card {
        height: 305px;
    }
    
    .service-card {
        padding: 10px;
    }
    
    .service-card .front-card .image img {
        max-height: 180px;
        min-height: 180px;
    }
    
    .service-titleWrap {
        padding-top: 45px;
    }
    
    .service-card .serviceBack-card .image img {
        height: 180px;
    }
    
    .service-card .back-card {
        min-height: 125px;
        max-height: 125px;
    }
    
    section.services-cards-sec .serviceMainContent .textBox {
        margin-bottom: 15px;
        line-height: 1.4;
    }
    
    .primaryHeading {
        font-size: 80px;
    }

    .FormSection form {
        padding: 30px 30px;
    }
    
    .FormSection form .formBox {
        padding: 30px 20px;
    }
    
    .FormSection {
        height: 800px;
    }

    .blogMain .blogThumbnil img {
        height: 480px;
    }

    .whyReliance .whyRelianceContent {
        transform: translateY(92%);
        width: 750px;
        padding-left: 100px;
    }
    
    .whyRelianceContent .textBox {
        line-height: 1.4;
        font-size: 14px;
    }

    .textBox {
    font-size: 14px;
    margin-bottom: 10px;
}

.RelianceSectionContent ul li a {
    font-size: 14px;
}

.whatMakeRelianceSection .imgmain {
    top: 0;
}

.whatMakeRelianceSection .primaryHeading {
    font-size: 50px;
}

.whatMakeRelianceSection .imgmain img {height: 520px;}

.near {
    height: 805px;
}

.about .row.contentRow {
    transform: translateY(-660px);
}

.about .primaryHeading {
    font-size: 65px;
}

.whyReliance.whyChoosePortugal .whyRelianceContent {
    padding-left: 208px;
}

.whyReliance.whyChoosePortugal .primaryHeading {
    font-size: 55px;
}

.checkListBox {
    padding: 15px 0 0;
}

    
}

@media (max-width:1399px) {
    .container {
        width: 1170px !important;
    }
    
    .topHeader ul li a .content {
        padding-right: 0;
        padding-left: 15px;
    }
    
    .topHeader ul li a .content h5 {
        font-size: 18px;
    }
    
    .bottomHeader .menu ul li a {
        font-size: 15px;
    }
    
    .bottomHeader {
        padding-bottom: 0;
    }
    
    .primarybtn .border.btn1 {
        width: 200px;
        font-size: 15px;
    }

    .service-card .front-card {
        height: 290px;
    }
    
    .service-card {
        padding: 10px;
    }
    
    .service-card .front-card .image img {
        max-height: 165px;
        min-height: 165px;
    }
    
    .service-titleWrap {
        padding-top: 45px;
    }
    
    .service-card .serviceBack-card .image img {
        height: 165px;
    }
    
    .service-card .back-card {
        min-height: 125px;
        max-height: 125px;
    }
    
    section.services-cards-sec .serviceMainContent .textBox {
        margin-bottom: 15px;
        line-height: 1.4;
    }
    
    .primaryHeading {
        font-size: 60px;
    }

    .whyReliance .whyRelianceContent {
    transform: translateY(427px);
    width: 740px;
    }

    .gBoxmain img {
        height: 300px;
    }

    .gBoxmain .primaryHeading {
        font-size: 22px;
    }

    .whatMakeRelianceSection .primaryHeading {
        font-size: 42px;
    }

    .whatMakeRelianceSection .imgmain img {
        height: 490px;
    }

    .whatMakeRelianceSection .imgmain {
        top: -10px;
    }

    .whatMakeRelianceSection {
        height: 650px;
    }

    .groupCompanies .companiesSliderMain .primaryHeading {
        width: 50%;
    }

    .whyReliance.whyChoosePortugal .whyRelianceContent {
        padding-left: 138px;
    }

    .about .row.contentRow {
        transform: translateY(-570px);
    }
    
    .about .primaryHeading {
        font-size: 55px;
    }
    
    .about .textBox {
        line-height: 1.6;
    }
    
    .near {
        height: 650px;
    }
    
    .about .row.contentRow .imgBox img.img-3 {
        height: 370px;
    }
    
    /*service purtogal page*/
    .purtogalImmigration .purtogalContent .primaryHeading {
        font-size: 60px;
    }
    
    .purtogalImmigration {
        padding: 50px 0 50px;
    }

    .visabox .textBox {
        font-size: 14px;
    }
    
    .boxCheck .li .textBox {
        font-size: 14px;
    }
    
}

@media (max-width:1169px) {
.container {
    width: 940px !important;
    }
    
    .gridBox .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    }
    
    .gBoxmain {
        margin-bottom: 15px;
    }
    
    .gridBox {
        background: linear-gradient(360deg, #0b2a39 40%, #fff 40%);
    }
    
    .textBox {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .RelianceSectionContent ul {
        gap: 10px;
    }
    
    .RelianceSectionContent ul li {line-height: 1.2;}
    
    .whatMakeRelianceSection .imgmain {
        top: 10px;
    }
    
    .whatMakeRelianceSection .primaryHeading {
        font-size: 37px;
    }
    
    .primarybtn .border.btn2 {
        width: 180px;
        font-size: 14px;
        padding: 8px 4px;
    }
    
    .primarybtn .border.btn1 {
        width: 180px;
        font-size: 14px;
        padding: 8px 4px;
    }
    
    .indexSec2-wrap .row .col-12 {
        transform: translateY(0px);
    }
    
    .whyReliance {
        height: 720px;
    }
    
    .whyReliance .whyRelianceContent {
        transform: translateY(314px);
        width: 500px;
        padding: 42px 25px;
        padding-left: 40px;
    }
    
    .whyReliance .whyRelianceContent a.border.btn1 {
        margin: 0;
    }
    
    .testisec {padding-top: 50px;background: linear-gradient(180deg, #012535 80%, #d12f0f 20%);}
    
    .testiContent img {
        padding: 30px;
    }
    
    .sliderMain.testislider {
        width: 500px;
    }
    
    .sliderMain.testislider .itemMain .textBox {
        line-height: 1.4;
        margin-bottom: 5px;
    }
    
    .sliderMain.testislider .itemMain {
        padding: 16px 30px 15px 60px;
    }
    
    .sliderMain.testislider .itemMain .testiDesignation {
        margin-bottom: 5px;
    }
    
    .groupCompanies {
        padding-top: 50px;
    }
    
    .groupCompanies .companiesSliderMain {
        margin-left: 120px;
    }
    
    .groupCompanies .companiesSliderMain .primaryHeading {
        font-size: 45px;
    }
    
    .FormSection {
        height: 700px;
    }
    
    .FormSection .headingBox .primaryHeading {
        font-size: 45px;
    }
    
    .FormSection form {
        padding: 20px 20px;
    }
    
    .FormSection form .formBox {
        padding: 20px 15px;
    }
    
    .formBox .leftFormSec input {
        padding: 5px;
        padding-left: 10px;
    }
    
    .formBox .leftFormSec input::placeholder {
        font-size: 14px;
    }
    
    .formBox select {
        padding: 9px;
        padding-left: 10px;
        font-size: 14px;
    }
    
    .formBox select::placeholder {
        font-size: 14px;
    }
    
    .formBox .rightFormSec textarea {
        padding: 5px;
        padding-left: 10px;
        height: 220px;
    }
    
    .formBox .rightFormSec textarea::placeholder {
        font-size: 14px;
    }
    
    .formBox .leftFormSec {
        padding: 0 10px 0 0;
    }
    
    .formBox .rightFormSec {
        padding: 0 0 0 10px;
    }
    
    .formBox .rightFormSec .primarybtn {
        padding-top: 10px;
    }
    
    .FormSection form .formBox input.border.btn1 {
        margin-right: 0;
    }
    
    .blogs .row {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .subheading {
        font-size: 16px;
    }
    
    .primaryHeading {
        font-size: 45px;
    }
    
    .mainBanner a.border.btn2 {
        margin-left: 0;
    }
    
    .bottomBanner .primaryHeading {
        font-size: 30px;
    }
    
    .gBoxmain .primaryHeading {
        font-size: 20px;
    }
    
    .gBoxmain .contentBox .gBtn {
        font-size: 14px;
    }
    
    .gBoxmain .contentBox .gIconbox img {
        width: 80px;
        height: 80px;
    }
    
    .RelianceSectionContent a.border.btn2 {
        margin-left: 0;
    }
    
    section.services-cards-sec {padding-bottom: 50px;}
    
    footer#footer p {
        font-size: 14px;
    }
    
    footer#footer .menu_3.menu ul li a {
        font-size: 14px;
    }
    
    footer#footer .footer_detail .footer_content p a {
        font-size: 14px;
    }
    
    footer#footer .wigdet_4 p {
        width: 100%;
    }
    
    .footer_bottom.text-center ul li {
        padding: 10px;
        padding-top: 0;
        padding-bottom: 0;
    }
    
    .footer_bottom.text-center ul li a {
        font-size: 14px;
    }
    
    footer#footer .copy-right {
        margin-bottom: 0;
    }
    
    .mapSec .mapMain iframe {
        height: 350px;
    }
    
    .topHeader ul {
        gap: 20px;
    }
    
    .bottomHeader .menu ul {
        gap: 15px;
    }
    
    .bottomHeader .menu ul li a {
        font-size: 14px;
    }
    
    .bottomHeader {
        padding-top: 0px;
    }
    
    .topHeader ul li a .content {
        padding-left: 10px;
    }
    
    .topHeader ul li a .content h5 {
        font-size: 16px;
    }
    
    .topHeader ul li i {
        font-size: 20px;
        width: 38px;
        height: 38px;
    }
    
    .about .primaryHeading {
        font-size: 40px;
    }
    
    .about .row.contentRow {
        width: 100%;
    }
    
    .servicesSec .aboutContent {
        width: 60%;
    }
    
    .servicesSec .aboutContent .primaryHeading {
        font-size: 45px;
    }
    
    .whyReliance.whyChoosePortugal .whyRelianceContent {
        padding: 30px 60px 30px 80px;
        transform: translateY(60px);
        width: 600px;
    }
    
    .checkListBox .checkList .textBox {
        font-size: 14px;
    }
    
    .whyReliance.whyChoosePortugal .primaryHeading {
        font-size: 45px;
    }

    .whatIsPortugal .whatIsPortugalContent .primaryHeading {
        font-size: 45px;
        margin-bottom: 15px;
    }

    .purtogalbatch .row {
    display: flex;
    align-items: center;
}

    .purtogalImmigration .row {
    flex-wrap: wrap;
}

.visabox {height: 260px;width: 80%;margin: 0 auto;margin-bottom: 20px;}
    
}

@media (max-width:991px) {
/* header{
    display: none;
} */

.container {
    width: 740px !important;
}

.bottomHeader .menu ul {
    display: none;
}

.logo {
    /* padding-top: 40px; */
}

.topHeader ul {
    gap: 10px;
    margin: 0;
}

.topHeader ul li i {
    font-size: 16px;
    width: 36px;
    height: 36px;
}

.topHeader ul li a .content {
    padding-left: 5px;
}

.topHeader ul li a .content h5 {
    font-size: 14px;
}

.bottomHeader {
    display: none;
}

.topHeader ul li {
    width: 31%;
}

.gBoxmain img {
    height: 250px;
}

.whatMakeRelianceSection {
    height: auto;
}

.whatMakeRelianceSection .imgmain {
    position: relative;
    left: 0;
    margin-bottom: 30px;
}

.whatMakeRelianceSection .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.RelianceSectionContent {
    /* text-align: center; */
}

.RelianceSectionContent .primarybtn {
    margin: 0 auto;
}

.RelianceSectionContent .primarybtn a.border.btn2 {
    margin: 0 auto;
}

.service-card .back-card .service-title {
    font-size: 18px;
}

.service-card .back-card .paragraph p {
    font-size: 12px;
}

.whyReliance {
    height: 600px;
}

.whyReliance .whyRelianceContent {
    transform: translateY(194px);
    padding: 22px 20px;
    padding-left: 40px;
    width: 440px;
}

.sliderMain.testislider {
    width: 400px;
    margin-right: 0px;
}

.sliderMain.testislider .itemMain {
    padding: 16px 5px 15px 50px;
    border-radius: 20px;
    margin: 30px 40px 20px 50px;
}

.sliderMain.testislider .itemMain:hover {
    transform: translateX(-20px);
}

.sliderMain.testislider .itemMain .textBox {
    font-size: 13px;
}

.testiContent img {
    padding: 20px;
}

.testisec {
    background: linear-gradient(180deg, #012535 70%, #d12f0f 30%);
}

.brandLogos .logoRow li {
    width: 25%;
}

.brandLogos .logoRow {
    flex-wrap: wrap;
}

.brandLogos .logoRow li img {
    height: 100px;
    object-fit: contain;
}

.groupCompanies .companiesSliderMain {
    margin-left: 0;
}

.groupCompanies .companiesSliderMain .primaryHeading {
    margin: 0 auto;
    text-align: center;
    margin-bottom: 20px;
}

.FormSection .headingBox {
    text-align: center;
    margin-bottom: 20px;
}

.blogMain .blogThumbnil img {
    height: 400px;
}

.blogMain .blogThumbnil .blogContent p {
    font-size: 14px;
    line-height: 1.4;
}

.blogMainContent {
    width: 70%;
    margin-bottom: 20px;
}

.blogMain .blogThumbnil .blogContent {
    padding: 10px 15px;
}

.mapSec .mapMain iframe {
    height: 250px;
}

.wigdet_2.menu_3.menu {
    margin-bottom: 40px;
}

.aboutfooter.wigdet_1 {
    margin-bottom: 20px;
}

.footer_bottom.text-center ul {display: flex;flex-direction: column;align-items: flex-start;}

.footer_bottom.text-center ul li {
    padding: 0;
    line-height: 1.2;
}

.footer_bottom.text-center .row {
    display: flex;
    align-items: center;
}

.footer_bottom.text-center .row {
    padding: 10px 0;
}

.formBox .leftFormSec input {
    font-size: 14px;
}

.formBox .leftFormSec .selectBox select option {font-size: 14px;}

.formBox .rightFormSec select option {
    font-size: 14px;
}

.formBox .rightFormSec textarea {
    font-size: 14px;
}

.innerBanner {
    height: 250px;
}

.innerBanner nav ul li i {
    font-size: 26px;
}

.innerBanner nav ul li a {
    font-size: 15px;
}

.innerBanner nav ul li {
    font-size: 15px;
}

.near {height: 700px;}

.about .row.contentRow {
    transform: translateY(-660px);
}

.purtogalImmigration .row {
    display: flex;
    flex-direction: column-reverse;
}

.purtogalImmigration .visaRow {
    display: block;
}

.purtogalContent {
    text-align: center;
}

.purtogalImmigration .purtogalContent .primaryHeading {
    font-size: 45px;
}

    .purtogalImgBox:before {
    height: 70%;
    top: 60px;
}

    .visabox {
    height: 280px;
    width: 100%;
    margin: 0;
    margin-bottom: 20px;
}

    .purtogalbatch .row {
    flex-direction: column;
}

.boxCheck {
    flex-wrap: nowrap;
    padding-top: 30px;
}

.purtogalbatch {
    padding: 50px 0;
}

.boxCheck .li {
    width: 33.333%;
}

.settle .row {
    flex-direction: column;
}

.settleContent {
    text-align: center;
}

.whyReliance.whyChoosePortugal .whyRelianceContent {
    padding: 30px 30px 30px 50px;
}

.checkListBox .checkList .textBox {
    margin: 0;
}

.checkListBox .checkList {
    margin-bottom: 0;
    gap: 5;
}

.whyReliance.whyChoosePortugal .primaryHeading {
    font-size: 40px;
}
    
}

@media (max-width:767px) {
    .container {
        width: 100% !important;
    }

    .bottomHeader {
    display: block;
    }

    .topHeader {
        display: none;
    }

    .bottomHeader .primarybtn {
        width: 100%;
    }

    .primarybtn .border.btn1 {
        margin-right: 35px;
        font-size: 12px;
    }

    header {
        padding: 30px 0px;
    }

    .testiContent img {
        display: none;
    }

    .testiContent {
        text-align: center;
    }

    .testisec .row {
        flex-direction: column;
    }

    .sliderMain.testislider {
        margin: 0 auto;
    }

    .sliderMain.testislider {
        width: 100%;
    }

    .testisec {
        background: linear-gradient(180deg, #012535 65%, #d12f0f 35%);
    }

    header .logo img {
        width: 80%;
        margin: 0 auto;
    }

    .logo {
        text-align: center;
    }

    .bannerContent {
        text-align: center;
    }

    .bannerContent .subheading {
        font-size: 16px;
    }

    .mainBanner {
        height: 410px;
    }

    .bannerContent .primarybtn {
        margin: 0 auto;
    }

    .bannerContent .primarybtn .border.btn2 {
        margin: 0 auto;
    }

    .bottomBanner .primaryHeading {
        font-size: 26px;
    }

    .bottomBanner {
        padding: 15px 0;
    }

    .gBoxmain {
        width: 440px;
    }

    .gBoxmain img {
        height: 300px;
    }

    .whatMakeRelianceSection .imgmain img {
        width: 440px;
        height: 300px;
        object-fit: cover;
    }

    .whatMakeRelianceSection .primaryHeading {
        font-size: 35px;
    }

    .textBox {
        font-size: 12px !important;
    }

    .primaryHeading {
        font-size: 35px;
    }

    section.services-cards-sec .serviceMainContent {
        width: 100%;
    }

    .whyReliance .whyRelianceContent {
        transform: translate(22px, 52px);
        background: #ffffffb5;
        text-align: center;
    }

    .whyReliance {
        height: 500px;
    }

    .whyReliance .whyRelianceContent .primarybtn {
        margin: 0 auto;
    }

    .whyReliance .whyRelianceContent .primarybtn .border.btn1 {
        margin: 0 auto;
    }

    .groupCompanies .companiesSliderMain .primaryHeading {
        width: 100%;
        font-size: 35px;
    }

    .RelianceSectionContent ul {
        gap: 10px;
    }

    .RelianceSectionContent ul li {
        text-align: left;
    }

    .RelianceSectionContent ul li a {
        font-size: 12px;
    }

    .FormSection .headingBox .primaryHeading {
        font-size: 35px;
    }

    .FormSection form .formBox {
        display: block;
    }

    .formBox .leftFormSec {
        width: 100%;
        padding: 0;
    }

    .formBox .rightFormSec {
        width: 100%;
        padding: 0;
    }

    .FormSection {
        height: auto;
    }

    .formBox .leftFormSec .selectBox input {
        width: 100%;
    }

    .formBox .rightFormSec textarea {
        height: 100px;
    }

    .formBox .leftFormSec .fullInputBox {
        display: flex;
        gap: 8px;
    }

    .formBox .leftFormSec .fullInputBox input {
        width: 49%;
    }

    .formBox .leftFormSec .selectBox select {
        width: 100%;
    }

    .blogMainContent {
        width: 80%;
    }

    .blogMain .blogThumbnil .blogContent .primaryHeading {
        font-size: 22px;
    }

    footer#footer .titleFooter {
        font-size: 22px;
    }

    footer#footer .wigdet_4 h5 {
        font-size: 18px;
        width: 100%;
    }

    footer#footer .wigdet_4 .form-new input::placeholder {
        font-size: 14px;
    }

    footer#footer .wigdet_4 .form-new button i {
        font-size: 20px;
    }

    footer#footer .wigdet_4 .form-new input {
        padding: 8px;
    }

    .footer_bottom.text-center ul li a {
        font-size: 12px;
    }

    footer#footer .copy-right {
        font-size: 12px;
    }

    footer .footerRow {
        padding-bottom: 20px;
    }

    footer#footer {
        padding-top: 31px;
    }

    .footer_bottom.text-center .container {
        padding: 0;
    }

    .indexSec2-wrap {
        width: 440px;
        margin: 0 auto;
    }

    .innerBanner {
        height: 210px;
    }
    
    .innerBanner nav ul li i {
        font-size: 26px;
    }
    
    .innerBanner nav ul li a {
        font-size: 14px;
    }
    
    .innerBanner nav ul li {
        font-size: 14px;
    }

    .near {
    height: 900px;
}

.about .row.contentRow {
    display: flex;
    flex-direction: column;
    transform: translateY(-870px);
}

.row.imgBox .img-1 {
    height: 200px !important;
    object-fit: contain;
}

.row.imgBox .img-2 {
    height: 200px !important;
    object-fit: contain;
}

.about .row.contentRow .row.imgBox {
    width: 90%;
    margin: 0 auto;
    margin-top: 20px;
}

.about .row.contentRow .imgBox img.img-3 {
    height: 400px;
}

.about .subheading {
    text-align: center;
}

.about .primaryHeading {text-align: center;}

.about .textBox {
    text-align: center;
}

.servicesSec .aboutContent {
    width: 70%;
}

.servicesSec .aboutContent .primaryHeading {
    font-size: 38px;
}

.serviceBox .gBoxmain {
    margin: 0 auto;
    margin-bottom: 10px;
}

.visabox .primaryHeading {
    font-size: 32px;
}

.visabox .gBtn {
    font-size: 14px;
}

.visabox .textBox {
    line-height: 1.4;
}

.visabox {
    height: 250px;
    width: 70%;
    margin: 0 auto;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

    .whyReliance.whyChoosePortugal {
    height: 610px;
}

.whyReliance.whyChoosePortugal .whyRelianceContent {
    width: 100%;
}

.boxCheck {
    flex-wrap: wrap;
    justify-content: center;
}

.boxCheck .li {
    width: 45%;
}
    
}


@media (max-width:479px) {
    .container {
        width: 100% !important;
    }

    .primarybtn .border.btn1 {
        width: 160px;
        margin-right: 30px;
        font-size: 12px;
    }

    .gBoxmain {
        width: 100%;
    }

    .whatMakeRelianceSection .imgmain img {
        width: 100%;
        height: 250px;
    }

    .indexSec2-wrap {
        width: 100%;
    }

    .whyReliance .whyRelianceContent {
        width: 100%;
        transform: translate(0);
        top: 60px;
        padding: 15px;
        background: #ffffffad;
    }

    .gBoxmain .contentBox .gIconbox {
    display: none;
    }

    .gBoxmain img {
        height: 250px;
    }

    .sliderMain.testislider .itemMain img {
        width: 60px;
        height: 60px;
        left: -30px;
    }

    .owlBox {
        left: -30px;
        width: 40px;
        height: 40px;
        border-radius: 0 20px 10px 20px;
    }

    .shape {
        display: none;
    }

    .sliderMain.testislider .itemMain:hover .owlBox {
        border-radius: 50px 150px 0 150px;
    }

    .sliderMain.testislider .itemMain {
        margin: 30px 5px 20px 50px;
        padding: 16px 5px 15px 30px;
    }

    .brandLogos .logoRow li {
        width: 50%;
    }

    .testisec {
        background: linear-gradient(180deg, #012535 73%, #d12f0f 27%);
    }

    .RelianceSectionContent ul li {
        width: 100%;
    }

    .primarybtn {
        margin: 0 auto;
    }
    
    .FormSection form .formBox input.border.btn1 {
        margin: 0 auto;
    }
    
    .FormSection form {
        padding: 10px;
    }
    
    .formBox .leftFormSec .halfInputBox input {
        width: 100%;
        margin-bottom: 5px;
    }
    
    .formBox .leftFormSec .halfInputBox {
        flex-direction: column;
    }
    
    .formBox .leftFormSec .fullInputBox {flex-direction: column;}
    
    .formBox .leftFormSec .fullInputBox input {
        width: 100%;
        margin-bottom: 6px;
    }
    
    .formBox .leftFormSec .selectBox select {
        margin-bottom: 5px;
    }
    
    .formBox .leftFormSec .selectBox input {
        margin-bottom: 5px;
    }
    
    .formBox .rightFormSec select {
        margin-bottom: 6px;
    }
    
    .primarybtn .border.btn1 {
        padding: 5px 4px;
        width: 150px;
    }
    
    .primarybtn .border.btn2 {
        padding: 5px 4px !important;
        width: 150px !important;
        font-size: 12px !important;
    }

    .formBox .leftFormSec .fullInputBox {
    gap: 0;
    }

    .footer_bottom.text-center ul li {
        text-align: left;
    }

    .about .row.contentRow .row.imgBox {
    display: none;
    }

    .near {
        height: 550px;
    }

    .near {
        height: 598px;
    }
    
    .about .row.contentRow {
        transform: translateY(-500px);
    }
    
     .footer#footer .row.footerRow {
        display: flex;
        flex-direction: column;
    }
    
    .footer#footer .col-xs-6 {
        width: 100%;
    }
    
    .groupCompanies .groupImage img {
        object-fit: contain;
    }
    
    .visabox {
        width: 290px;
        margin: 0 auto;
        margin-bottom: 15px;
    }

    .purtogalImmigration .visaRow {
        display: flex;
        flex-direction: column;
    }

    .whyReliance.whyChoosePortugal .whyRelianceContent {
    transform: translateY(0);
    padding: 20px;
}

.whyReliance.whyChoosePortugal .primaryHeading {
    font-size: 30px;
}

.subheading {line-height: 1.4;}

.checkListBox .checkList .textBox {
    padding-left: 0;
    text-align: initial;
}

footer#footer p {
    font-size: 12px;
}

.boxCheck .li {
    width: 100%;
}
        
}

@media (max-width:400px) {
    .near {
        height: 598px;
    }
    
    .about .row.contentRow {
        transform: translateY(-570px);
    }

}