/* Responsive CSS Document */

/* 
    Created on   : 15/09/2023.
    Theme Name   : Babun - Business & Finance HTML5 Template
    Version      : 1.0.
    Developed by : (me@heloshape.com) / (www.me.heloshape.com)
   
*/

/* 
html {
  zoom: 80%; 
  -moz-transform: scale(0.8);
  -moz-transform-origin: 0 0;

} /* Adjust this percentage until it looks right to you */


@media (min-width: 992px) {
  html {
      zoom: 0.85;
  }
}


 
@media (min-width: 992px) {
  .container {padding-right: 0;padding-left: 0;}
}
/*(min-width: 992px)*/

@media (min-width: 1400px) {
  .hero-banner-three .container {max-width: 1430px;}

}

/* Privacy policy: preserve the supplied legal wording while making it readable. */
.privacy-policy-copy {
  max-width: 980px;
  font-size: 18px;
  line-height: 1.8;
  white-space: pre-line;
}

.privacy-policy-copy h3 {
  color: #19352d;
  font-size: 28px;
  line-height: 1.25;
  margin: 70px 0 22px;
  scroll-margin-top: 120px;
  white-space: normal;
}

.privacy-policy-copy h3:first-of-type {
  margin-top: 45px;
}

.privacy-policy-copy h4 {
  color: #19352d;
  font-size: 22px;
  line-height: 1.35;
  margin: 45px 0 14px;
  white-space: normal;
}

.privacy-policy-copy p,
.privacy-policy-copy ul,
.privacy-policy-copy ol {
  white-space: normal;
}

.privacy-policy-copy p {
  font-size: inherit;
  line-height: inherit;
  margin-bottom: 22px;
}

.privacy-policy-copy ul,
.privacy-policy-copy ol {
  margin: 0 0 28px;
  padding-left: 1.35rem;
}

.privacy-policy-copy li {
  margin-bottom: 8px;
}

.privacy-policy-copy a {
  color: #196164;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-policy-copy .privacy-toc {
  columns: 2;
  column-gap: 50px;
  border-top: 1px solid rgba(25, 53, 45, 0.16);
  border-bottom: 1px solid rgba(25, 53, 45, 0.16);
  padding: 25px 0 20px 1.35rem;
}

.privacy-policy-copy .privacy-toc li {
  break-inside: avoid;
  margin-bottom: 10px;
}

.privacy-policy-copy .privacy-table-wrap {
  width: 100%;
  margin: 28px 0 38px;
  overflow-x: auto;
  white-space: normal;
}

.privacy-policy-copy .privacy-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.55;
}

.privacy-policy-copy .privacy-table th,
.privacy-policy-copy .privacy-table td {
  padding: 18px;
  vertical-align: middle;
  border: 1px solid rgba(25, 53, 45, 0.28);
  text-align: left;
}

.privacy-policy-copy .privacy-table th {
  color: #19352d;
  font-weight: 700;
  background: #edf3ef;
}

.privacy-policy-copy .privacy-table th:first-child,
.privacy-policy-copy .privacy-table td:first-child {
  width: 33%;
}

.privacy-policy-copy .privacy-table th:nth-child(2),
.privacy-policy-copy .privacy-table td:nth-child(2) {
  width: 54%;
}

.privacy-policy-copy .privacy-table th:last-child,
.privacy-policy-copy .privacy-table td:last-child {
  width: 13%;
  text-align: center;
}

@media (max-width: 767px) {
  .privacy-policy-copy {
    font-size: 16px;
    line-height: 1.7;
  }

  .privacy-policy-copy h3 {
    font-size: 23px;
    margin-top: 50px;
  }

  .privacy-policy-copy h4 {
    font-size: 20px;
  }

  .privacy-policy-copy .privacy-table th,
  .privacy-policy-copy .privacy-table td {
    padding: 14px;
  }

  .privacy-policy-copy .privacy-toc {
    columns: 1;
  }
}
/*(min-width: 1400px)*/

/*Grid xl Start*/
@media (max-width: 1399px) { 
  .card-style-seven {padding: 40px 15px 30px;}
  .block-feature-eighteen .bg-wrapper ul li {font-size: 18px;}
}
/*(max-width: 1399px)*/



/*Between Grid xl*/
@media (min-width: 1200px) and (max-width: 1399px) {
  .theme-main-menu {padding: 15px 25px;}
  .theme-main-menu.menu-style-two .gap-fix {padding-left: 25px; padding-right: 25px;}
  .theme-main-menu.menu-style-five .inner-content {padding: 16px 25px;}
  .h1, h1 {font-size: 65px;}
  .h2, h2 {font-size: 56px;}
  .title-two h2 {font-size: 64px;}
  .title-four h2 {font-size: 55px;}
  .text-xl {font-size: 24px;}
  .text-lg {font-size: 22px;}
  .hero-banner-one .hero-heading {padding: 11px 35px 25px 25px;}
  .hero-banner-five .hero-heading {font-size: 70px;}
  .fancy-banner-one h2 {font-size: 55px;}
  .fancy-banner-one h3 {font-size: 42px;}
  .card-style-two {padding: 40px 25px;}
  .text-feature-one .media-list-item {width: 550px; height: 520px;}
  .block-feature-three .block-title a,
  .block-feature-three .block-four .block-title a {font-size: 26px;}
  .feedback-block-one blockquote {font-size: 28px;}
  .blog-meta-one .post-data .blog-title {font-size: 28px;}
  .hero-banner-two .hero-heading {font-size: 80px;}
  .hero-banner-three .hero-heading {font-size: 80px;}
  .text-feature-four .quote-text {font-size: 38px;}
  .text-feature-four .name {font-size: 25px;}
  .feedback-block-three blockquote {font-size: 32px;}
  .fancy-banner-four ul li {font-size: 24px;}
  .hero-banner-four .hero-heading {font-size: 100px;}
  .hero-banner-four .media-wrapper {width: 50%; right: 0;}
  .text-feature-nine .vertical-text-wrapper .text-list {font-size: 88px;}
  .feedback-section-four .slider-arrows {top:65px;}
  .feedback-block-four blockquote {font-size: 26px;}
  .blog-section-four.block-feature-three .block-one {height: 655px;}
  .partner-logo-two .bg-wrapper .title {font-size: 24px;}
  .partner-logo-two .bg-wrapper .logo-wrapper {font-size: 26px;}
  .card-style-thirteen {padding: 70px 30px;}
  .card-style-thirteen h3 {font-size: 26px;}
  .block-feature-nine .heading {font-size: 70px;}
  .feedback-block-five blockquote {font-size: 80px;}
  .blog-section-five .section-btn {top:34px;}
  .blog-meta-three .blog-title {font-size: 42px;}
  .footer-five h2 {font-size: 110px;}
  .inner-banner-one .hero-heading,.inner-banner-two .hero-heading {font-size: 70px;}
  .block-feature-three .block-five {height: 334px;}
  .project-details-one h2 {font-size: 50px;}
  .project-details-one p {font-size: 22px;}
  .pagination-two .pr-name {font-size: 28px;}
  .project-details-two .info-wrapper {padding: 50px 50px 60px 50px;}
  .pricing-section .contact-banner h2 {font-size: 36px;}
  .fancy-banner-five h2 {font-size: 85px;}
  .fancy-banner-six h2 {font-size: 72px;}
  .service-details .details-meta h2 {font-size: 55px;}
  .service-details .details-meta h3 {font-size: 44px;}
  .service-details .details-meta .quote-wrapper {padding: 50px 40px 60px;}
  .service-details .details-meta .quote-wrapper blockquote {font-size: 42px;}
  .blog-meta-four .post-data .blog-title h4 {font-size: 38px;}
  .hero-banner-six .hero-heading {font-size: 85px;}
  .block-feature-eleven .slider-wrapper {width: 110vw;}
  .card-style-eighteen blockquote {font-size: 30px;}
  .portfolio-block-two .caption h3 a {font-size: 28px;}
  .feedback-block-six p {font-size: 35px;}
  .box-layout {margin: 25px;}
  .hero-banner-seven .hero-heading {font-size: 80px;}
  .hero-banner-seven {padding: 400px 0 50px;}
  .block-feature-thirteen .graph-panel .chart-box .chart-inner {width: 100px;}
  .block-feature-thirteen .graph-panel .main-count {font-size: 90px;}
  .block-feature-thirteen .line-loop:before {top:45%;}
  .feedback-block-seven blockquote {font-size: 42px;}
  .card-style-twentyOne .icon {width: 280px; height: 280px;}
  .hero-banner-eight .hero-heading {font-size: 80px;}
  .counter-block-four .main-count {font-size: 78px;}
  .card-style-twentyTwo h4 {font-size: 24px; margin-top: 90px;}
  .portfolio-block-three .title {font-size: 40px;}
  .block-feature-eighteen .bg-wrapper {padding: 48px 50px 60px;}
  .block-feature-eighteen .video-icon {width: 150px; height: 150px;}
  .feedback-block-eight blockquote {font-size: 40px;}
}
/*(min-width: 1200px) and (max-width: 1399px)*/


@media (min-width: 992px) and (max-width: 1399px) { 
  .text-md {font-size: 20px;}
  .text-lg {font-size: 21px;}
  .portfolio-one .section-btn {top:30px;}
}
/* (min-width: 992px) and (max-width: 1399px) */


/*Grid lg Start*/
@media (max-width: 1199px) {
  .theme-main-menu {padding: 10px 12px;}
  .theme-main-menu.menu-style-two .gap-fix {padding-left: 12px; padding-right: 12px;}
  .theme-main-menu.menu-style-five .inner-content {padding: 12px; border-radius: 15px;}
  .theme-main-menu.menu-style-two.fixed .inner-content {border: none;}
  .theme-main-menu .nav-item .nav-link {font-size: 18px;}
  .navbar .dropdown-menu .dropdown-item {font-size: 17px;}
  .btn-one {font-size: 17px; line-height: 46px; padding: 0 22px;}
  .btn-two {font-size: 18px; line-height: 45px; padding: 0 25px;}
  .btn-five .text,.btn-seven .text {font-size: 18px;}
  .btn-five .icon {width: 40px; height: 40px; font-size: 20px; margin-left: 8px;}
  .btn-seven .icon {width: 40px; height: 40px; font-size: 20px;}
  .btn-nine {width: 70px; height: 70px; font-size: 28px;}
  .btn-twelve,.btn-thirteen {font-size: 15px; padding: 0 25px;}
  .title-three .upper-title {font-size: 13px; margin-bottom: 10px;}
  .hero-banner-one {min-height: 100%;}
  .hero-banner-one .more-btn {width: 55px; height: 55px; font-size: 24px;}
  .card-style-two {padding: 30px 20px;}
  .text-feature-one .media-list-item {width: 100%; height: 400px;}
  .text-feature-one .media-list-item li,.text-feature-five li {font-size: 18px; padding-right: 15px; border-radius: 15px;}
  .text-feature-one .media-list-item li:after,.text-feature-five li:after {top:8px;}
  .block-feature-three .block-title a {font-size: 24px;}
  .block-feature-three .block-four .block-title a {font-size: 20px;}
  .block-feature-three .block-two .text-wrapper {padding: 30px 15px 30px 30px;}
  .accordion-style-one .accordion-item .accordion-button {font-size: 20px; padding: 20px 0;}
  .blog-meta-one .post-data {padding: 20px 20px 15px;}
  .blog-meta-one .post-data .post-info {font-size: 16px;}
  .blog-meta-one .post-data .blog-title {font-size: 24px;}
  .blog-meta-one .post-img {height: 250px;}
  .footer-one {padding-top: 60px;}
  .footer-one .footer-title,.footer-two .footer-title,
  .footer-three .footer-title,.footer-four .footer-title {font-size: 22px; margin-bottom: 12px;}
  .footer-one .footer-newsletter form {width: 100%; max-width: 450px;}
  .card-style-five .main-count {font-size: 45px; margin-top: 25px; padding-top: 15px;}
  .card-style-five .icon {height: 38px;}
  .card-style-six {padding: 30px 15px 35px;}
  .card-style-six .icon {width: 60px; height: 60px;}
  .counter-block-one .main-count,.card-style-nineteen .counter-block-one .main-count  {font-size: 40px;}
  .feedback-block-two {padding: 30px 15px;}
  .accordion-style-two .accordion-item .accordion-button {font-size: 20px; padding: 20px; border-radius: 20px 20px 0 0;}
  .accordion-style-two .accordion-item:nth-child(1) {border-radius: 20px 20px 0 0;}
  .accordion-style-two .accordion-item:nth-child(3) .accordion-body {border-radius: 0 0 20px 20px;}
  .accordion-style-two .accordion-item .accordion-body {padding: 20px 20px 40px;}
  .accordion-style-two .accordion-item .accordion-body .media-wrapper .video-icon {width: 60px; height: 60px; padding: 20px;}
  .accordion-style-two .accordion-item .accordion-body h6 {font-size: 15px;}
  .accordion-style-two .accordion-item .accordion-button:after {width: 30px; height: 30px; line-height: 30px; font-size: 25px;}
  .accordion-style-two .accordion-item .accordion-button:not(.collapsed):after {line-height: 22px;}
  .blog-meta-two .post-img {height: 250px; padding: 15px;}
  .blog-meta-two .post-data .blog-title h4 {font-size: 24px;}
  .blog-meta-two .post-data .post-info {margin-top: 15px; padding-top: 10px;}
  .blog-meta-two .post-data .round-btn {width: 40px; height: 40px; font-size: 22px;}
  .fancy-banner-three .quote-btn {width: 120px; height: 120px;}
  .fancy-banner-three {padding: 50px 0;}
  .footer-two {padding: 50px 0;}
  .footer-two .bg-wrapper {padding: 50px 20px 30px;}
  .footer-two .bg-wrapper .shapes {display: none !important;}
  .footer-two .copyright {position: static; margin-top: 15px;}
  .hero-banner-three .right-widget .main-count {font-size: 35px; margin: 0 0 -5px;}
  .hero-banner-three .right-widget .icon {width: 70px;}
  .card-style-eight {padding: 30px 15px;}
  .card-style-eight .icon {height: 40px;}
  .text-feature-four .quote-text {font-size: 26px; line-height: 1.7em;}
  .text-feature-four .name {font-size: 22px;}
  .counter-block-two .main-count {font-size: 40px;}
  .text-feature-five .media-wrapper .video-icon {width: 55px; height: 55px; padding: 18px;}
  .card-style-nine {padding: 35px 20px 0;}
  .card-style-nine h3 {font-size: 26px;}
  .card-style-nine .icon {width: 45px; height: 45px; padding: 11px;}
  .feedback-section-three .slider-wrapper .icon {width: 50px; position: static; margin-bottom: 25px;}
  .feedback-section-three .slider-wrapper {padding-left: 0;}
  .feedback-block-three blockquote {font-size: 26px;}
  .feedback-section-three .slick-dots {margin: 20px 0 0 10px;}
  .feedback-section-three .rating-box {padding: 25px 20px 20px; left: 0; bottom: 0;}
  .feedback-section-three .rating-box .rating {font-size: 40px; margin-bottom: 8px;}
  .fancy-banner-four ul li {font-size: 20px; padding-left: 32px;}
  .footer-three .footer-intro p a {font-size: 20px;}
  .footer-three .round-bg {width: 300px; height: 300px;}
  .hero-banner-four .avatar {width: 120px;}
  .title-two .upper-title {font-size: 18px;}
  .card-style-ten .main-count {font-size: 50px; margin-bottom: -4px;}
  .card-style-ten .main-count:before {height: 8px;}
  .card-style-ten {padding-bottom: 40px;}
  .card-style-eleven {padding: 35px 20px;}
  .card-style-eleven .icon {height: 50px;}
  .text-feature-seven ul li {margin-bottom: 16px;}
  .accordion-style-three .accordion-item .accordion-button {font-size: 20px; padding: 16px 0;}
  .accordion-style-three .accordion-item .accordion-button:after {font-size: 18px;}
  .feedback-section-four .slider-arrows {top:45px;}
  .feedback-block-four {padding: 20px;}
  .feedback-block-four blockquote {font-size: 22px; margin: 20px 0;}
  .hero-banner-five .bg-wrapper {border-radius: 15px;}
  .hero-banner-five .rating h3 {font-size: 30px;}
  .hero-banner-five .media-wrapper {border-radius: 0 15px 15px 0;}
  .partner-logo-two .bg-wrapper {border-radius: 15px;}
  .partner-logo-two .bg-wrapper .logo-wrapper {font-size: 25px;}
  .partner-logo-two .bg-wrapper .title {font-size: 25px;}
  .card-style-thirteen {padding: 30px 20px 70px; border-radius: 100px;}
  .card-style-thirteen .icon {height: 55px;}
  .card-style-thirteen p {font-size: 16px;}
  .card-style-thirteen h3 {font-size: 22px;}
  .block-feature-nine .heading a {width: 60px; height: 60px; margin-left: 50px; padding: 12px 12px 12px 0;}
  .block-feature-nine .heading a:before {width: 35px; left: -35px;}
  .block-feature-nine {border-radius: 15px;}
  .block-feature-nine:after {border-radius: 15px 15px 0 0;}
  .border-100 {border-radius: 15px;}
  .portfolio-block-one .caption {margin-top: 28px;}
  .portfolio-block-one .caption .pj-title {font-size: 24px;}
  .feedback-block-five .name {font-size: 22px;}
  .blog-meta-three .blog-title {font-size: 26px; margin: 30px 0 20px; line-height: 1.4em;}
  .footer-five {padding: 80px 0 0;}
  .footer-five .btn-group .round-btn {width: 70px; height: 70px; font-size: 38px;}
  .inner-banner-one .hero-heading {padding: 10px 20px 15px;}
  .inner-banner-one .tag,.inner-banner-two .tag {padding: 0 15px; font-size: 13px;  margin-bottom: 10px;}
  .project-details-one .project-info h3 {font-size: 30px;}
  .project-details-one .project-info li .text1,
  .project-details-two .info-wrapper .list-meta .text1 {font-size: 14px;}
  .project-details-one .project-info li {padding: 18px 15px;}
  .project-details-one .project-info li .icon {max-width: 30px;}
  .project-details-one .project-info li span {font-size: 18px;}
  .project-details-one .upper-title {font-size: 14px; margin-bottom: 8px;}
  .project-details-one p {font-size: 20px; margin-bottom: 30px;}
  .pagination-two .pr-name {font-size: 22px;}
  .pagination-two {padding: 20px 0;}
  .pagination-two i {width: 50px; height: 50px; line-height: 44px; font-size: 26px;}
  .pagination-two .pr-dir {font-size: 14px;}
  .project-details-two .info-wrapper {padding: 40px 15px;}
  .project-details-two .info-wrapper h3 {font-size: 28px;}
  .project-details-two .info-wrapper .list-meta li {padding: 18px 0;}
  .team-details .bg-wrapper .name {font-size: 26px;}
  .team-details .bg-wrapper h6 {padding-top: 35px;}
  .team-details .bg-wrapper h3 {font-size: 24px;}
  .pricing-nav .nav .nav-link {width: 115px; height: 50px; font-size: 18px;}
  .pricing-card-one {padding: 35px 30px 40px;}
  .pricing-card-one h2 {font-size: 26px;}
  .pricing-card-one .price-banner .price {font-size: 40px;}
  .pricing-section .contact-banner {padding: 40px 20px;}
  .pricing-section .contact-banner h2 {font-size: 28px;}
  .fancy-banner-five .video-icon,.fancy-banner-five.no-bg .bg-wrapper .video-icon {width: 120px; height: 120px; padding: 13px;}
  .faq-section-three .tab-content {padding: 0 20px;}
  .faq-section-three nav .nav .nav-link {font-size: 18px;}
  .error-page h1 {font-size: 100px;}
  .error-page h2 {font-size: 42px; padding: 20px 0 25px;}
  .card-style-sixteen .text {padding-left: 20px;}
  .block-feature-ten .line-wrapper:before {display: none;}
  .service-details .contact-banner h3 {font-size: 26px;}
  .service-details .details-meta h2 {font-size: 38px; margin-bottom: 22px;}
  .service-details .details-meta p {margin-bottom: 30px;}
  .service-details .details-meta h3 {font-size: 30px; margin-bottom: 18px;}
  .service-details .details-meta .quote-wrapper {padding: 25px 20px 40px;}
  .service-details .details-meta .quote-wrapper blockquote {font-size: 26px; line-height: 1.4em; margin: 20px 0 50px;}
  .service-details .details-meta .list-item li {font-size: 20px;}
  .blog-meta-two.style-two .post-img {height: 300px;}
  .blog-meta-two.style-two .post-data {padding: 20px;}
  .blog-sidebar .sidebar-title {font-size: 28px;}
  .blog-sidebar .blog-category li a {line-height: 50px;}
  .blog-sidebar .blog-recent-news .recent-news .post-img {height: 150px;}
  .blog-sidebar .blog-recent-news .recent-news .blog-title h3 {font-size: 22px; max-width: 100%;}
  .blog-sidebar .contact-banner h3 {font-size: 28px;}
  .blog-meta-four {padding: 55px 20px 30px;}
  .blog-meta-four .post-info {font-size: 18px; margin-top: 30px;}
  .blog-meta-four .post-data .blog-title h4 {font-size: 28px; line-height: 1.4em;}
  .blog-details .post-details-meta {padding: 20px 0 0;}
  .blog-details .post-details-meta .quote-wrapper h6 {font-size: 18px;}
  .blog-details .post-details-meta .quote-wrapper .wrapper h3 {font-size: 28px;}
  .blog-details .post-details-meta .img-gallery {margin-bottom: 40px;}
  .blog-details .post-details-meta h3 {font-size: 25px; margin-bottom: 15px;}
  .blog-details .post-details-meta .list-item li {font-size: 18px; margin-bottom: 18px;}
  .blog-details .grey-bg {padding: 30px 20px;}
  .blog-details .blog-inner-title {font-size: 30px; margin-bottom: 5px;}
  .address-block-one .icon {width: 60px; height: 60px; padding: 15px;}
  .address-block-one .title {font-size: 20px;}
  .contact-us-section .bg-wrapper {padding: 50px 20px;}
  .map-banner {height: 400px;}
  .product-details-one .product-info .product-name {font-size: 24px; margin: 20px 0 10px;}
  .product-details-one .product-info .stock-tag {font-size: 12px;}
  .product-details-one .product-info .price {font-size: 22px;}
  .cart-list-form .table tbody tr:first-child td {padding-top: 30px;}
  .cart-list-form .table tbody td {padding: 0 15px 50px;}
  .cart-list-form .table tbody .product-info {padding-left: 15px;}
  .checkout-form .main-title {font-size: 24px; padding-bottom: 30px;}
  .checkout-form .order-confirm-sheet .order-review {padding: 40px 20px;}
  .checkout-form .single-input-wrapper,.checkout-form .theme-select-menu {margin-bottom: 30px;}
  .checkout-form .checkbox-list {padding-bottom: 25px;}
  .card-style-eighteen .icon {width: 50px; height: 50px;}
  .card-style-eighteen blockquote {font-size: 22px;}
  .card-style-nineteen h2 {font-size: 30px;}
  .card-style-nineteen {padding: 30px 20px;}
  .card-style-eighteen {padding: 5px 20px 0;}
  .portfolio-two .slider-wrapper .slick-slider {margin: 0 -15px;}
  .portfolio-two .slider-wrapper .slick-slider .slick-slide {margin: 0 15px 5px;}
  .portfolio-block-two .caption span {font-size: 12px; margin-bottom: 5px;}
  .portfolio-block-two .caption {padding: 20px 0 15px;}
  .portfolio-block-two .caption h3 a {font-size: 24px;}
  .portfolio-block-two .caption .round-btn {width: 50px; height: 50px; font-size: 24px;}
  .feedback-section-six .icon-container {width: 100%;}
  .feedback-section-six .icon-container .icon {width: 55px; height: 55px;}
  .feedback-block-six p {font-size: 24px; margin-bottom: 30px;}
  .feedback-section-six .slick-dots {margin-top: 50px;}
  .box-layout {margin: 12px;}
  .border-40 {border-radius: 20px;}
  .hero-banner-seven .lead-form {padding: 20px 20px 30px; border-radius: 20px;}
  .hero-banner-seven .lead-form h3 {font-size: 28px;}
  .block-feature-thirteen .graph-panel .main-count {font-size: 60px;}
  .counter-block-three .main-count {font-size: 50px;}
  .card-style-twenty {padding: 30px 20px 25px;}
  .card-style-twenty .text {padding-left: 25px;}
  .fancy-banner-seven .bg-wrapper li {padding: 18px 20px 20px 50px; font-size: 20px;}
  .fancy-banner-seven .bg-wrapper li:before {left: 15px; top:22px;}
  .fancy-banner-seven .bg-wrapper li:after {left: 18px; top:18px;}
  .counter-block-four .main-count {font-size: 45px; margin: 0;}
  .counter-block-four {padding-top: 25px;}
  .card-style-twentyTwo {padding: 40px 12px 40px;}
  .card-style-twentyTwo .icon {height: 60px;}
  .card-style-twentyTwo h4 {font-size: 20px; margin: 50px 0 15px;}
  .portfolio-block-three {padding: 30px 0;}
  .portfolio-block-three .num {font-size: 20px;}
  .portfolio-block-three .media-img {padding: 0 15px;}
  .portfolio-block-three .title {font-size: 28px;}
  .portfolio-block-three .arrow-btn {width: 70px; height: 70px; padding: 18px;}
  .block-feature-eighteen .bg-wrapper {padding: 40px 20px 40px;}
  .block-feature-eighteen .video-icon {width: 80px; height: 80px; padding: 25px;}
  .feedback-block-eight blockquote {font-size: 28px; line-height: 1.45em;}
  .feedback-block-eight h6 {font-size: 20px;}
  .feedback-block-eight .rating li span {font-size: 18px;}
  .feedback-section-eight .wrapper {padding: 30px 60px;}
}
/*(max-width: 1199px)*/



/*Between Grid lg*/
@media (min-width: 992px) and (max-width: 1199px) {
  .theme-main-menu .nav-item .nav-link {margin: 0 20px;}
  .h1, h1 {font-size: 55px;}
  .h2, h2,.fancy-banner-three .title-one h2 {font-size: 48px; line-height: 1.12em;}
  .title-two h2 {font-size: 56px;}
  .title-four h2 {font-size: 46px;}
  .text-xl {font-size: 22px;}
  .hero-banner-one .hero-heading {padding: 11px 47px 30px 25px;}
  .hero-banner-three .hero-heading {font-size: 65px;}
  .hero-banner-five .hero-heading {font-size: 55px;}
  .fancy-banner-one h2 {font-size: 48px;}
  .fancy-banner-one h3 {font-size: 38px; margin-bottom: -2px;}
  .block-feature-three .section-btn {top:45px;}
  .block-feature-five .section-btn {top:45px;}
  .block-feature-three .block-one {height: 370px;}
  .feedback-block-one blockquote {font-size: 24px;}
  .blog-section-one .section-btn {top:40px;}
  .hero-banner-two .hero-heading {font-size: 68px;}
  .blog-section-two .section-btn {top:10px;}
  .blog-section-three .section-btn {top:42px;}
  .hero-banner-four .hero-heading {font-size: 70px;}
  .hero-banner-four .media-wrapper {width: 48%; right: 0;}
  .block-feature-eight .section-btn {top:42px;}
  .text-feature-nine .vertical-text-wrapper .text-list {font-size: 72px;}
  .blog-section-four.block-feature-three .block-one {height: 540px;}
  .block-feature-nine .heading {font-size: 55px;}
  .feedback-block-five blockquote {font-size: 60px;}
  .feedback-section-five .slick-dots {top:-50px;}
  .blog-section-five .section-btn {top:28px;}
  .footer-five h2 {font-size: 92px;}
  .footer-five .btn-group h3 {font-size: 50px;}
  .inner-banner-one .hero-heading,.inner-banner-two .hero-heading {font-size: 58px;}
  .block-feature-three .block-five {height: 289px;}
  .project-details-one h2 {font-size: 38px; margin-bottom: 25px;}
  .text-feature-one .card-style-three {padding-left: 50px;}
  .fancy-banner-five h2 {font-size: 70px;}
  .fancy-banner-six h2 {font-size: 60px;}
  .hero-banner-six .hero-heading {font-size: 72px;}
  .hero-banner-seven .hero-heading {font-size: 68px;}
  .hero-banner-seven {padding: 300px 0 50px;}
  .block-feature-thirteen .graph-panel .chart-box .chart-inner {width: 85px;}
  .block-feature-thirteen .line-loop:before {top:38%;}
  .block-feature-fourteen .section-subheading {width: 45%;}
  .card-style-twenty .text .arrow-btn {right: 20px;}
  .feedback-block-seven blockquote {font-size: 35px;}
  .card-style-twentyOne .icon {width: 250px; height: 250px;}
  .hero-banner-eight .hero-heading {font-size: 68px;}
  .block-feature-seventeen .section-subheading {width: 45%;}
  .feedback-section-eight .wrapper {padding: 60px 50px;}
}
/*(min-width: 992px) and (max-width: 1199px)*/



/*Grid md Start*/
@media (max-width: 991px) {
  body {font-size: 18px;}
  p {line-height: 1.8em;}
  .theme-main-menu.fixed {padding-top: 10px; padding-bottom: 10px;}
  .theme-main-menu.menu-style-two.fixed {padding: 0;}
  .h1, h1 {font-size: 40px; line-height: 1.15em;}
  .h2, h2,.fancy-banner-three .title-one h2,.newsletter-banner h2 {font-size: 36px; line-height: 1.15em;}
  .title-two h2 {font-size: 40px;}
  .title-four h2 {font-size: 38px;}
  .h4, h4 {font-size: 22px;}
  .text-xl {font-size: 20px;}
  .text-lg {font-size: 19px;}
  .text-md {font-size: 18px;}
  .btn-ten {line-height: 45px; padding: 0 25px; min-width: 145px; font-weight: 500;}
  .hero-banner-one::before {background: rgba(0, 0, 0, 0.6);}
  .hero-banner-one .hero-heading {padding: 10px 15px; border-radius: 15px;}
  .hero-banner-one .more-btn {left: auto; right: 12px; top:85px;}
  .hero-banner-three .hero-heading {font-size: 45px;}
  .hero-banner-five .hero-heading {font-size: 42px;}
  .fancy-banner-one h2 {font-size: 38px;}
  .fancy-banner-one h3 {font-size: 34px; margin-bottom: 0;}
  .fancy-banner-one .screen {width: 140px;}
  .block-feature-two .numb {font-size: 60px;}
  .block-feature-two .numb::before {width: 50px; height: 50px;}
  .block-feature-three .block-one,.blog-section-four.block-feature-three .block-one {height: 350px;}
  .block-feature-three .block-one .tag {font-size: 12px;}
  .block-feature-three .block-one .block-title {padding: 10px 15px; margin-top: 20px;}
  .block-feature-three:before {top:15%;}
  .feedback-block-one .count,.feedback-block-one .line {width: 50%;}
  .feedback-block-one blockquote {font-size: 22px;}
  .footer-one .footer-nav-link a {line-height: 40px;}
  .footer-one .bottom-footer {text-align: center;}
  .footer-one .footer-newsletter form {margin: 0 auto 20px;}
  .text-feature-three .media-wrapper {height: 450px; margin: 50px auto 0; border-radius: 15px;}
  .block-feature-five .section-btn,.blog-section-three .section-btn,
  .block-feature-eight .section-btn,.portfolio-one .section-btn,
  .team-section-two .section-btn {position: relative; text-align: center; top:0;}
  .accordion-style-two .accordion-item .accordion-body .media-wrapper {height: 250px; margin-top: 40px;}
  .blog-meta-two .post-data .blog-title {width: calc(100% - 55px);}
  .blog-section-two .section-btn {top:0;}
  .hero-banner-three .right-widget .screen_01 {max-height: 200px;}
  .text-feature-five .media-wrapper {height: 400px;}
  .newsletter-banner .main-wrapper {padding: 30px 0 25px; text-align: center;}
  .footer-three .footer-nav-link a,.footer-four .footer-nav-link a {line-height: 42px;}
  .footer-three .bottom-footer,.footer-four .bottom-footer {margin-top: 20px; padding: 20px 0 10px;}
  .footer-three .round-bg {margin: 0 auto;}
  .footer-three,.footer-four {padding-top: 50px;}
  .hero-banner-four .hero-heading {font-size: 55px; line-height: 1em;}
  .hero-banner-four .media-wrapper {bottom: 0;}
  .text-feature-six .shape_02 {top:-5%;}
  .text-feature-six .media-wrapper {left: auto; right: 0; width: 45%;}
  .text-feature-six .shape_01 {display: none !important;}
  .text-feature-nine .vertical-text-wrapper {position: relative; width: 90%; margin: 0 auto; border: none;}
  .text-feature-nine .vertical-text-wrapper .text-list {font-size: 42px; padding: 12px 0; letter-spacing: -1px;}
  .feedback-section-four .slider-arrows {position: relative; margin: 40px auto 0; top:0; width: 115px;}
  .feedback-section-four .slider-arrows li {line-height: 40px;}
  .newsletter-banner.white-vr .main-wrapper {padding-top: 80px;}
  .block-feature-nine .heading {font-size: 35px; line-height: 1.6em;}
  #isotop-gallery-wrapper {margin: 0 -12px;}
  #isotop-gallery-wrapper .grid-sizer, #isotop-gallery-wrapper .isotop-item {padding: 0 12px;}
  .feedback-block-five blockquote {font-size: 32px; font-weight: 500; line-height: 1.3em; margin-bottom: 30px;}
  .feedback-section-five .slick-dots {position: static; margin: 40px 0 0 10px;}
  .footer-five h2 {font-size: 50px; line-height: 1.25em;}
  .footer-five .btn-group {text-align: center; margin: 50px 0 70px; padding: 20px 20px 15px;}
  .footer-five .btn-group .round-btn {margin: 0 auto;}
  .footer-five .btn-group h3 {font-size: 28px; margin-bottom: 25px;}
  .inner-banner-one .hero-heading {font-size: 36px; background: #fff; border-radius: 20px; margin-bottom: 20px; line-height: 1.2em;}
  .inner-banner-one .hero-heading.no-bg {background: transparent;}
  .inner-banner-one .hero-heading img,.text-feature-one .line-wrapper .shape_01 {display: none !important;}
  .inner-banner-one::after {background: rgba(0, 0, 0, 0.6)}
  .block-feature-three .block-five .block-title {padding: 10px 15px; margin-top: 20px;}
  .inner-banner-two .hero-heading {font-size: 36px; line-height: 1.3em; margin: 15px 0 20px;}
  .project-details-one .project-info h3 {text-align: center; padding: 25px 0 20px; background: #fff;}
  .project-details-one .project-info:before {display: none;}
  .project-details-one .project-info {border: none; background: #cfff45;}
  .project-details-one .project-info .inner-wrapper {padding: 0;}
  .project-details-one h2 {font-size: 32px; margin-bottom: 16px;}
  .project-details-one p {font-size: 18px;}
  .card-style-sixteen.arrow:before, .card-style-sixteen.arrow:after {display: none;}
  .project-details-two .slider-wrapper {height: 450px;}
  .team-details .bg-wrapper .member-img {height: 350px;}
  .pricing-card-one {padding: 35px 20px 40px;}
  .pricing-section .contact-banner .screen_01 {position: static; margin: 0 auto; width: 15%;}
  .pricing-section .contact-banner h2 {text-align: center; margin: 15px 0 25px;}
  .text-feature-one .line-wrapper {border-top: none;}
  .text-feature-one .card-style-three {padding-left: 0; border-left: none;}
  .fancy-banner-five h2 {font-size: 40px; line-height: 1.2em;}
  .fancy-banner-six h2 {font-size: 45px;}
  .service-details .service-nav-item a {padding: 20px 0;}
  .service-details .service-nav-item a img {margin-right: 18px;}
  .product-block-one .product-title {margin-bottom: 5px;}
  .product-details-one .product-img-tab .nav-item {margin: 20px 10px 0 0; width: 88px;}
  .product-details-one .product-review-tab .nav-tabs .nav-link {font-size: 14px;}
  .product-details-one .product-review-tab .tab-content h5 {padding-top: 20px;}
  .cart-list-form .cart-footer .cart-total-section {padding-right: 0;}
  .cart-list-form .cart-footer {margin-top: 0;}
  .cart-list-form .cart-footer .cart-total-section .cart-total-table tr th,
  .cart-list-form .cart-footer .cart-total-section .cart-total-table tr td {padding-bottom: 10px;}
  .hero-banner-six .hero-heading {font-size: 52px;}
  .block-feature-eleven .slider-wrapper {width: 100%;}
  .card-style-seventeen {padding: 25px;}
  .card-style-seventeen .text {width: 100%; padding: 15px 0 0;}
  .block-feature-eleven .slider-wrapper .slick-dots {position: static; margin-top: 40px; justify-content: center;}
  .hero-banner-seven .hero-heading {font-size: 45px;}
  .hero-banner-seven {padding: 200px 0 50px;}
  .hero-banner-seven::after {height: 100%;}
  .block-feature-thirteen .graph-panel {border: none;}
  .block-feature-thirteen .upper-wrapper .shape_01,
  .block-feature-thirteen .line-loop:before {display: none !important;}
  .block-feature-fourteen .section-subheading {position: static; width: 100%; text-align: center;}
  .feedback-section-seven .slider-arrows li {width: 50px; height: 50px;}
  .feedback-block-seven blockquote {font-size: 30px; line-height: 1.4em;}
  .card-style-twentyOne .icon {width: 150px; height: 150px; padding: 30px;}
  .fancy-banner-eight .bg-wrapper {padding: 40px 20px 0;}
  .contact-section-one .shape_01 {display: none;}
  .hero-banner-eight .hero-heading {font-size: 52px;}
  .block-feature-seventeen .section-subheading {position: static; width: 100%; text-align: center;}
  .accordion-style-four .accordion-item .accordion-button {font-size: 20px; padding: 20px 15px;}
  .accordion-style-four .accordion-item .accordion-body {padding-left: 50px;}
  .accordion-style-four .accordion-item .accordion-button span {font-size: 16px; margin-right: 5px;}
}
/*(max-width: 991px)*/


/*Between Grid md*/
@media (min-width: 768px) and (max-width: 991px) {
  .block-feature-one .section-subheading {width: 50%;}
  .block-feature-three .section-btn {top:38px;}
  .team-section-one .section-btn {top:0;}
  .blog-section-one .section-btn {top:35px;}
  .blog-section-five .section-btn {top:25px;}
  .hero-banner-two .hero-heading {font-size: 45px; line-height: 1.12em;}
  .feedback-section-two .slider-wrapper { width: calc(100vw + 300px); transform: translateX(-150px);}
  .portfolio-block-three .title {width: 50%;}
}
/*(min-width: 768px) and (max-width: 991px)*/



/*Grid sm Start*/
@media (max-width: 767px) {
  .fancy-banner-one:after {top:auto; left: 0; height: 55%;}
  .block-feature-one .section-subheading,.blog-section-one .section-btn,
  .block-feature-three .section-btn,.team-section-one .section-btn,
  .faq-section-two .section-btn,.blog-section-two .section-btn,
  .team-section-three .section-btn {position: relative; width: 100%; text-align: center; top:0;}
  .feedback-section-one .title-one {position: relative;}
  .block-feature-two .border-line {border: 1px dashed #cacaca; border-left: none; border-right: none;}
  .feedback-section-one .icon {bottom: auto; top:10px;}
  .hero-banner-two .hero-heading {font-size: 40px; line-height: 1.12em;}
  .hero-banner-two .shape_03,.hero-banner-two .shape_04,.feedback-section-six .shape_01,
  .feedback-section-six .shape_02 {display: none !important;}
  .user-data-form .nav .nav-item .nav-link {font-size: 18px;}
  .user-data-form h2 {font-size: 32px;}
  .text-feature-three .media-wrapper .screen_02 {left: 0;}
  .text-feature-three .media-wrapper .screen_01 {right: 0;}
  .feedback-section-two .slider-wrapper {width: 100%; transform: none; padding: 0 12px;}
  .fancy-banner-three {text-align: center;}
  .fancy-banner-three .quote-btn {margin: 30px auto 0;}
  .text-feature-five .media-wrapper .screen_01 {left: 0; bottom: -5%;}
  .hero-banner-five .media-wrapper {position: relative; border-radius: 0 0 15px 15px; margin: 40px 0 -10px; width: 100%;}
  .blog-section-five .section-btn {display: none;}
  .blog-section-five .wrapper:before {width: 100%; height: 2px; right: 0; top:50%;}
  .portfolio-block-one .caption .tag li {font-size: 12px;}
  .project-details-one .project-info li {width: 100%;}
  .project-details-one .project-info li {border-right: none; border-bottom: 1px dashed rgba(0,0,0,.25); margin: 0;}
  .text-feature-three .media-wrapper .screen_03 {left: 0; bottom: -5%;}
  .team-details .bg-wrapper .border-right {border-right: none; border-bottom: 1px solid #e9e9e9;}
  .product-block-one .price {font-size: 20px;}
  .product-block-one .img-holder .cart-icon {opacity: 1; transform: scale(1);}
  .product-block-one .img-holder .cart-button {opacity: 1; transform: translateY(0);}
  .hero-banner-six .media-wrapper {height: 400px;}
  .hero-banner-six .media-wrapper .bg-shape {max-width: 90%; bottom: -5%;}
  .hero-banner-six .media-wrapper .screen_02 {left: 0;}
  .portfolio-two .slider-wrapper {width: 100%; max-width: 600px; margin: 0 auto; transform: none; padding: 0 12px;}
  .feedback-block-six h6:before, .feedback-block-six h6:after {width: 50px; left: -70px; top:15px;}
  .feedback-block-six h6:after {left: auto; right: -70px;}
  .hero-banner-eight .media-wrapper {position: relative; margin: 40px 0 -20px auto; max-width: 500px;}
  .portfolio-block-three .media-img {width: calc(100% - 35px); margin-bottom: 30px;}
  .portfolio-block-three .media-img .img {border-radius: 30px;}
  .portfolio-block-three .title {width: calc(100% - 55px);}
  .portfolio-block-three .arrow-btn {width: 50px; height: 50px; padding: 10px;}
  .feedback-section-eight .slider-arrows {left: 0; right: 0;}
  .feedback-section-eight .slider-arrows li {width: 50px; height: 50px; padding: 10px;}
}
/*(max-width: 767px)*/




/*Between Grid sm*/
@media (min-width: 576px) and (max-width: 767px) {
  

}
/*(min-width: 576px) and (max-width: 767px)*/



/*Extra Small breakpoints*/
@media (max-width: 575px) {
  .blog-meta-one .post-img {height: 200px;}
  .hero-banner-two form {height: 60px;}
  .block-feature-four .shape_01,.feedback-section-two .shape_01,
  .faq-section-two .shape_01 {top:-5%;}
  .card-style-ten .main-count {font-size: 40px;}
  #isotop-gallery-wrapper.column-two .grid-sizer, #isotop-gallery-wrapper.column-two .isotop-item {width: 100%;}
  .feedback-block-five blockquote {font-size: 28px;}
  .feedback-block-five .name {font-size: 20px;}
  .newsletter-banner form input {padding: 0 20px;}
  .error-page .shape_01,.error-page .shape_02 {bottom: 0;}
  .inner-banner-two .shape_01 {bottom: 3%;}
  .inner-banner-two .shape_02 {bottom: 1%;}
  .blog-details .post-details-meta .quote-wrapper .wrapper h3 {font-size: 24px;}
  .product-details-one .product-review-tab .nav-tabs .nav-link {margin-right: 20px; letter-spacing: 0.3px;}
  .cart-list-form .cart-footer .coupon-form input,
  .cart-list-form .cart-footer .btn-ten {width: 100%;}
  .cart-list-form .cart-footer .cart-total-section {text-align: left;}
  .cart-list-form .cart-footer .cart-total-section .cart-total-table tr td {text-align: right;}
  .hero-banner-three .right-widget .screen_01,.hero-banner-three .img-wrapper,
  .hero-banner-four .shape_01,.hero-banner-four .shape_02,.hero-banner-four .media-wrapper {display: none !important;}
  .card-style-twenty .text .arrow-btn {position: static;}
  .feedback-section-seven .slider-arrows {position: static; transform: none; margin-top: 35px;}
  
}
/*(max-width: 575px)*/






@media (max-width: 1399px) {  
  
}
@media (min-width: 1200px) and (max-width: 1399px) { 
  
}
@media (min-width: 992px) and (max-width: 1199px) { 
  
}
@media (max-width: 1199px) { 
  
}
@media (max-width: 991px) {
  
}

@media (min-width: 768px) and (max-width: 991px) { 
  

}
@media (max-width: 767px) { 
  
}

/* Keep the hand and screen fixed as this section's text grows */
@media (min-width: 992px) {
  .text-feature-six .media-wrapper {
    top: 430px;
    bottom: auto;
    left: 50px;
  }
}

/* Smaller number counters in the Credit Access section */
@media (min-width: 768px) {
  .text-feature-six .card-style-ten .main-count {
    font-size: 55px;
    margin-bottom: -8px;
  }

  .text-feature-six .card-style-ten .main-count:before {
    height: 9px;
  }
}

/* Make APR, Cash Back, Travel Rewards, and Bonus Points bigger */
.text-feature-six .card-style-ten .main-count + div {
  font-size: 24px;
}

/* Move the Credit Access block lower on desktop */
@media (min-width: 992px) {
  .text-feature-six .col-lg-4 > div {
    margin-top: 0px;
    transform: translateX(50px);
  }
}

/* Lines above and below the Credit Access block */
.text-feature-six .card-style-ten {
  border-top: 1px solid #D9D9D9;
  border-bottom: 1px solid #D9D9D9 !important;
  padding-top: 20px;
}

.text-feature-six .card-style-ten {
  padding-bottom: 20px;
}

/* Remove the blue background behind Featured Products */
.block-feature-six {
  background: transparent;
}

/* Featured Product cards */
.block-feature-six .card-style-eight {
  background: #F6F6F6;
  border-radius: 20px;
}

/* Residency city animation */
.residency-mobility .mobility-block {
  margin-top: 20px;
}

.residency-mobility .mobility-title,
.residency-mobility .destination {
  font-size: 30px;
  line-height: 42px;
  font-weight: 700;
  color: #173D35;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.residency-mobility p {
  margin-top: 14px !important;
  font-size: 18px;
  color: #555;
}

.residency-mobility .destination-window {
  position: relative;
  height: 42px;
  overflow: hidden;
}

.residency-mobility .destination {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.residency-mobility .destination.active {
  opacity: 1;
  transform: translateY(0);
}

.residency-mobility .destination.leaving {
  opacity: 0;
  transform: translateY(-100%);
}

/* Align “Beyond borders.” under POSSIBILITIES, not under the infinity icon */
@media (min-width: 576px) {
  .residency-mobility .col-sm-6:first-child .mobility-block > p {
      margin-left: 45px !important;
  }
}


@media (min-width: 992px) {
  .text-feature-six .shape_02 {
    top: -10px;
    right: 35%;
  }
}

/* Green underline highlight, matching the number counters */
.counter-highlight {
  display: inline-block;
  position: relative;
  z-index: 1;
  white-space: nowrap;
}

.counter-highlight::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 14%;
  width: 100%;
  height: 13px;
  background: #C5FF4A;
  z-index: -1;
}


/* Smaller, rounded product cards */
.block-feature-six .card-style-eight {
  padding: 28px 22px 24px;
  background: #d2eae144;
  border-radius: 20px !important;
  overflow: hidden;
}

.block-feature-six .card-style-eight .icon {
  height: 46px;
}

.block-feature-six .card-style-eight h4 {
  margin: 18px 0 10px;
  font-size: 21px;
}

.block-feature-six .card-style-eight p {
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.55;
}

/* Template decorative stars */
.block-feature-six .incorporation-copy {
  position: relative;
}

.block-feature-six .incorporation-shape {
  position: absolute;
  pointer-events: none;
  animation: rotated 18s infinite linear;
}


/* Large yellow star */
.block-feature-six .star-green-large {
  width: 40px;
  top: 155px;
  right: 300px;
  animation-duration: 50s;
}

/* Yellow rotating star between the property text and image */
.text-feature-one .property-star {
  width: 65px;
  top: 11%;
  left: 42%;
  z-index: 2;
  animation: rotated 30s infinite linear;
}

/* =================================================
   DESIGNED HOME — DESKTOP SECTION SPACING CONTROLS
   Change only the numbers ending in px below.
   ================================================= */
   @media (min-width: 992px) {

    /* Space before the early light section */
    .designed-home .block-feature-five {
        margin-top: 60px !important;
        padding-bottom: 150px !important;
    }

    /* Space before / after the Residency section */
    .designed-home .text-feature-three {
        margin-top: 100px !important;
        padding-bottom: 150px !important;
    }

    /* Space before / after Credits & Loans with the hand */
    .designed-home .text-feature-six {
        margin-top: 130px !important;
    }

    .designed-home .text-feature-six .container > .position-relative {
        padding-bottom: 140px !important;
    }

    /* Space before the Zero-Down Property section */
    .designed-home .text-feature-one {
        margin-top: 70px !important;
        padding-bottom: 100px !important;
    }

    /* Space above / below Power of Incorporation */
    .designed-home .block-feature-six {
        padding-top: 120px !important;
        padding-bottom: 120px !important;
    }

    /* Space before the following quote section */
    .designed-home .block-feature-fifteen {
        margin-top: 90px !important;
    }

    /* Space before the final block section */
    .designed-home .block-feature-three {
        margin-top: 150px !important;
    }
}

/* Drawn infinity sign in the Residency / Possibilities block */
.residency-mobility .infinity-draw {
  width: 36px;
  height: 24px;
  margin-right: 7px;
  vertical-align: -3px;
  overflow: visible;
}


/* The complete infinity sign */
.residency-mobility .infinity-base {
  fill: none;
  stroke: #173D35;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.30;
}

/* The darker line continuously moving around it */
.residency-mobility .infinity-pen {
  fill: none;
  stroke: #173D35;
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: arcs;
  stroke-dasharray: 85 15;
  stroke-dashoffset: 100;
  animation: infinity-trace 3.8s linear infinite;
}

@keyframes infinity-trace {
  from {
    stroke-dashoffset: 0;   /* Start bei 0 */
  }
  to {
    stroke-dashoffset: -100; /* Schiebt das Muster flüssig vorwärts */
  }
}



/* Shared background: fades from transparent at top and bottom */
/* .designed-home .process-services-background {
  background: linear-gradient(
      to bottom,
      rgba(235, 243, 238, 0) 0%,
      rgba(235, 243, 238, 1) 20%,
      rgba(235, 243, 238, 1) 80%,
      rgba(235, 243, 238, 0) 100%
  );

  position: relative;
  display: flow-root;
} */

/* Removes only Block Feature Five's separate right-side illustration */
.designed-home .process-services-background .block-feature-five::before {
  display: none;
}



/* Sticky Services sidebar while the service article is read */
@media (min-width: 992px) {

  /* Keeps the template from blocking sticky positioning */
  .main-page-wrapper {
      overflow-x: clip;
  }

  /* The complete sidebar: navigation + Let’s talk card */
  .service-details .col-xxl-3.col-lg-4 > aside {
      position: sticky;
      top: 90px;
      z-index: 5;
  }
}

/* Cinematic Freedom introduction after the home hero */
.designed-home .freedom-intro {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 120px 0;
 

}


.designed-home .freedom-intro-content {
  max-width: 1600px;
  margin: 0 auto;
  text-align: center;
}


.designed-home .freedom-line {
  color: #173D35;
}

.designed-home .freedom-intro h2 {
  font-size: 70px;
  line-height: 1.02;
  letter-spacing: 1px;
  font-weight: 500;
  margin-bottom: 42px;
}

.designed-home .freedom-description {
  max-width: 1600px;
  margin: 90px auto 70px;
  font-family: "Magnita";
  font-size: 35px;
  font-weight: 1000;
  line-height: 1.5;
  letter-spacing: 0.75px;
  color: #173D35;
  /* color: #cdaa2f; */
  white-space: nowrap;
}


.designed-home .freedom-close {
  max-width: 1600px;
  white-space: nowrap;
  margin: 0 auto 36px;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.75px;
  color: #173D35;
}


/* Smaller screens */
@media (max-width: 991px) {
  .designed-home .freedom-intro {
      min-height: auto;
      padding: 90px 0;
  }

  .designed-home .freedom-intro h2 {
      font-size: 46px;
  }

  .designed-home .freedom-description {
      font-size: 21px;
  }

  .designed-home .freedom-close {
    font-size: 21px;
}
.designed-home .freedom-description,
.designed-home .freedom-close {
    white-space: normal;
}
}

/* Gold comet animation behind the Freedom Intro text */
.designed-home .freedom-intro {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.designed-home .freedom-comet {
  position: absolute;
  
  height: 700px;

  top: 200px;
  right: 50px;

  opacity: 0.30;
  transform: rotate(-12deg);

  pointer-events: none;
  z-index: 0;
}

.designed-home .freedom-comet-svg {
  display: block;
  width: 100%;
  height: 100%;
}

.designed-home .freedom-intro > .container-fluid {
  position: relative;
  z-index: 1;
}

/* Smaller, subtler comet on phones */
@media (max-width: 991px) {
  .designed-home .freedom-comet {
      width: 560px;
      height: 420px;
      top: -100px;
      right: -240px;
      opacity: 0.13;
  }
}

/* Services cards: Block Feature Five only */
.designed-home .block-feature-five .card-style-seven {
  background-color: #EBF3EE;
}


/* Two adjustable star-image background layers */
.designed-home .freedom-bg {
  position: absolute;
  display: block;
  pointer-events: none;
  z-index: 1;
}

.designed-home .freedom-bg img {
  display: block;
  width: 100%;
  height: auto;
}

/* Large yellow star */
.designed-home .freedom-bg-one {
  width: 90px;
  top: 12%;
  left: 8%;
  opacity: 0.65;
  animation: rotated 50s infinite linear;
}

/* Smaller yellow star */
.designed-home .freedom-bg-two {
  width: 55px;
  bottom: 15%;
  right: 10%;
  opacity: 0.65;
  animation: rotated 40s infinite linear;
  animation-direction: reverse;
}

/* Comet stays behind stars and text */
.designed-home .freedom-comet {
  width: 950px;
  z-index: 0;
}

/* Text remains above every background layer */
.designed-home .freedom-intro > .container-fluid {
  z-index: 2;
}


/* Grain image + adjustable color tint behind the Freedom text */
.designed-home .freedom-bg-three {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  z-index: 0;
}

.designed-home .freedom-bg-three img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.40; /* visibility of the grain image */
}

.designed-home .freedom-bg-three::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #edf3ef; /* color over the image */
  opacity: 0.60;
}



/* Each phrase has its own growing highlight segment */
@media (min-width: 992px) {

  .designed-home .freedom-description .freedom-word {
      display: inline-block;
      position: relative;
      z-index: 1;
  }

  .designed-home .freedom-description .freedom-word::before {
      content: "";
      position: absolute;
      left: -2px;
      bottom: 3%;
      width: calc(100% + 4px);
      height: 14px;

      background: #fae07e;
      border-radius: 0;

      transform: scaleX(1);
      transform-origin: left center;
      z-index: -1;
  }

  .designed-home .freedom-description .freedom-word:first-child::before {
      border-radius: 3px 0 0 3px;
  }

  .designed-home .freedom-description .freedom-word:last-child::before {
      border-radius: 0 3px 3px 0;
  }

  .designed-home .freedom-description .freedom-word.animated::before {
    animation: freedom-highlight-grow var(--highlight-duration) ease-out var(--highlight-delay) both;
  }

  @keyframes freedom-highlight-grow {
      from {
          transform: scaleX(0);
      }

      to {
          transform: scaleX(1);
      }
  }
}

/* Soft grain texture on every page */
/*body {
  background-color: #ffffff;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.55)),
    url("../images/assets/bg_02.svg");
  background-repeat: repeat-y;
  background-position: center top;
  background-size: 100% auto;
} */

/* Main header logo size */
.theme-main-menu .logo img {
  width: 300px;
  height: auto;
}

/* Logo inside the mobile menu */
@media screen and (max-width: 991px) {
  .navbar-collapse .logo img {
    height: 50px;
    width: auto;
  }
}

/* Reliable scroll reveals: independent from the template's WOW calculations. */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity var(--reveal-duration, 1s) ease var(--reveal-delay, 0s),
    transform var(--reveal-duration, 1s) ease var(--reveal-delay, 0s);
}

.reveal-on-scroll.reveal-from-left {
  transform: translateX(-32px);
}

.reveal-on-scroll.reveal-from-right {
  transform: translateX(32px);
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translate(0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Keep the legal links in the footer on one desktop line. */
@media (min-width: 992px) {
  .footer-three .bottom-footer .bottom-nav {
    flex-wrap: nowrap;
    margin: 0 -4px;
  }

  .footer-three .bottom-footer .bottom-nav li {
    flex: 0 0 auto;
  }

  .footer-three .bottom-footer .bottom-nav a {
    margin: 0 4px;
    font-size: 14px;
    white-space: nowrap;
  }
}

/* Site-wide cookie consent. */
.cookie-consent {
  position: fixed;
  z-index: 99999;
  right: 10px;
  bottom: 10px;
  left: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  max-width: 460px;
  margin: 0 auto;
  padding: 9px 11px;
  color: #fff;
  background: #19352d;
  border: 1px solid rgba(207, 255, 69, 0.35);
  border-radius: 9px;
  box-shadow: 0 6px 16px rgba(18, 45, 37, 0.25);
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent__text strong {
  display: block;
  margin-bottom: 2px;
  font-size: 15px!important;
  line-height: 1.3;
}

.cookie-consent__text p {
  margin: 0 0 2px;
  font-size: 15px!important;
  line-height: 1.4;
}

.cookie-consent__text a {
  color: #cfff45!important;
  font-weight: 400!important;
  font-size: 15px!important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-settings-link {
  font-size: 10px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Homepage footer links. */
.footer-two .footer-nav-link .cookie-settings-link {
  font-size: inherit;
}

.footer-two .cookie-settings-link,
.footer-three .bottom-footer .cookie-settings-link,
.footer-three .bottom-footer .cookie-settings-link:hover {
  text-decoration: none;
}

.cookie-consent__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 4px;
}

.cookie-consent__button {
  min-height: 26px;
  padding: 0 9px;
  font-size: 15px!important;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.cookie-consent__button--reject {
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.75);
}

.cookie-consent__button--accept {
  color: #19352d;
  background: #cfff45;
  border: 1px solid #cfff45;
}

.cookie-consent__button:hover {
  transform: translateY(-1px);
}

@media (max-width: 767px) {
  .cookie-consent {
    right: 6px;
    bottom: 6px;
    left: 6px;
    display: block;
    padding: 9px;
    border-radius: 8px;
  }

  .cookie-consent__text strong {
    font-size: 11px;
  }

  .cookie-consent__text p {
    font-size: 10px;
  }

  .cookie-consent__actions {
    margin-top: 7px;
    gap: 4px;
  }

  .cookie-consent__button {
    flex: 1;
    min-height: 26px;
    padding: 0 5px;
    font-size: 10px;
  }
}

/* Wide desktop: keep the Hero and Residency artwork within the page. */
@media (min-width: 1400px) {
  /* Pull the Hero's right-side card and client count inward. */
  .hero-banner-three .container {
    max-width: 1320px;
  }

  /* Keep the floating Residency cards close to the main image. */
  .text-feature-three .media-wrapper .screen_02 {
    left: -4%;
    width: 60%;
  }

  .text-feature-three .media-wrapper .screen_03 {
    left: -5%;
    width: 47%;
  }
}



/* Consultation banner: lift the original screen artwork without changing the text column. */
@media (min-width: 992px) {
  .fancy-banner-four .consultation-screen {
    transform: translateY(-120px);
  }
}


/* Target the businessman image */
.img-wrapper img.m-auto {
    /* Shrink to 80% and move 20px right, 10px up */
    transform: scale(0.9) translate(0px, -50px);
    
    /* Ensure the transform starts from the center or bottom */
    transform-origin: bottom center; 
}


.email-image-link {
  display: inline-block;
  line-height: 0;
}

.email-image {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  margin: 0 auto;
}