
/* responsive css for slider*/
@media only screen and (min-width: 992px) {
  .main-slider-two__text {
    width: 61% !important;
  }
}

/* responsive css for logo */
@media only screen and (max-width: 991px) {
  .main-menu-three__logo {
    width: 160px !important;
  }
  
  .main-menu-three__logo img {
    width: 160px !important;
    height: auto !important;
  }
}

/* responsive css for slider height */
@media only screen and (max-width: 991px) {
  .main-slider-two,
  .main-slider-two .swiper,
  .main-slider-two .swiper-slide {
    height: 60vh !important;
    min-height: 500px;
  }
}

/* responsive css for project-two (products) on mobile */
@media only screen and (max-width: 767px) {
  .project-two__content {
    padding: 40px 20px 25px !important;
    left: 10px !important;
    bottom: 10px !important;
    right: 10px !important;
    /* Keep original hidden state - content shows on touch/hover with animation */
  }

  .project-two__content h3 {
    font-size: 18px !important;
    line-height: 24px !important;
    margin-bottom: 8px !important;
  }

  .project-two__content p {
    font-size: 14px !important;
  }

  .project-two__icon-box {
    top: 6px !important;
    right: 6px !important;
  }

  .project-two__icon-box a {
    width: 40px !important;
    height: 40px !important;
    font-size: 14px !important;
  }

  .project-two__text-box {
    text-align: center !important;
  }

  .about-five {
      padding: 0px 0 50px !important;
  }
 
.author-one__Vission-mission {
  margin-top: 0px !important;
}
.author-one__img-box { 
  top: 0% !important;
}
.author-one__img-box { 
  margin: 0px auto 50px !important;
}

.author-one__text-box { 
  margin: 0 auto 50px !important;
}
.faq-one__right .faq-one-accrodion .accrodion-title {
  padding: 5px 0px 5px !important;
}
.team-details-contact__btn-box {
  margin-bottom: 50px !important;
}

}

/* responsive css for director message layout - always image first on mobile */
@media only screen and (max-width: 991px) {
  .team-details__top .row {
    display: flex;
    flex-direction: column;
  }
  
  /* Ensure full width on mobile */
  .team-details__top .row > .col-xl-5,
  .team-details__top .row > .col-xl-7 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }
  
  /* For layout where content comes first (odd index), reorder on mobile */
  /* Image column (col-xl-5) should come first */
  .team-details__top .row > .col-xl-5 {
    order: 1 !important;
  }
  
  /* Content column (col-xl-7) should come second */
  .team-details__top .row > .col-xl-7 {
    order: 2 !important;
    padding-left: 0 !important;
  }
  
  .team-details__top-right {
    margin-left: 0 !important;
    margin-top: 20px !important;
  }
  
  /* Reorder content: Name and Title should come before Description on mobile */
  .team-details__client-box {
    display: flex;
    flex-direction: column;
  }
  
  /* Name comes first after image */
  .team-details__client-name {
    order: 1 !important;
    margin-top: 15px !important;
    /* margin-bottom: 10px !important; */
}
  
  /* Title/Designation comes second */
  .team-details__client-sub-title {
    order: 2 !important;
    margin-bottom: 20px !important;
  }
  
  /* Address list comes third (after title) */
  .team-details__client-address {
    order: 3 !important;
  }
  
  /* Description comes last */
  .team-details__client-text {
    order: 4 !important;
  }

  .team-details {
    padding: 80px 0 80px !important;
}

.team-details__top {
  position: relative;
  display: block;
  padding-bottom: 0px !important;
  border-bottom: 1px solid rgba(var(--skrmindia-black-rgb), .10);
  margin-bottom: 0px !important;
}

.team-details__client-address {
  position: relative;
  display: block;
  border-top: 1px solid rgba(var(--skrmindia-black-rgb), .10);
  margin-top: 0px !important;
  margin-bottom: 20px !important;
  padding-top: 20px !important;
}
}

/* responsive css for infrastructure layout on mobile */
@media only screen and (max-width: 991px) {
  .our-story__inner {
    min-height: auto !important;
    position: relative;
    padding: 30px 20px !important;
    background-color: #f9f9f9;
    margin-bottom: 30px !important;
    display: block !important;
    overflow: visible !important;
  }

  /* Make background images work better on mobile */
  .our-story__bg,
  .our-story__bg_left {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 250px !important;
    margin-bottom: 20px !important;
    margin-top: 0 !important;
    border-radius: 8px;
    overflow: hidden;
    z-index: 1 !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }

  .our-story__bg-shape {
    display: none !important;
  }

  /* Ensure columns stack properly */
  .our-story__inner .row {
    margin: 0 !important;
  }

  .our-story__inner .col-xl-6 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding: 0 !important;
  }

  /* Adjust spacing */
  .our-story {
    padding: 60px 0 80px !important;
  }

  .our-story__left,
  .our-story__right {
    padding: 0 !important;
  }

  /* Ensure content is readable */
  .our-story__text {
    margin-top: 20px !important;
  }

  /* Ensure all sections are visible */
  .our-story .container > div {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* Make sure background divs are not hidden */
  .our-story__inner > div[class*="our-story__bg"] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }


  .our-story__bg-shape {  
    width: 0% !important; 
  }

  .partner-content__btn-box {
    margin-bottom: 30px !important;
  }

  /* responsive css for FAQ page on mobile */
  .faq-page {
    padding-bottom: 60px !important;
    margin-bottom: 80px !important;
  }

  .faq-one__right,
  .faq-page__right {
    margin-bottom: 30px !important;
  }


  .footer-widget-two__title-box { ;
    margin-top: 25px !important;
}
}