/*RESPONSIVE MEDIA QUERIES  */

@media (max-width: 468px) {
  .al-bahar-slider .slider-content {
    padding: 2rem !important;
    min-height: 500px;
  }
  .carousel-indicators {
    left: 20px;
  }

  .portfolio-tabs {
    padding: 30px 20px;
  }

  .portfolio-content {
    padding: 80px 20px;
  }

  .portfolio-tabs .nav-tabs .nav-link {
    font-size: 0.5rem;
    border-radius: 50px;
    padding: 0.2rem 1rem;
  }

  .portfolio-section h3 {
    font-size: 0.8rem;
  }

  .video-content {
    left: 40px !important;
    bottom: 30px;
  }

  .video-banner h1 {
    font-size: 2rem;
    padding-bottom: 0.5rem;
  }

  .video-banner p {
    font-size: 1rem;
  }
  .carousel-fade-left {
    background: none !important;
  }
  .carousel-fade-right {
    background: none !important;
  }
}

@media (max-width: 480px) {
    .leadership-team .card-info {
    transform: translateY(58%) !important;
  }
  section {
    padding: 30px 0;
    overflow: hidden;
  }

  .footer-location {
    padding: 15px 0 !important;
  }
    .card-info {
    transform: translateY(40%) !important;
  }
}

@media (max-width: 576px) {
  .image-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .line-1,
  .line-2,
  .line-3,
  .line-4 {
    font-size: 1.5rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
  }

  .spaced {
    letter-spacing: 0.2em;
  }

  .decorative-img {
    width: 50px;
  }

  .slick-carousel {
    margin: 0;
  }

  .counter-section h3 {
    font-size: 1.2rem;
  }

  .counter-section .para {
    font-size: 1.5rem;
    padding: 0;
  }

  .expertise-card {
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    transform: none !important;
  }

  .expertise-card img {
    max-height: 220px;
    object-fit: cover;
  }

  .card-content {
    padding: 20px;
  }

  .card-content h3 {
    font-size: 1.2rem;
  }

  .card-content p {
    font-size: 0.95rem;
  }

  .expertise-slider .btn {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }

  .carousel-fade-left,
  .carousel-fade-right {
    display: none;
  }

  .slick-dots {
    display: block !important;
    bottom: -20px;
  }

  .slick-dots li button:before {
    color: var(--secondary);
    opacity: 0.7;
    font-size: 14px;
  }

  .slick-dots li.slick-active button:before {
    opacity: 1;
    color: var(--primary);
  }
}

@media (max-width: 767px) {

  .services-slider .carousel-button {
 
top: unset !important;
    }
  .services-slider .slider-content {
    padding: 2rem !important;
    min-height: 470px;
  }
    .services-slider .carousel-item {
    height: unset !important;
  }
  .services-slider .slider-image {
    height: 500px !important;
  }
 
  .al-bahar-slider .slider-image {
    height: 500px !important;
  }
  .h1,
  h1 {
    font-size: 1.75em;
  }

  .h2,
  h2 {
    font-size: 1.57em;
  }

  .h3,
  h3 {
    font-size: 1.39em;
  }

  .h4,
  h4 {
    font-size: 1.21em;
  }

  .h5,
  h5 {
    font-size: 1.075em;
  }

  .h6,
  h6 {
    font-size: 1em;
  }

  .border-admin {
    border: 0 !important;
  }

  .uhm-logo img {
    height: 60px !important;
  }

  .video-content {
    left: 60px;
  }

  #footer .footer-bottom {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  #footer .copyright,
  #footer .credits {
    text-align: center;
    float: none;
  }

  #footer .credits {
    padding-top: 4px;
  }

  .text-block .line {
    font-size: 1.5rem;
  }

  .video-caption {
    top: 70%;
  }

  .video-wrapper,
  .text-content {
    min-height: 360px;
  }

  .decorative-img {
    width: 70px;
  }

  .social-icons ul li {
    height: 30px !important;
    width: 30px !important;
    border: 2px solid transparent;
    font-size: 15px !important;
  }
  .social-icons ul li .fa-facebook-f {
    font-size: 15px !important;
  }
    .social-icons ul li .fa-x-twitter {
    font-size: 15px !important;
  }
    .social-icons ul li .fa-linkedin-in {
    font-size: 15px !important;
  }
  .social-icons ul li .fa-instagram {
  font-size: 18px !important;
}
  .social-icons ul li .fa-youtube {
  font-size: 18px !important;
}

  .portfolio-content {
    padding: 80px 25px !important;
  }
  .portfolio-tabs {
    padding: 30px 25px !important;
  }
  .carousel-indicators {
    left: 25px !important;
  }
  .featured__projects .featured_content {
    padding: 20px 25px 30px 25px !important;
    height: fit-content !important;
  }
  /* .featured__projects .featured_content {
    height: 270px !important;
  } */
  .card-info {
    transform: translateY(55%) !important;
  }
}

@media (max-width: 991px) {
  .services-slider .slider-content {
    padding: 2rem !important;
  }
 
  .al-bahar-slider .slider-content {
    padding: 2rem !important;
  }
 
  .al-bahar-slider .carousel-indicators {
    bottom: 1rem !important;
    left: 2rem !important;
  }
  .services-slider .carousel-indicators {
    margin: auto 2rem !important;
  }
  
  .services-slider .slider-content {
    padding: 2rem !important;
  }
  .services-slider .carousel-button {
    top: 2.5rem !important;
    right: 2rem !important;
    width: 75px;
  }
  .our-group-section .group-card {
    position: relative;
    width: 100% !important;
    height: 400px;
  }
 
  .our-group-section .group-card.rounded-pill {
    border-radius: 1rem !important;
  }
 
  .our-group-section .group-card-content {
    position: absolute !important;
    z-index: 1 !important;
    width: 100% !important;
    text-align: center !important;
    align-items: center !important;
    padding: 0 !important  ;
    box-shadow: none !important;
    mask-image: none !important;
  }
 
  .our-group-section .group-card-image {
    width: 100% !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), -8px 0 32px rgba(0, 0, 0, 0.2) !important;
 
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0%,
      rgb(0, 0, 0) 20%,
      black 80%,
      transparent 100%
    ) !important;
    mask-image: linear-gradient(
      to right,
      transparent 0%,
      black 20%,
      black 80%,
      transparent 100%
    ) !important;
  }
  .our-group-section .blur-gradient-overlay {
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0.5)
    ) !important;
  }
  .h1,
  h1 {
    font-size: 2em;
  }

  .h2,
  h2 {
    font-size: 1.77em;
  }

  .h3,
  h3 {
    font-size: 1.54em;
  }

  .h4,
  h4 {
    font-size: 1.31em;
  }

  .h5,
  h5 {
    font-size: 1.1em;
  }

  .h6,
  h6 {
    font-size: 1em;
  }

  #expertise-slider {
    padding-bottom: 30px;
  }

  .slick-carousel {
    margin: 0 -14rem;
  }

  .slick-carousel .slick-slide > div {
    padding: 0 20px 40px;
  }

  .expertise-card {
    height: auto;
    min-height: auto;
  }

  .expertise-card img {
    max-height: 260px;
    object-fit: cover;
  }

  .card-content {
    padding: 25px;
  }

  .carousel-fade-left,
  .carousel-fade-right {
    width: 100px;
  }

  .slick-center .expertise-card {
    transform: translateY(60px);
  }

  .counter-section h3 {
    font-size: 1.4rem;
  }

  .counter-section .para {
    font-size: 1.7rem;
    padding: 0;
  }

  .counter-section h4 {
    font-size: 1.4rem;
  }

  

  .counter-section-1,
  .counter-section-2 {
    padding: 0 30px;
  }

.mobile-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    text-align: center;
    background-color: rgba(21, 52, 42, 0.9);
    z-index: 1050;
    padding: 5rem;
    overflow-y: auto;
 
    /* Slide from top */
    transform: translateY(-100%);
    transition: transform 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    pointer-events: none;
  }
 
  .mobile-fullscreen.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
 
  /* Nav item animations */
  .mobile-fullscreen .nav-item {
    opacity: 0;
    transform: translateY(20px);
    animation: slideFadeIn 0.5s forwards;
  }
 
  /* Stagger animation delays */
  .mobile-fullscreen .nav-item:nth-child(1) { animation-delay: 0.2s; }
  .mobile-fullscreen .nav-item:nth-child(2) { animation-delay: 0.4s; }
  .mobile-fullscreen .nav-item:nth-child(3) { animation-delay: 0.6s; }
  .mobile-fullscreen .nav-item:nth-child(4) { animation-delay: 0.8s; }
  .mobile-fullscreen .nav-item:nth-child(5) { animation-delay: 1s; }
  .mobile-fullscreen .nav-item:nth-child(6) { animation-delay: 1.2s; }
  .mobile-fullscreen .nav-item:nth-child(7) { animation-delay: 1.4s; }
 
  @keyframes slideFadeIn {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
 
  #navbarMenu .navbar-nav {
    gap: 2rem !important;
  }
 

  #navbarMenu .navbar-nav {
    gap: 2rem !important;
  }

  .card-info {
    transform: translateY(35%) !important;
  }
  .hotels-resorts .row > * {
    padding-right: calc(var(--bs-gutter-x) * 0.5) !important;
  }
  /*.featured__projects .featured_content {
    height: 270px !important;
  }*/
}

@media (max-width: 1400px) {
  .al-bahar-slider .slider-content {
    padding: 5rem 2rem 5rem 5rem !important;
  }
  .al-bahar-slider .carousel-indicators {
    left: 5rem !important;
  }
  .leadership-team .card-info {
    transform: translateY(50%) !important;
  }
  .leadership-team .team-card .member-card-info {
    transform: translateY(45%);
  }
  .featured__projects {
    height: 700px !important;
  }
  .featured-content-one {
    transform: translate(25rem, 2rem) !important;
    z-index: 2;
  }

  .featured-content-two {
    transform: translate(-25rem, 4rem) !important;
  }

  .careers .featured-content-two {
    transform: translate(-25rem, 6rem) !important;
  }
  .card-info {
    transform: translateY(35%) !important;
  }
  .feature-two {
    transform: translateY(20rem) !important;
  }
  .careers .feature-two {
    transform: translateY(18rem) !important;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  
.counter-section .counterpara {
  font-size: 0.8rem;
}

.counter-section h4 {
  font-size: 3.2rem !important;
}
}

@media (max-width: 1200px) {
  .services-slider .carousel-button {
    right: 2rem !important;
  }
  .carousel-indicators {
    left: 60px;
  }

  .portfolio-tabs {
    padding: 30px 60px;
  }

  .portfolio-content {
    padding: 80px 60px;
  }


  .featured__projects {
    height: fit-content !important;
  }

  .featured-content-one,
  .featured-content-two {
    transform: none !important;
    position: static !important;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }

  .feature-one,
  .feature-two {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
  }

  .featured__projects img {
    width: 100%;
    height: auto;
  }

  .featured__projects .featured_content {
    padding: 20px;
    transform: unset !important   ;
    height: fit-content !important;
  }

  .feature-two {
    transform: unset !important;
    z-index: 1;
  }
  .careers .feature-two {
    transform: unset !important;
  }
  .card-info {
    transform: translateY(45%) !important;
  }
}




@media (min-width: 768px) {

  .expertise-intro p {
    font-size: 1.7rem;
    padding: 0 70px;
    letter-spacing: 0;
    line-height: 30px;
    color: #474747;
  }
}

@media only screen and (min-width: 1601px) {
  section > .minHeight {
    min-height: 250px;
  }
}


/*contact*/
@media (max-width: 767px) {
  .services-slider .slider-content {
    padding: 2rem !important;
    min-height: 470px;
  }
  .services-slider .carousel-item {
    height: unset !important;
  }
 
  .al-bahar-slider .slider-content {
    padding: 2rem !important;
    min-height: 310px;
  }
  .al-bahar-slider .carousel-item {
    height: unset !important;
  }
  .al-bahar-slider .carousel-button {
    right: 0% !important;
    top: unset !important;
  }
 
  .al-bahar-slider .carousel-indicators {
    left: 2rem !important;
  }
 
  .services-slider .carousel-indicators {
    left: 25px !important;
    margin: 0 !important;
  }
 
  .leadership-team .card-info {
    transform: translateY(50%) !important;
  }
 
  
  .modal-body {
    flex-direction: column;
  }
  .modal-image {
    flex: 0 0 250px;
  }
  .modal-content {
    padding: 8px !important;
  }
  .contact-form .row {
    flex-direction: column;
  }
 
  .contact-form .col-lg-6 {
    width: 100%;
  }
 
  .phone-group {
    flex-direction: row !important; /* Force same line on small screens */
  }
 
  .phone-group select,
  .phone-group input {
    flex: 1 1 auto;
  }
 
  .phone-group select {
    max-width: 120px;
  }
 
  .right-side {
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 768px) {
  .location-header {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
  }
 
  .location-title {
    font-size: 1.1rem;
    white-space: nowrap;
  }
 
  .tab-dropdown {
    flex-shrink: 0;
  }
}

@media (max-width: 767px) {
    .section-title {
      font-size: 2rem;
      text-align: center;
    }
 
    .container-box {
      padding: 20px;
    }
  }
  /*contact*/
  @media (max-width: 576px) {
    .services-slider .slider-content {
    padding: 2rem !important;
    min-height: 650px;
  }
 
  .al-bahar-slider .slider-content {
    padding: 2rem !important;
    min-height: 370px;
  }
    
  .counter-section-1,
.counter-section-2 {
  padding: 0;
}
.leadership-team .card-info {
    transform: translateY(50%) !important;
  }
}

/* SMALL SLIDER */
 
 
 
.services-slider .small-slider .carousel-item  {
  height: 450px;
  min-height: 450px;
}

@media (max-width: 1460px) {
  .services-slider .small-slider .carousel-item {
    height: 500px;
    min-height: 500px;
  }
}
 
 
@media (max-width: 1400px) {
  .services-slider .small-slider .carousel-item {
    height: 500px;
    min-height: 550px;
  }
}
 
@media (max-width: 1200px) {
  .services-slider .small-slider .carousel-item {
    height: 600px;
    min-height: 600px;
  }
}
 
@media (max-width: 991px) {
  .services-slider .small-slider .carousel-item {
    height: 550px;
    min-height: 550px;
   
  }
}
 
@media (max-width: 767px) {
    .services-slider .small-slider .slider-content {
        height: 440px;
        min-height: 440px;
    }
}
 
@media (max-width: 567px) {
    .services-slider .small-slider .slider-content {
        height: 500px;
    }
}
 
@media (max-width: 468px) {
    .services-slider .small-slider .slider-content {
        height: 580px;
    }
}