/* Mobile Responsive Styles */
@media only screen and (max-width: 767px) {
    section {
        overflow: hidden;
    }

    header {
        padding: 0 10px;
    }

    header .logo img {
        width: 80px;
        height: auto;
    }
    
    #contacttango .modal-dialog, #contacttypes .modal-dialog {
        max-width: 100%;
        width: 100%;
        margin: 30px auto;
    }
    
    .innerdivscontact{
        width: 205px;
        margin: auto;
    }

    header .social-links {
        display: none;
    }

    header .cta-button {
        padding: 0 10px;
    }

    .cta-button {
        font-size: 16px !important;
        width: max-content;
        height: 28px;
        border-radius: 2px;
        padding: 5px 12px;
    }

    #memberlogin .modal-header, #forgetpassword .modal-header {
        right: unset !important;
        left: 0px !important;
        top: 20px !important;
        padding: 0;
    }
    
    .formfieldone {
        padding: 14px 14px;
    }
    
    .membersubmitbtn{
       height: 50px;
    }
    
    .formfields {
        display: grid;
        gap: 20px;
    }

    header nav .cta-section {
        gap: 15px;
    }

    .hero-section {
        background: url(../images/mobile-banner.webp) no-repeat center center / cover;
        height: 575px;
    }

    #contacttango .modal-body img.modal-logo {
        width: 45% !important;
    }

    #contacttango .modal-body h3 {
        font-size: 20px;
    }

    .contactdivs {
        grid-template-columns: repeat(1, 1fr) !important;
    }

    .hero-text {
        padding: 0 15px;
    }

    .hero-text .banner-title {
        font-size: 33px;
        line-height: 40px;
        text-align: center;
    }

    .hero-text .banner-subtitle {
        font-size: 16px;
        line-height: 24px;
        text-align: center;
    }

    .hero-text .banner-subtitle span,
    .hero-text .banner-subtitle br {
        display: none;
    }

    .review-text {
        font-style: italic;
    }

    #reviewCarousel {
        padding: 0 15px;
        margin: auto;
        padding-left: 5px !important;
    }

    .carousel-inner {
        max-width: auto !important;
        width: auto !important;
    }

    .review-content {
        width: 355px;
        text-align: center;
        margin: 0;
    }

    .video-overlay,
    .video-container {
        width: 100% !important;
    }

    .scroll-down {
        display: none !important;
    }

    .info-owner {
        justify-content: center !important;
    }

    .reviews-section .carousel-control-prev {
        display: flex !important;
    }

    .left-hotel-section,
    .right-hotel-section {
        width: 100%;
    }

    .hotel-deals-title {
        font-size: 22px !important;
    }

    .hotel-deals-subtitle {
        font-size: 16px !important;
    }

    .hotel-deal-slider {
        position: relative;
        width: 100%;
        margin: 5px 0;
    }

    .hotel-deal-slider .slider-wrapper {
        overflow: hidden;
    }

    .hotel-deal-slider .slider-track {
        display: flex;
        gap: 16px;
        transition: transform 0.45s ease;
        cursor: grab;
    }

    .hotel-deal-slider .slide {
        flex: 0 0 66.666%;
        /* Show 1.5 slides at a time */
    }

    /* Arrows */
    .hotel-deal-slider .arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: #FF7200;
        color: #fff;
        border: none;
        width: 42px;
        height: 42px;
        border-radius: 50%;
        cursor: pointer;
        z-index: 10;
        font-size: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hotel-deal-slider .arrow.prev {
        left: -10px;
    }

    .hotel-deal-slider .arrow.next {
        right: 5px;
    }

    .cruise-title {
        font-size: 22px !important;
        line-height: 28px;
    }

    .tabslidermenu {
        display: none;
    }

    .tabsliderslider-wrapper {
        width: 100% !important;
    }

    .tabsliderslide {
        flex: 0 0 calc(100% / 1.3);
        min-width: calc(100% / 1.3);
        height: 220px !important;
    }

    p.slidercontent-title {
        font-size: 16px;
    }

    p.sliderpice {
        display: none;
    }

    .slidercontent-cat {
        display: none;
    }

    button#tabslidernextBtn {
        right: 10px;
    }

    .slider-arrow,
    button#tabslidernextBtn,
    button#tabsliderprevBtn {
        width: 36px;
        height: 36px;
        font-size: 60px;
    }

    h3.slidername {
        font-size: 20px;
    }

    .hotel-deals-button {
        width: max-content !important;
        border-radius: 2px;
    }

    .car-rental-slide {
        flex: 0 0 calc((100% - 100px) / 1);
    }

    .slider-arrow.prev {
        left: 0px !important;
    }

    .slider-arrow.next {
        right: 10px !important;
    }

    .car-rental-track {
        gap: 10px;
    }

    video {
        border-radius: 2px;
    }

    .cruise-title {
        font-size: 22px !important;
    }

    .flight-deals-section {
        flex-direction: column-reverse;
        gap: 0px;
    }

    .hotel-deal-slider.flight-deals-slider .slide {
        flex: 0 0 90%;
    }

    .flight-logos {
        height: 60px !important;
    }

    .personal-concierge .main-content-section {
        flex-direction: column-reverse;
        gap: 20px;
    }

    .personal-concierge-info img {
        width: 150px;
        height: auto;
    }

    .faq-content-section {
        width: 100% !important;
    }

    #about-tango {
        background: #F8FBFD;
    }

    .faq-item.active button.faq-question,
    .faq-question:hover {
        background: #fff !important;
    }

    .faq-question {
        font-size: 16px !important;
        text-align: left;
    }

    .faq-answer {
        height: 10px;
    }

    .faq-item.active .faq-answer {
        height: auto;
    }

    .faq-answer p {
        padding: 15px 0 !important;
    }

    .video-blog {
        background-color: #fff !important;
    }

    .about-tango {
        height: 100%;
    }

    .second-col,
    .first-col {
        width: 100% !important;
    }

    .second-col {
        padding: 50px 30px !important;
        padding-bottom: 15px !important;
    }

    .contact-links a,
    p.footer-text,
    .footer-bottom-text {
        font-size: 16px;
    }

    .footer-logo img {
        width: 145px;
        height: auto;
    }

    .footer-separator {
        width: 95% !important;
    }

    .left-col img {
        position: absolute;
        width: 50px;
        height: 50px !important;
        left: -16px;
        top: -16px;
        transform: rotate(180deg);
    }

    .left-col,
    .right-col {
        width: 100%;
    }

    #memberlogin .modal-dialog .modal-content {
        height: 100% !important;
        overflow: hidden;
    }

    .login-customer-form {
        width: 100%;
    }

    .left-col h3,
    .left-col p,
    .left-col h4 {
        z-index: 2;
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
    }

    .left-col h3 {
        text-shadow: none !important;
    }

    #forgetpassword .modal-dialog .modal-content {
        height: 100% !important;
        overflow: hidden;
    }

    .formfieldone input {
        width: 100% !important;
    }

    #memberlogin .modal-body,
    #forgetpassword .modal-body {
        flex-direction: column;
        padding: 0 !important;
        justify-content: start !important;
    }

    #memberlogin .modal-dialog,
    #forgetpassword .modal-dialog {
        width: 95% !important;
        max-width: 95% !important;
        margin: 0 auto;
    }

    #contacttango .modal-dialog {
        max-width: 95%;
        margin: 30px auto;
    }

    img.tango-wealthport-logo {
        width: 75%;
        height: auto;
    }

         .custom-blog-mobile {
    padding: 15px;
    margin-top: 0px !important;
    background: #F9FAFB;
  }

  /* Blog Title */
  .custom-blog-title-mobile {
    margin-top: 18px;
    font-size: 25px;
    font-weight: 650;
    line-height: 1.5em;
    position: relative;
  }

  .custom-blog-title-mobile::after {
    content: "";
    background: #FF7200;
    width: 6px;
    height: 100%;
    position: absolute;
    top: 0;
    left: -15px;
  }
  /* Team Section */
  .custom-team-mobile {
    background-image: url('../images/URated Blog/BG.webp');
    background-size: cover;
    width: 90%;
    margin-top: 27px!important;
    text-align: left;       /* centers inline text and inline-blocks */
    display: flex;            /* optional, ensures perfect centering */
    align-items: center;      /* vertical center */
    justify-content: left;  /* horizontal center */       /* adjust height as needed */
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    margin-left: -3px;
  }

  /* Description toggle */
  .custom-desc-box-mobile {
    margin-top: 3px;
  }

  .custom-desc-mobile {
    font-size: 14px;
    font-style: italic;
    color: #6E6C6C;
  }

  .custom-arrow-mobile {
    font-size: 14px;
    color: #333;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-style: italic;
    transition: opacity 0.3s ease;
  }
  .custom-toggle-btn-mobile{
    text-decoration: none;
  }

  /* Hide preview + arrow when expanded */
   .custom-desc-box-mobile:has(.custom-toggle-btn-mobile[aria-expanded="true"]) {
    margin-bottom: -35px;
  }
  .custom-toggle-btn-mobile[aria-expanded="true"] .custom-arrow-mobile {
    display: none;
  }
  

  .blog-mob-fav{
    height: 50px;
    width: 50px;
    margin-top: -18px;
  }
  .img-click-blog-mob{
    height: 12px;
    width: 12px;
  }
    .blog-top-mob-section span {
        font-size: 14px;
        color: #6E6C6C;
        margin-top: 10px;
    }
    .custom-social-icons a {
        margin-top: 10px!important;
        margin-right: 25px;
    }
    .audio-block {
        margin-top: 22px!important;
    }
    .audio-title {
       margin-top: -63px!important;
       color: #333!important;
    }
    #audioTime-mob {
       width: 25px;
   }
   /* TOC Wrapper */
    .blog-toc-mobile {
      border: none !important;
      border-radius: 7px !important;
    }

    /* Links */
    .blog-toc-link {
      position: relative;
      font-size: 16px;
      color: #333;
      text-decoration: none;
    }

    /* Hide icon by default */
    .blog-toc-icon img {
      display: none;
      margin-top: -3px;
    }

    /* Show icon only on hover/active */
    .blog-toc-link:hover .blog-toc-icon img,
    .blog-toc-link.active .blog-toc-icon img {
      display: inline-block;
    }

    /* Hover + Active */
    .blog-toc-link:hover,
    .blog-toc-link.active {
      color:#333333 !important;;
      font-weight: 500;
    }

    /* Arrow rotation */
    .blog-toc-toggle-btn[aria-expanded="true"] .blog-toc-arrow {
      transform: rotate(180deg);
      transition: transform 0.3s ease;
    }
    .blog-toc-toggle-btn .blog-toc-arrow {
      transition: transform 0.3s ease;
    }

    /* Content Section */
    .blog-content-mobile h2 {
      font-size: 24px;
      font-weight: 500;
      color: #000000;
      line-height: 30px;
    }
    .blog-content-mobile p {
      font-size: 18px;
      line-height: 28px;
      color: #000000;
        margin-bottom: 15px;
        margin-top: 15px;
    }
    .blog-content-mobile img {
      margin-top: 10px;
      margin-bottom: 10px;
    }
    .blog-content-mobile ul {
      font-size: 18px;
      color: #000000;
      line-height: 28px;

    }
    .table-content-mobile{
       font-weight: 500;
       color: #383333;
       font-size: 18px;
    }
    .blog-toc-toggle-btn {
        background-color: #F9FAFB !important;
        border: none !important;
        border-radius: 7px;
    }
    .blog-content-mobile {
/*        background-color: #F9FAFB;*/
/*        border-radius: 7px;*/
        margin-top: 10px !important;
    }
    .blog-content-mobile h2:first-child { margin-top: 26px!important; }
    .urated-social-media-mobile small {
        font-size: 14px;
        color: #4B4B4B;
        display: block;
        margin-bottom: 6px;
        margin-left: 2px;
    }
    .urated-social-media-mobile strong {
        font-size: 14px;
        font-weight: 600 !important;
        color: #FF7200;
        margin-left: 1px;
    }
    /* Wrapper */
    .mob-blog-wrapper {
      max-width: 100%;
    }

    /* Strategy Box */
    .mob-blog-strategy-box {
      background: #f5f7ff; /* light bluish bg */
    }
    .mob-blog-strategy-label {
      font-size: 22px;
      font-weight: 500;
      color: #073D5E;
    }
    .mob-blog-strategy-heading {
      font-size: 22px;
      font-weight: 500;
      color: #383333;
    }
    .mob-blog-strategy-text {
      font-size: 14px;
      line-height: 24px;
      color: #000000;
    }
    .mob-blog-strategy-btn {
      background: linear-gradient(90deg, #4B6CB7, #182848, #4B6CB7);
      color: #fff;
      font-weight: 600;
      border-radius: 6px;
      padding: 10px;
      font-size: 14px;
    }

    /* Divider */
    .mob-blog-divider {
      margin: 28px 0;
      border-top: 1px solid #4B4B4BAD;

    }

    /* Read Next */
    .mob-blog-readnext-title {
      font-size: 24px;
      font-weight: 500;
      color: #000000;
      margin-bottom: 22px;
    }
    .custom-form-section p{
        text-align: left;
    }

    /* Articles */
    .mob-blog-article-title {
      font-size: 18px;
      font-weight: 500;
      color: #000000;
      line-height: 28px;
    }
    .mob-blog-article-title a {
    color: #000000;
    text-decoration: none;
    }
    .mob-blog-article-meta {
      font-size: 16px;
      color: #4B4B4B;
    }
    .mob-blog-article-link {
      font-size: 18px;
      color: #0000FF;
      text-decoration: underline;
    }
    .mob-blog-article-link:hover {
      text-decoration: underline;
    }
    .blog-content-mobile a {
       color: #0000FF;
   }
   .custom-form-section{
    position: static!important;
   }
.custom-form-section button {
  font-size: 16px;
  color: #2F8009;
  background: transparent;
  border: 2px solid #2F8009;
  font-weight: 600;
  width: 100%;
  height: 45px;
  font-size: 18px;
  position: relative;
  overflow: hidden;
  transition: color 1s ease, font-weight 1s ease;
  z-index: 1;
}

/* Create sliding gradient layer */
.custom-form-section button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #2F8009;
  z-index: -1;
  border: 2px solid #2F8009;
  transition: left 1s ease; /* sliding animation */
}

/* Hover state */
.custom-form-section button:hover {
  color: #fff !important;
  font-weight: 600;
  border-color: #2F8009;
}

/* Slide in background */
.custom-form-section button:hover::before {
  left: 0;
}

    .custom-form-section span {
        font-weight: 500;
    }
    .custom-form-section h4 {
        font-weight: 600;
    }
    .icon-box {
        width: 30px!important;
        height: 30px!important;
    }
    .social-icons {
        gap: 4px!important;
    }
    .blog-content-mobile-subchild {
      margin-bottom: 26px;
    }
     .logo-section .row {
      --bs-gutter-x: 0; /* Disable Bootstrap gutter */
      --bs-gutter-y: 0;
      display: flex !important;
      flex-wrap: wrap;
      gap: 0.5rem !important;
    }
    .urated-collection-hero {
        padding-top: 100px;
        padding-bottom: 35px;;
    }
    .urated-collection-subtitle {
        font-size: 16px;
    }
    .urated-collection-subtitle::after{
        width: 102px;
    }
    .mobile-social-section-collection {
        padding-top: 20px;
        padding-bottom: 25px;
        background: #F9FAFB;
    }
    .mobile-social-heading-collection {
        font-size: 24px;
        font-weight: 400;
        line-height: 30px;
        color: #000000;
    }
    .logo-section {
        background-color: #ffffff;
        padding-top: 10px !important;
        padding-bottom: 15px !important;
    }
    .logo-section-title {
        font-size: 24px;
        font-weight: 400;
        color: #000000;
        padding-top: 13px;
        line-height: 30px;
    }
    .logo-section-title b {
        font-weight: 500;
    }
    .urated-prev {
        left: 44%;
    }
    .urated-next {
        right: 36%;
    }
      .urated-carousel-control svg path {
        stroke: #fff !important;
        stroke-width: 2.5;
      }
}



/* Tablet Responsive Styles */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    header .logo img {
        width: 90px;
        height: auto;
    }

    .social-media,
    header nav .cta-section {
        gap: 10px;
    }

    header nav ul {
        gap: 2px;
    }

    .social-links li {
        width: 30px;
        height: 30px;
    }

    header nav ul li img {
        width: 24px;
        height: 24px;
    }

    .hero-section {
        background: url(../images/tablet-banner.webp) no-repeat center center / cover;
        height: 925px;
    }

    .hero-text {
        text-align: center;
    }

    .reviews-section .carousel-control-prev {
        display: flex !important;
    }

    .carousel-control-prev {
        left: -30px !important;
    }

    .review-text {
        text-align: center;
    }

    .info-owner {
        justify-content: center !important;
    }

    .left-hotel-section,
    .right-hotel-section {
        width: 100% !important;
    }

    .tabsliderslide {
        flex: 0 0 calc(100% / 1.5);
        min-width: calc(100% / 1.5);
    }

    .hotel-deal-slider {
        position: relative;
        width: 100%;
        margin: 5px 0;
    }

    .hotel-deal-slider .slider-wrapper {
        overflow: hidden;
    }

    .hotel-deal-slider .slider-track {
        display: flex;
        gap: 16px;
        transition: transform 0.45s ease;
        cursor: grab;
    }

    .hotel-deal-slider .slide {
        flex: 0 0 42.666%;
    }

    /* Arrows */
    .hotel-deal-slider .arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: #FF7200;
        color: #fff;
        border: none;
        width: 42px;
        height: 42px;
        border-radius: 50%;
        cursor: pointer;
        z-index: 10;
        font-size: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hotel-deal-slider .arrow.prev {
        left: -10px;
    }

    .hotel-deal-slider .arrow.next {
        right: 5px;
    }

    .flight-deals-section {
        flex-direction: column-reverse;
        gap: 0px;
    }

    #more-choices .car-rental-info img {
        width: 230px;
    }

    #more-choices .car-rental-info {
        margin-top: 20px;
    }

    #personal-concierge .main-content-section {
        flex-direction: column-reverse;
        gap: 20px;
    }

    #tango-tiktok .main-content-section {
        height: 100% !important;
    }

    .faq-content-section {
        width: 100% !important;
    }

    .about-tango {
        height: 100%;
    }

    .video-container,
    .video-overlay {
        width: 100% !important;
    }

    .first-col,
    .second-col {
        width: 50% !important;
    }

    .second-col {
        padding-left: 0 !important;
    }

    .third-col {
        width: 100% !important;
        margin-top: 40px !important;
    }

    section {
        overflow: hidden;
    }

    .carousel-inner {
        max-width: 100% !important;
        width: 100% !important;
    }
}

/*Large Tablets*/
@media only screen and (max-width: 1024px) and (min-width:992px){
    .hotel-icon-section {
    display: none !important;
}
.scroll-down {
    display: none !important;
}
.reviews-section {
    justify-content: center !important;
}
#hotel-deals .inner-hotel-deals {
    display: grid !important;
}
#flight-deals .main-content-section>div {
    width: 100% !important;
}
#flight-deals .main-content-section {
    gap: 30px !important;
}
#more-choices .main-content-section {
    display: grid !important;
}
#more-choices .main-content-section>div {
    width: 100% !important;
}
#more-choices .car-rental-info img {
    width: 100%;
}
    .more-choices .main-content-section .car-rental-info{
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
    }
    #personal-concierge .main-content-section>div {
    width: 100% !important;
}
}