

/* XXL Devices (very large screens, 1400px and up) */
@media only screen and (min-width: 1400px) {
  /* CSS for very large screens */
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media only screen and (min-width: 1200px) and (max-width: 1399.98px) {
  /* CSS for large desktops */
}

/* Large Devices (desktops, 992px and up) */
@media only screen and (min-width: 992px) and (max-width: 1199.98px) {
  /* CSS for small laptops / desktops */
}

/* Medium Devices (tablets, 768px and up) */
@media only screen and (min-width: 768px) and (max-width: 991.98px) {
  header .site_logo {
    width: 100%;
    padding: 20px 0px;
}
header .site_logo a img {
    width: 50%;
}
  header .navbar {
    display: flex;
    justify-content: end;
}
.inner_page {
padding: 190px 0 0;
   
}
.our_destiny .deti_heading {
    margin-bottom: 18px;
}
.our_destiny .deti_heading h2 {
    text-align: left;
}

header .navbar {
    position: relative;

}
header .navbar .navbar-collapse {
        position: absolute;
        background: #fff;
        top: 62px;
        right: 0;
        padding: 0 10px;
    }
.our_destiny .image-gallery .small.top-left {
   
    right: 3px;
    height: inherit;
    width: 32%;
    top: -75px;
    z-index: -2;
}
.our_destiny .image-gallery .small.top-right {
    position: absolute;
    height: inherit;
    width: 17%;
    top: -85px;
    left: 201px;
}
.our_destiny .image-gallery .small.bottom-left {
    position: absolute;
    bottom: -33%;
    left: 8px;
    z-index: -3;
    width: 28%;
}
.our_destiny .top_content p {

    margin-bottom: 41px;
}
.inner_page .inner_bg {
    display: flex;
    gap: 20px;
       justify-content: center;
}
.footer .footer_logo {
           width: 40%;
}
.footer .social_link
 {
           margin: 23px auto;
        padding: 0px;
        position: absolute;
        right: 0;
        top: 0;
}
.footer .social_link ul {

    justify-content: left;
}
.footer .page_links {
         position: relative;
        margin-bottom: 30px;
}
.footer .page_links ul li a i {
    font-size: 28px;
    padding: 10px 12px;
    width: 50px;
    height: 50px;
    border: 1px solid #ccc;
    border-radius: 30px;
}
}

/* Small Devices (phones landscape, 576px and up) */
@media only screen and (min-width: 576px) and (max-width: 767.98px) {
  /* CSS for large mobile / small tablets */
}

/* Extra Small Devices (phones, less than 576px) */
@media only screen and (max-width: 575.98px) {
 header .navbar {
    justify-content: end;
}

.navbar-toggler:hover {
    text-decoration: none;
    background: #f00;
}

header .navbar .navbar-collapse {
    position: absolute;
    background: #fff;
    top: 62px;
    right: 0;
    padding: 0 10px;
}

header .navbar .navbar-collapse ul.navbar-nav li.nav-item {
    margin-right: 0;
}

header .navbar .navbar-collapse ul.navbar-nav {
    text-align: center;
}



.home_slider {
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.home_slider .slider_overlay {
    margin: 0 auto;
    position: absolute;
    width: 100%;
    bottom: 0;
}

.home_slider .slider_overlay .home_slider_text {
    width: 100%;
    padding: 0 0;
    margin: 0;
}

.home_slider .slider_overlay .home_slider_text h1 {
    font-size: 3rem;
    margin-bottom: 190px;
}

.home_slider .slider_overlay .home_slider_text h1:after{
    background-size: auto;
    width: 280px;
    height: 200px;
    background-position-x: -40%;
    bottom: -191px;
    right: 20px;
}

.home_slider .slider_overlay .home_slider_text2 {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    flex-direction: column;
}

.home_slider .slider_overlay .home_slider_text2 .slider_text2{
    width: 100%;
}

.home_slider .slider_overlay .home_slider_text2 .slider_text2 p {
    font-size: 20px;
}

.home_slider .slider_overlay .home_slider_text2 .slider_patch {
    padding: 20px;
    width: 100%;
}

.home_slider .slider_overlay .home_slider_text2 .slider_patch p {
    margin: 0;
    padding: 0;
    font-size: 28px;
    line-height: 38px;
}


.home_slider .slider_overlay .home_slider_text2 .slider_patch h3 {
    font-size: 53px;
}

.experience_slider .experience_slider_title h2 {
    font-size: 2rem;
   width: inherit;
}

.visit-russia {
    padding: 50px 0;
    width: 100%; margin: 0 auto;

}

.visit-heading {
    text-align: center;
    margin-bottom: 30px;
    margin-left: 0;
}

.visit-heading p {
    color: #555;
    letter-spacing: 5px;
    font-size: 17.67px;
    font-weight: 400;
    margin: 0;
    margin-bottom: 5px;
}

.visit-heading h2 {
    font-size: 37px;
    color: #FF0000;
    margin-bottom: 10px;
    letter-spacing: 9px;
    margin-left: 0;
}

.visit-heading span {
    color: #555;
    font-size: 16.67px;
    font-weight: 400;
    margin: 0;
    margin-bottom: 5px;
    margin-left: 0;
}

.gallery {
    display: flow;
}

.product_sec .product_inn .product_detail {
    padding: 14px;
    height: 330px;
    margin-bottom: 30px;
}

.product_sec .product_inn .product_detail .product_icon .icon_img {
    width: 20%;
    margin: 0 auto;
}

.product_sec .product_inn .product_detail .product_icon h2 {
    font-size: 25px;
    width: max-content;
    margin: 2px auto;
}

.product_sec .product_inn {
    flex-direction: column;
}

.inner_page .inner_page_content h2{
   width: 35%;
}
.inner_page .inner_page_content p{
    font-size: 16px;
    font-family: inherit; 
    text-align: justify;
}
.travel-agency .text-content h2{
    font-size: 27px;
}

.travel-agency .text-content p {
    font-size: 16px;
    letter-spacing: 2px;
}

.travel-agency .image-gallery .small {
    position: inherit;
    width: 100%;
    margin-top: 30px;
}
.travel-agency .text-content {
    gap: 0;
    align-items: center;
    justify-content: center;
}
.customer .customer_title h2 {
    font-size: 30px;
}
.travel-agency .image-gallery {
    margin-top: 0;
}
.travel-agency .image-gallery .main-img {
    box-shadow: none;
}
.travel-agency .image-gallery .small.top-left, .travel-agency .image-gallery .small.top-right, .travel-agency .image-gallery .small.bottom-left, .travel-agency .image-gallery .small.bottom-right  {
    position: inherit;
    width: 100%;  
  }

.inner_page {
    padding: 64px 0;
    background-size: cover;
}

.our_destiny .top_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}
.our_destiny .deti_heading h2 {
    text-align: center;
    font-size: 30px;
}

.our_destiny .image-gallery-2 {
    position: relative;
    /* flex: 1; */
    display: block;
    justify-content: center;
    align-items: center;
    margin-top: 36px;
}

.our_destiny .image-gallery-2 .main-img .box-right {
    display: none;
}
.our_destiny .top_content.saint_content {
    text-align: center;
    display: block;
}

.our_destiny .image-gallery-2 {
    position: relative;
    /* flex: 1; */
    display: block;
    justify-content: center;
    align-items: center;
    margin-top: 36px;
}
.our_destiny .image-gallery-2 .main-img .box-left {
    display: none;
}


.contact-cards {
    gap: 20px;
    flex-direction: column;
    margin-top: 20px;
}
.contact-card {
  width: 100%;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.contact-card i {
    margin-bottom: 0px;
    margin-right: 20px;
}
.footer .footer_logo {
    width: 29%;
    margin-bottom: 20px;
}
.footer .page_links {
    margin: 20px auto;
}
.inner_page .inner_bg {
    margin-top: 80px;
}
.inner_page {
 
    position: relative;
}
.inner_page .inner_page_content h2 {
    font-size: 25px;
   margin: 8px auto;
    position: absolute;
    top: 80px;
}
.inner_page .inner_bg .olive_shap:nth-child(1) {
    margin-bottom: 86px;
}
.our_destiny .top_content p {
 
    text-align: justify;
}
.our_destiny .image-gallery .small.top-right {
     display: none;
}
.our_destiny .image-gallery .small.top-left {
  display: none;
}
.our_destiny .image-gallery .small.bottom-left {
 display: none;
}
.our_destiny .image-gallery .small.bottom-right {
display: none;
}
.our_destiny {
    padding: 25px 0px 0px 0px;
}
.our_destiny .image-gallery {

    margin-top: 0px;
}
.footer .social_link ul {
 
    justify-content: left;
}

}
