@media screen and (max-width: 1399px) {  
  .p-xlg{font-size:26px}
  .p-lg {
    font-size: 20px;
  }
  h1{font-size: 60px;}
  h5{font-size: 30px;}
  h4 {
    font-size: 44px;
  }
  h3 {
    font-size: 27px;
  }
}

@media screen and (max-width: 1199px) {
  h1, h2{font-size: 58px;}
  h4 {
    font-size: 37px;
  }
  h5{font-size: 24px;}
  .p-xlg{font-size: 24px;}
  h3{font-size: 24px;}
}

@media screen and (max-width: 991px) {
  .navbar-collapse{
    position: absolute;
    width: 100%;
    top: 100px;
    z-index: 5;
  }
  .search-barr { margin-left: 0 !important; }
  .search-barr .site-input::placeholder,.search-barr .site-input{
    color: #ccc;
  }
  .search-barr input.transparent-btn,.search-barr button.transparent-btn {
    font-size: 16px;
  }
  .search-barr:not(.search-barr.open) button.transparent-btn {
    right: 0;
  }
  .navbar-nav .dropdown-menu {
    position: absolute;
  }
  .search-barr{
    width: 20px;
  }
  header .navbar-nav a.dropdown-item {
    color: black;
  }
  .navbar-nav .nav-link {
    margin-left: 0;
    text-align: left!important;
  }
  .navbar-nav a:not(a.dropdown-item){color:white !important;}
  .navbar-nav a:hover{
    color: white !important;
  }
  h1, h2{font-size: 55px;}
  h4{font-size: 35px;}
  h5{font-size: 21px;}
  .p-xlg{font-size: 22px;}
  br{display: none;}
  .navbar-collapse{
    position: absolute;
    width: 100%;
    top: 100px;
    z-index: 2;
  }
  h3{font-size: 23px;}
  .p-lg{font-size: 20px;}
  .services-wrapper {
    flex-direction: column;
    height: 800px;
  }
  .service-card,
  .service-card.active {
    flex: unset;
    height: 25%;
    min-height: 180px;
    width: 100%;
  }
  .service-card.active {
    height: 100% !important;
    min-height: 400px;
  }
  .service-card.hide {
    height: 0 !important;
    min-height: 0 !important;
  }
  .circle-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  .spec-buttons button {
    width: 100%;
  }
  .deck-label {
    font-size: 1.5rem;
  }
  .layout-container{
    height: auto;;
  }
  .horizontal-scroll-outer h2 {
    font-size: 18px;
  }
  .horizontal-scroll-outer p {
    font-size: 14px;
  }
  .prestige-section .heading {
    max-width: 100%;
    margin: auto;
    text-align: left;
  }
  .white-color{
    color: white;
  }
  .faq p {
    font-size: 16px;
  }
  .superyacht-management-banner,.yacht-management-banner {
    min-height: 50vh;
  }
  .navbar-nav .nav-link:hover {
    color: #ffffff !important;
  }
  
  /*
  
  .line-tabs button:first-child,.line-content {
    padding-left: 5px !important;
    margin-left: 5px !important;
  }
  
  */
}

@media screen and (max-width: 767px) {
  h1, h2{font-size: 42px;}
  h3{font-size: 20px;}
  h4{font-size: 30px;}
  h5{font-size: 20px;}
  .p-xlg{font-size: 20px;}
  .p-lg{font-size: 16px;}
  .ctn-preloader .animation-preloader .txt-loading{font:bold 3em "Circular Std Book";}
  .footer-inner ul a , .footer-inner p {
    font-size: 15px;
    font-weight: 300;
  }
  .newsletter-form {
    flex-direction: column;
    width: 100%;
  }
  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
  }
  .device-center {
    text-align: center !important;
  }

  .about-us {
    padding: 60px 0;
  }

  .main-heading {
    font-size: 30px; 
  }
}

@media screen and (max-width: 575px) {
  body{font-size: 14px;}
  .ctn-preloader .animation-preloader .txt-loading{font:bold 2.2em "Circular Std Book";}
  h1, h2{font-size: 30px;}
  h3{font-size: 20px;}
  h4{font-size: 25px;}
  h5{font-size: 18px;}
  h6{font-size: 17px;}
  p{font-size: 14px;}
  .p-xlg{font-size: 18px;}
  .p-x2lg {
    font-size: 28px;
  }
  .menu a {
    font-size: 24px;
  }
}

/* Responsive tweaks */
@media (max-width: 768px) {
  #cursor,#innerDot{
    display: none;
  }
  .intro-content p {
    font-size: 18px;
    line-height: 1.8;
    text-align: center;
  }

  .brand-intro .heading-img {
    width: 200px;
  }

  .brand-intro {
    padding: 60px 20px;
  }
  .intro-content {
    max-width: 100%;
  }
  .play-btn {
    width: 70px;
    height: 70px;
    font-size: 24px;
  }
  
  .spec-item {
    padding: 16px 10px;
  }

  .spec-label {
    font-size: 12px;
  }

  .spec-value {
    font-size: 15px;
  }

  .spec-icon {
    width: 40px;
  }

  .hover-details {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .dimension-logs table {
    font-size: 0.9rem;
  }

  .dimension-logs thead th,
  .dimension-logs tbody th,
  .dimension-logs tbody td {
    padding: 12px 12px;
  }
  
  .layout-container {
    display: flex;
    flex-direction: column;
  }

  .deck-image {
    height: 60vh;
    padding: 10px;
  }
  .deck-list {
    flex-direction: row;
    height: 90px;
    overflow-x: auto;
  }
  .nav-buttons {
    bottom: 20px;
    padding: 0 15px;
  }

  .nav-buttons button {
    width: 44px;
    height: 44px;
  }
  .gallery-wrapper {
    height: 50vh;
  }

  .thumbs img {
    width: 140px;
    height: 90px;
  }
  .our-mission-card {
    padding: 25px;
  }
  .our-mission {
    padding: 50px 0;
  }
  .product-header-content {
    padding: 1.5rem 1rem 3rem;
  }

  .product-header-content .title {
    font-size: 1.75rem;
  }

  .product-header-content .desc {
    font-size: 1rem;
    padding: 0 10px;
  }

  .scroll-down-arrow {
    font-size: 22px;
    width: 42px;
    height: 42px;
  }
  .block-desc {
      padding: 0 30px; 
  }
  .primary-menu a {
    font-size: 55px;
    line-height: 55px;
  }

  .secondary-menu .menu-item a {
      font-size: 22px;
  }

  .btn-outline {
      width: 60px !important;
      height: 60px !important;
  }

  /*#toggle-btn {
      margin: 0 0 0 auto !important;
      padding: 0;
      width: 40px;
      height: 40px;
  }*/
}

@media (max-width: 900px) {
  .gsap-title {
    font-size: 8vw;
  }
  .gsap-desc {
    font-size: 3vw;
  }
  .gsap-btn {
    font-size: 3vw;
  }
  .gsap-img {
    height: 40vh;
  }
  .horizontal-scroll-inner .item {
    padding: 60px 30px 30px 30px !important
  }
  .blogs-banner {
    min-height: 50vh;
    background: url(../images/blogs-banner.png) no-repeat center center / cover;
  }
  .yacht-search-banner.banner{
    padding: 150px 0 10px 0;
  }
}

@media screen and (min-width: 992px) {
  .line-tabs {
        width: 44%;
  }
  .line-content {
     width: 45%;
  }
  .project-bg-card {
      min-height: 700px;
  }
  .our-mission-card::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 20px;
    height: 20px;
    background: #172B68;
  }
  .our-mission-card::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 20px;
    height: 20px;
    background: white;
  }
  .brokerage-inner {
    /*padding: 220px 0 0 0;*/
      padding: 100px 0 0 0;
  }
}
@media (max-width: 480px) {
  .banner-heading {
    top: 15px;
    left: 15px;
    padding: 10px 15px;
  }

  .banner-heading h1 {
    font-size: 1.7rem;
    line-height: 1.3;
  }
}

@media (max-width: 991px) {
  header .offcanvas {
    background: #172B68;
    color: #fff;
  }

  .offcanvas {
    height: 100vh;
    max-height: 100vh;
    overflow-y: auto;
    transition: transform 0.3s ease-in-out;
  }

  header .offcanvas .nav-link {
    color: #ffffff !important;
    font-size: 1.1rem;
    padding: 10px 16px;
  }

  header .offcanvas .nav-link:hover {
    color: #d2d2d2 !important;
  }

  header .offcanvas .dropdown-menu {
    background: white !important;
  }

  header .offcanvas .dropdown-menu a {
    color: black !important;
  }

  header .offcanvas .dropdown-menu a:hover {
    background: #f8f8f8 !important;
    color: #172B68 !important;
  }
}

/* Fix dropdown on desktop header */
@media (min-width: 992px) {
  header .dropdown-menu {
    position: absolute !important;
    top: 100%;
    right: 0;
    z-index: 1100;
    display: none;
    background: white;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  header .dropdown:hover .dropdown-menu {
    display: block;
  }
}


@media (max-width: 991.98px) {
  .navbar-brand {
    margin-left: auto;
    margin-right: auto;
    display: block;
    text-align: center;
  }
}
@media (max-width: 767.98px) {
  .submenu-inner {
    padding: 150px 30px;
    gap: 12px;
  }

  .submenu-title {
    font-size: 32px;
  }

  .close-submenu {
    font-size: 36px;
  }

  .submenu-list li:not(.submodels li) {
    font-size: 28px;
    transform: translateY(40px);
  }

  .submodels a {
    font-size: 16px;
  }

  .line-tabs button {
    font-size: 14px;
    padding: 5px 10px 5px 0px;
  }

  .line-content a {
    font-size: 14px;
  }
}

@media (max-width: 1024px) {
  .submenu-banner-bg {
      display: none;
    }
}

@media only screen 
  and (min-device-width: 1024px) 
  and (max-device-width: 1366px) 
  and (orientation: portrait), 
only screen 
  and (min-device-width: 1024px) 
  and (max-device-width: 1366px) 
  and (orientation: landscape) {
  
  .p-sm {
    font-size: 13px;
  }
}

@media (max-width: 767px) {
  #heroSection h1 {
    font-size: 28px !important;
    text-align: center;
  }

  #heroSection p {
    font-size: 18px !important;
    text-align: center;
    padding: 0 20px;
  }
  #heroSection .text-english p {
      line-height:0.8;
  }
}
