@media only screen and (min-width: 767px) {
    #video, #videoDiv {
        display: block;
        height: calc(100vh - 100px);
    }
}
@media (min-width: 992px) {
  .navbar-expand-xl .navbar-nav .nav-link {
    padding: 5px 15px !important;
  }
}
@media (min-width: 1200px) {
  .navbar-expand-xl .navbar-nav .nav-link {
    color: #1a1a1a;
    font-size: 13px;
    padding: 5px 10px !important;
    margin: 0 2px;
    transition: all ease-in-out 0.5s;
    -moz-transition: all ease-in-out 0.5s;
    -webkit-transition: all ease-in-out 0.5s;
    -o-transition: all ease-in-out 0.5s;
    -ms-transition: all ease-in-out 0.5s;
    -khtml-transition: all ease-in-out 0.5s;
  }

  .navbar-expand-xl .navbar-nav .nav-link:hover {
    color: #e43639;
    background-color: #fff;
    border-radius: 5px;
    -moz-box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    -o-box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  }

  .navbar-expand-xl .offcanvas .offcanvas-body {
    justify-content: center;
    align-items: center;
  }

  .navbar-expand-xl .navbar-nav {
    max-width: 100%;
  }

  .navbar.fixtop {
    top: 5px;
    transition: all ease-in-out 0.2s;
    -moz-transition: all ease-in-out 0.2s;
    -webkit-transition: all ease-in-out 0.2s;
    -o-transition: all ease-in-out 0.2s;
    -ms-transition: all ease-in-out 0.2s;
    -khtml-transition: all ease-in-out 0.2s;
  }

  .fixedbar:before {
    width: 100%;
    content: "";
    display: block;
    height: 80px;
    z-index: 99;
    position: fixed;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    top: 0;
    left: 0;
    transition: all ease-in-out 0.5s;
    -moz-transition: all ease-in-out 0.5s;
    -webkit-transition: all ease-in-out 0.5s;
    -o-transition: all ease-in-out 0.5s;
    -ms-transition: all ease-in-out 0.5s;
    -khtml-transition: all ease-in-out 0.5s;
  }

  .navbar.fixtop .logo {
    width: 110px;
  }

  .servicePage.fixedbar:after {
    width: 35%;
    content: "";
    display: block;
    height: 80px;
    z-index: 9;
    position: fixed;
    background: rgba(60, 29, 159, 1);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    top: 0;
    left: 0;
    transition: all ease-in-out 0.5s;
    -moz-transition: all ease-in-out 0.5s;
    -webkit-transition: all ease-in-out 0.5s;
    -o-transition: all ease-in-out 0.5s;
    -ms-transition: all ease-in-out 0.5s;
    -khtml-transition: all ease-in-out 0.5s;
  }


  .servicePage .navbar-expand-xl .offcanvas .offcanvas-body {
    justify-content: space-between;
  }

  .servicePage .mainLogo,
  .serviceLogo,
  .servicePage.serviceInner .serviceLogo {
    display: none;
  }

  .servicePage .serviceLogo,
  .servicePage.serviceInner .mainLogo {
    display: block;
  }

  .servicePage .navbar-expand-xl .navbar-nav {
    display: block;
    position: absolute;
    right: -50%;
    padding-top: 110px;
    top: 0;
    background-color: #3c1d9f;
    height: 100vh;
    min-width: 360px;
    width: 35%;
    transition: all ease-in-out 0.5s;
    -moz-transition: all ease-in-out 0.5s;
    -webkit-transition: all ease-in-out 0.5s;
    -o-transition: all ease-in-out 0.5s;
    -ms-transition: all ease-in-out 0.5s;
    -khtml-transition: all ease-in-out 0.5s;
  }

  .servicePage .navbar-expand-xl .navbar-nav.showw {
    right: 0;
  }

  .servicePage .navbar-expand-xl .navbar-nav .nav-link {
    color: #fff;
    font-size: 23px;
    padding: 10px !important;
    margin: 10px;
    transition: all ease-in-out 0.5s;
    -moz-transition: all ease-in-out 0.5s;
    -webkit-transition: all ease-in-out 0.5s;
    -o-transition: all ease-in-out 0.5s;
    -ms-transition: all ease-in-out 0.5s;
    -khtml-transition: all ease-in-out 0.5s;
    text-align: right;
  }

  .servicePage .navbar-expand-xl .navbar-nav .dropdown-menu {
    right: 0;
  }

  .servicePage .navbar-expand-xl .navbar-nav .nav-link:hover {
    color: #00a0dc;
    background-color: transparent;
  }

  .servicePage.white-shadow .navbar-expand-xl .offcanvas .offcanvas-body {
    justify-content: flex-end;
  }

  .fixtop article.offcanvas-body {
    padding-top: 3px !important;
  }
}
@media (min-width: 1400px) {

  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl,
  .container-1650.container {
    max-width: 1420px;
  }

  .navbar-expand-xl .offcanvas .offcanvas-body {
    padding: 0 30px;
  }
}
@media (min-width: 1700px) {
  .container-1650.container {
    max-width: 1650px !important;
  }
}



@media(max-width: 1399px) {
  .servicePage .search {
    margin-right: 80px;
  }

  p,
  .sitopSection ul li {
    font-size: 18px;
    line-height: 1.3rem;
  }
  .news-block .card.attorney-item .card__background, .news-block .card.card-news .card__background {
    padding-right: 1rem;
  }
  .news-block .card.card-news .card-news-descr p {
    font-size: 14px;
    line-height: 20px;
  }
  .news-block .card.card-news .title.h5 {
    font-size: 1.2rem;
  }
  .news-block .card.attorney-item .card__background, .news-block .card.card-news .card__background {
    padding-right: 1rem;
    clip-path: polygon(0 0,100% 0,100% calc(100% - 3rem),calc(100% - 3rem) 100%,0 100%);
  }
  .news-block .card .arrow {
    right: 0.1rem;
    bottom: 0.5rem;
  }
  .news-block .card.card-news .title.h5 {
    font-size: 1rem;
  }
  .news-block .card {
    min-height: 360px;
  }
  .news-block .card:hover .card__background {
    background-color: #36169c;
    clip-path: polygon(0 0,100% 0,100% 100%,100% 100%,0 100%);
    transition: all .3s ease;
  }
  .addres-area h6.serv:before {
    width: 330px;
  }
}

@media(max-width: 1299px) {
  .serviceBody ul li {
    width: 50%;
    padding: 18px;
  }
  .sitopLeft {
    padding-right: 0;
  }
}

@media(max-width: 1199px) {

  .footercontent {
    max-width: 100%;
  }

  .cross .navbar-toggler-icon {
    background-image: url(../images/cross.png);
    width: 17px;
  }

  .sidebar {
    width: 100% !important;
    border-right: none !important;
    background-color: #f2f2f2;
  }

  .navbar-expand-xl .navbar-nav .nav-item {
    margin: 4px 0;
    padding: 10px 15px !important;
    background-color: rgba(255, 255, 255, 0.5);
    position: relative;
    padding-right: 10px;
    -moz-box-shadow: 0 0 20px rgba(0, 0, 0, 0.04);
    -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.04);
    -o-box-shadow: 0 0 20px rgba(0, 0, 0, 0.04);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.04);
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -o-border-radius: 5px;
    -ms-border-radius: 5px;
    -khtml-border-radius: 5px;
    border-radius: 5px;
  }

  .navbar-expand-xl .navbar-nav .nav-item:first-child {
    margin-top: 10px;
    padding-bottom: 0px;
  }

  .navbar-expand-xl .navbar-nav .nav-link {
    padding: 0 !important;
    position: relative;
  }

  .navbar {
    top: 0px;
  }

  .navbar-toggler {
    margin-top: 12px;
    z-index: 9999;
    background-color: #ffffff00;
  }

  .mobLogo {
    margin-bottom: 22px;
  }

  .mobLogo img {
    width: 100px;
    margin-top: 7px;
    margin-right: 30px;
    margin-left: 15px;
  }

  .navright .journey {
    width: 100%;
    height: 45px;
  }

  .navright .journey br {
    display: none;
  }

  .navright {
    flex-wrap: wrap;
  }

  .navright .profile,
  .navright .cart {
    width: 48px;
    height: 45px;
    margin: 23px 21px 0;
  }

  .navright {
    width: 180px;
    margin-top: 25px;
    margin-right: 45px;
  }

  .logoInner:after {
    display: none;
  }

  .navbar>.container-fluid {
    justify-content: flex-end !important;
  }

  .offcanvas-body .logo {
    padding: 10px 0 0 16px;
    width: 200px;
    height: 90px;
    left: -14px;
    margin-top: -14px;
  }

  .offcanvas-body .logo img {
    max-width: 125px;
    margin-top: 4px;
  }

  .navbar-nav {
    padding-right: 0 !important;
  }

  .mobLogo {
    display: block;
  }

  header {
    position: fixed;
    z-index: 99;
    top: 0;
    background: rgba(255, 255, 255, 0.9);
    width: 100%;
    height: 70px;
  }

  html,
  body {
    padding: 35px 0 0;
  }

  .navbar-expand-xl .navbar-toggler {
    display: block !important;
  }

  .navbar-expand-xl .navbar-nav {
    flex-direction: column !important;
  }

  .search {
    height: 35px;
    margin-top: 15px;
  }

  .offcanvas-body .logo.serviceLogo,
  .servicePage .menu-toggle {
    display: none;
  }

  .servicePage .search {
    margin-right: 0;
  }

  .serviceBody ul li {
    padding: 8px;
  }

  .expertise-section .title-def {
    margin: 10px 0px 0px 6px;
    padding: 0 0 10px;
  }

  .section-title h2 {
    font-size: 36px;
  }

  .image.card {
    height: 322px;
  }
  .search .form-control {
    height: 38px;
  }

  h2.client-heading {
    top: -24px;
  }

  .news-block {
    padding: 30px 0;
  }
  .news-block .card {
    min-height: 300px;
  }
  .addres-area h6.serv:before, h6.services-listsec {display: none;}
  .social-icon {text-align: left; margin-bottom: 5px;}
}

@media(max-width: 991px) {
  section.team-section {
    padding: 0 10px;
  }

  .banner-desc {
    padding-right: 20px;
  }

  .abtIm {
    order: 0;
    margin-bottom: 30px;
  }

  .page-banner-area {
    padding: 100px 0;
  }

  .page-banner-area .title {
    max-width: 70%;
  }

  .page-banner-area .title h3 {
    font-size: 42px;
  }

  .about-img {
    max-width: 400px;
    margin: 0 auto;
  }

  .legacy-slider,
  .leader-img-container {
    height: 350px;
  }

  .leader-img {
    width: 220px;
    height: 220px;
  }

  .circle-animation {
    width: 240px;
    height: 240px;
  }

  .image.card {
      height: 347px;
  }

  .awards-section {
    padding: 60px 0;
  }

  .history-section .industries-main .element-item {
    height: 200px;
  }

  .career-inner-wrappers .job-content-details {
    margin-left: 10px;
  }
  .sticky-col {
    position: static;
  }
  .tp-gallery-shape-2 {
    bottom: 28px;
    left: -5%;
    width: 110%;
  }
  .tp-gallery-shape-1 {
    top: -4px;
    left: -5%;
    width: 110%;
  }
  .profile-inner-wrapper .profile-image {
    width: 200px;
    height: 200px;
  }
  .sitopLeft {
    padding-right: 0;
  }
  .office-slider .slides {
    width: 50%;
  }
  .contact-form-sec .contact-form2 {margin-top: 20px;}
  .awardItemArea ul li {
    width: 100%;
  }
  .awards-section.awardArea {
    padding: 25px 0;
  }
}

@media(max-width: 767px) {
  .timeline-container{
    width: 100%;
  }
  .timeline::after{
    content: none;
  }
  .timeline-container::after {
    content: none ;
  }
  .left{
    right: 0;
    padding-right: 0px;
  }
  .right {
    left: 0;
    padding-left: 0px;
  }
  #messageBox h3 {
    font-size: 1.5rem;
    margin-bottom: -10px;
  }

  h2.client-heading {
    position: static;
  }

  .sitopLeft {
    padding-right: 0;
  }

  section.team-section,
  section.team-section .container-fluid {
    padding: 0;
  }

  .banner-desc {
    width: 100%;
    position: static;
    background: #3c1d9f;
    padding: 20px;
    height: auto;
  }

  .banner-overlay {
    display: none;
  }

  .serviceBody {
    width: 100%;
    margin-left: 0;
    padding: 0 10px;
  }

  .expertise-section .title-def {
    font-size: 28px;
  }

  .serviceBody ul li a {
    min-height: 1px;
    padding: 15px;
    font-size: 15px;
  }

  .page-banner-area {
    padding: 80px 0;
    text-align: center;
  }

  .page-banner-area .title {
    max-width: 100%;
  }

  .page-banner-area .title h3 {
    font-size: 36px;
  }

  .page-banner-area .title ul {
    justify-content: center;
  }

  .section-title h2 {
    font-size: 28px;
  }

  .single-practice-card .p-image {
    flex: 0 0 180px;
  }

  .single-practice-card .card-body {
    padding: 20px;
  }

  .testimonials-area {
    padding: 60px 0;
  }

  .section-title h2 {
    font-size: 32px;
  }

  .testimoni-card {
    padding: 20px;
  }

  .user img {
    width: 60px;
    height: 60px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .legacy-slider {
    height: 300px;
    margin-bottom: 30px;
  }

  .slide-caption {
    padding: 20px;
  }

  .slider-nav {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .stat-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }

  .leader-img {
    width: 200px;
    height: 200px;
  }

  .leader-body {
    padding: 25px;
  }

  .service-card {
    padding: 25px;
  }

  .service-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .memberships-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }

  .section-title.memberships-title {
    font-size: 1.8rem;
  }

  .image.card {
    height: 540px;
  }

  .team-hero {
    padding: 60px 0;
  }

  h3.fw-semibold {
    font-size: 22px;
    padding-left: 10px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .ab-2-portfolio-thumb::after {
    font-size: 1.2rem;
  }

  .history-section .industries-main .element-item {
    width: 50%;
  }

  .profile-inner-wrapper .profile-grid {
    grid-template-columns: 1fr;
  }
  .news-block .card {
    min-height: 1px;
  }
  .block-header .btns.white-btn {
    font-size: 0.75rem;
    font-weight: 300;
    padding: 6px 11px;
    margin-top: 8px;
    display: inline-block;
  }
  .legacyContent.mt-10 {
    margin-top: 2rem !important;
  }
  .offices {
    padding: 12px 0px 40px;
  }
  .simidSection .submit {
    padding: 1px 15px;
    border-radius: 4px;
    height: 46px;
    width: 120px;
    margin-top: 12px;
    font-weight: 600;
    font-size: 16px;
  }
  .leaderContent .lead {
    font-size: 1rem;
    font-weight: 400;
  }
  .sitopSection .col-xxl-9 {order: 3; margin-top: 20px;}
}

@media(max-width: 640px) {

.left-col p {
  text-align: center;

}
.right-col {
    text-align: center;
}
  .office-slider .slides {
    width: 100%;
  }

  .office-slider .call-wrp p a {
    font-size: 20px;
  }
  
}

@media (max-width: 575px) {
  .job-content {
    padding: 14px 15px;
  }

  .job-content .apply-btn {
    padding: 8px;
    width: 80px;
  }

  .stat-item {
    margin-bottom: 30px;
  }

  .stat-item:last-child {
    margin-bottom: 0;
  }

  .membership-badge {
    padding: 10px 20px;
    font-size: 0.85rem;
    width: 100%;
    margin: 8px 0;
  }

  .image.card {
    height: auto;
  }
  .team-img {
    width: 100%;
    height: auto;
    object-fit: inherit;
  }

  .career-sec h5.tp-hero-title {
    font-size: 20px;
  }

  .job-content-left h3 {
    font-size: 20px;
  }

  .job-content-left h6 {
    font-size: 16px;
  }

  .job-content .apply-btn {
    font-size: 14px;
    font-weight: 600;
    min-width: 80px;
  }

  .form-control {
    margin-bottom: 12px;
    font-size: 15px;
    margin-top: 3px;
  }

  .form-select {
    font-size: 15px;
  }

  .btns {
    font-size: 13px;
    font-weight: 300;
    padding: 10px 15px;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .history-section {
    padding: 30px 0;
  }

  .section-header {
    margin-bottom: 10px;
  }
  .about-section {
    padding: 30px 0;
    background-color: white;
  }
  .legacyContent .lead {
      font-size: 0.9rem;
      font-weight: 500;
  }
  .legacyContent .section-title {
    font-size: 1.2rem;
    padding-bottom: 9px;
    margin-bottom: 20px;
  }
  .simidSection h2 {
    font-size: 20px;
    margin-bottom: 10px;
  }
  .awards-section {
    padding: 20px 0;
  }
  .sitopSection h1 {
    font-size: 30px;
    margin-top: 20px;
  }
  p, .sitopSection ul li, .award-item {
    font-size: 15px;
    line-height: 1rem;
    margin-bottom: 17px;
  }
  .achievements-list li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 5px;
    font-size: 15px;
  }

  .simidSecCard ul li {
    margin-top: 10px;
    font-size: 15px;
  }

  .sideBar h2 {
    font-size: 20px;
    margin-bottom: 12px;
  }
  .legacyContent .text-center.mt-3 h3, .legacyContent .section-title {
    font-size: 1.2rem;
  }
  .banner-desc p {
    line-height: 22px;
  }

  .page-banner-area {
    padding: 60px 0;
  }

  .page-banner-area .title h3 {
    font-size: 30px;
  }

  .page-banner-area .title ul li {
    font-size: 15px;
    margin-right: 15px;
  }
  .memberships-grid {
    display: block;
  }
  .legacyContent .section-title.mt-5 {
    margin-top: 1rem!important;
  }
  .tp-gallery-shape-1 {
    top: -8px;
    left: -5%;
    width: 110%;
  }
  #videoDiv .video {
    width: 140% !important;
    margin-left: -20% !important;
  }
  #messageBox {
    display: none;
  }
   #videoDiv {overflow: hidden;}
   .about-area.sec-space {
    padding: 12px 0;
  }
  .profile-inner-wrapper .profile-content {
    padding: 15px;
  }
  .profile-sidebar .home-link {padding-top: 0;}
  .career-sec {
    padding: 24px 0;
  }
  .h2, h2 {
    font-size: 24px;
    line-height: 27px;
  }
  .contact-form2 {
    background-color: #f9f8f8;
    padding: 20px 15px 5px;
    border-radius: 20px;
    border: 1px solid #8080802b;
    height: 100%;
  }
  .leaderContent .lead {
    font-size: 1rem;
    line-height: 1.25rem;
    margin-bottom: 24px;
  }
  .bluSecInner {
    display: block;
    padding: 20px 0;
  }
  .bluSecCol {
    margin: 15px 0;
    width: 100%;
  }
  .awards-section.awardArea {
    padding: 26px 0 10px;
  }
  .section-title.memberships-title, .awards-section.awardArea .section-title, .leaderContent .section-title, .leaderContent .text-center.mt-3 h3  {
    font-size: 1.1rem;
    margin-bottom: 20px;
  }
  .profMember {
    padding: 28px 0;
  }
  .bluSecCol p {
    font-size: 16px;
    line-height: 1rem;
  }
  .leaderContent .text-center.mt-3 p:last-child {
    color: var(--dark-color);
    font-size: 16px;
  }
  .upResume {
    margin: -6px 0 20px;
  }
  address, .office-slider .call-wrp p a {
    font-size: 16px;
  }
  .office-slider .slides h4 {
    font-size: 1.2rem;
    margin-bottom: 22px;
  }
  .awardItemArea ul li {
    font-size: 16px;
  }
  .simidSection.bluePadding {
    padding: 20px;
  }
  .simidSection.bluePadding h2 {
    margin-bottom: 10px;
  }
  .sitopLeft .simidSection.bluePadding h3 {
    font-size: 1rem;
  }
  .sitopLeft .simidSection.bluePadding h3 {
    font-size: 18px;
    margin-bottom: 10px;
  }
  .sitopLeft .simidSection.bluePadding .simidSecCard p {
    font-size: 16px;
    line-height: 21px;
  }
}

@media(max-width: 535px) {

  .sitopSection,
  .simidSection {
    padding: 20px 0;
  }

  .breadCrumb {
    margin: 10px 0 20px 5px;
  }

  .sideBar {
    padding: 20px 18px 15px 18px;
  }

  .page-banner-area .title ul li:not(:last-child)::after {
    right: -12px;
  }
  .legacy-slider{
    height: 320px;
    margin: 0 30px 12px 0;
    float: none;
    width: 100%;
  }
  
}
@media(max-width: 479px) {
  .simidSection input[type="text"], .simidSection input[type="email"], .simidSection input[type="tel"], .simidSection textarea {
      border-radius: 5px;
      height: 44px;
      font-size: 15px;
      border: 2px solid #ddd;
  }
}
@media(max-width: 399px) {
  .serviceBody ul li a {
    min-height: 1px;
    padding: 10px;
    font-size: 14px;
  }

  .about-img {
    max-width: 280px;
    margin: 0 auto;
  }

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

  .job-content .apply-btn {
    padding: 8px;
    width: 260px;
    max-width: 100%;
  }

  .history-section .industries-main .element-item {
    height: 170px;
  }
  .legacyContent .text-center.mt-3 h3, .legacyContent .section-title {
    font-size: 1.2rem;
  }
  .tp-gallery-shape-2 {
    bottom: 25px;
  }
  .tp-gallery-shape-1 {
    top: -11px;
  }
}

@media(max-width: 374px) {
  .serviceBody ul li {
    width: 100%;
  }

  .history-section .industries-main .element-item {
    height: 150px;
  }

  .industries-main #filters button {
    padding: 6px 10px;
  }
}



/* Large Mobile :480px. */
@media only screen and (min-width: 320px) and (max-width: 767px){
  

  .scrollable-col {
    position: relative;
    height: auto !important; /* Let it grow naturally */
    overflow-y: hidden !important; /* Disable vertical scrolling */
    padding-right: 0; /* Optional: remove scroll padding */
  }
  
  
  .col-lg-8.scrollable-col.leadership-section.legacyGap {
    padding-right: 20px;
  }

}

@media (min-aspect-ratio: 16 / 9) {
    #video {
        height: 100%;
        top: -100%;
    }
}