.slider-content.slider-content-1 p{
    width: 70%;
    margin: 25px auto 45px;
}
.header-bottom {
    /* background-color: #f5f5f5; */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.header-bottom .logo{
    height: 81px;
}
.header-bottom .logo img{
    height: 100%;

}
@media only screen and (max-width: 767px) {
  .header-bottom .logo {
    height: 48px;
  }
        .header-bottom .logo {
            width: 100%;
        }
}       

.single-slider {
    position: relative;
    z-index: 1;
}

.single-slider::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    /* Dark gradient overlay */
    background: linear-gradient(rgba(0, 0, 0, 0.6),
            rgba(0, 0, 0, 0.6));

    z-index: -1;
}
.bg-img1 {
    position: relative;
    z-index: 1;
}

.bg-img1::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    /* Dark gradient overlay */
    background: linear-gradient(rgba(0, 0, 0, 0.6),
            rgba(0, 0, 0, 0.6));

    z-index: -1;
}
.footer-top.default-overlay{
    position: relative;
    z-index: 1;
}
.footer-top.default-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    /* Dark gradient overlay */
    background: linear-gradient(rgba(0, 0, 0, 0.2),
            rgba(0, 0, 0, 0.6));

    z-index: -1;
}
.text-white{
    color: #fff;
}
.text-red{
    color: #990100 !important;
}
.footer-menu-social2 .footer-social {
    margin-left: 0px !important;
    position: relative;
}
.footer-menu-social2 .footer-social ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
.footer-menu-social2 {
    float: left !important;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
.footer-menu-social2 .footer-social ul li a.facebook {
    color: #0054a6;
}

.footer-menu-social2 .footer-social ul li a.facebook:hover {
    background-color: #0054a6;
    color: #fff;
}

.footer-menu-social2 .footer-social ul li a.youtube {
    color: #c4302b;
}

.footer-menu-social2 .footer-social ul li a.youtube:hover {
    background-color: #c4302b;
    color: #fff;
}

.footer-menu-social2 .footer-social ul li a.twitter {
    color: #38a1f3;
}

.footer-menu-social2 .footer-social ul li a.twitter:hover {
    background-color: #38a1f3;
    color: #fff;
}

.footer-menu-social2 .footer-social ul li a.google-plus {
    color: #cc3333;
}

.footer-menu-social2 .footer-social ul li a.google-plus:hover {
    background-color: #cc3333;
    color: #fff;
}
.footer-menu-social2 .footer-social ul li a {
    display: inline-block;
    width: 28px;
    height: 28px;
    background-color: #fff;
    border-radius: 100%;
    text-align: center;
    line-height: 28px;
    font-size: 12px;
}
.footer-menu-social2 .footer-social ul li {
    margin-left: 6px;
}
.principal-info {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 15px 20px;
    background: #f5f5f5;
    border-left: 4px solid #990100;
    border-radius: 6px;
}
.principal-info span {
    font-size: 15px;
    color: #333;
    font-weight: 500;
}
.principal-info span strong {
    color: #130491;
    font-weight: 600;
}
@media only screen and (max-width: 767px) {

    .section-title1{
       margin-top: 20px;
    }
        .cart-search-wrap{
            display: none;
        }
    
}

.breadcrumb{
    position: relative;
    z-index: 9;
}

.P-2{
    padding:0.5rem;
}
.fancybox__content{
    width: 350px !important;
}
.fancybox__content img{
width: 100% !important;
}

.sidebar-style{
    position:sticky;
    top:100px;
    box-shadow: 0 0px 12px 0.8px rgba(225, 225, 225, 0.3);
}
.event-left-wrap{
    padding: 8px;
        box-shadow: 0 0px 12px 0.8px rgba(225, 225, 225, 0.3);
}
.recent-post-wrap .single-recent-post .recent-post-content h5 :not(:last-child) {
    border-bottom: 1px solid black;
}

.category-list ul li a {
   
    transition: 0.2s ease;
}

.category-list ul li .active {
    background-color: #990100;
    color: #fff;
   
}

/* results Page*/
  /* Header Tabs */
  .tabs {
      display: flex;
      justify-content: center;
      background: white;
      padding: 10px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
      position: sticky;
      top: 0;
      z-index: 10;
  }

  .tab {
      padding: 12px 20px;
      margin: 0 5px;
      cursor: pointer;
      border-radius: 20px;
      transition: 0.3s;
  }

  .tab.active {
      background: #130491;
      color: white;
  }

  .tab:hover {
      background: #990100;
      color: white;
  }

  /* Gallery Grid */
  .gallery {
      display: none;
      padding: 20px;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
  }

  .gallery.active {
      display: grid;
  }

  /* Image Card */
  .card {
      overflow: hidden;
      border-radius: 12px;
      background: white;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
      cursor: pointer;
      transition: transform 0.3s;
  }

  .card:hover {
      transform: scale(1.03);
  }

  .card img {
      width: 100%;
      height: 220px;
      object-fit: cover;
  }

  /* Modal */
  .modal {
      display: none;
      position: fixed;
      z-index: 100;
      padding: 40px;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.8);
  }

  .modal img {
      display: block;
      max-width: 90%;
      max-height: 90%;
      margin: auto;
      border-radius: 10px;
  }

  .modal.active {
      display: flex;
      justify-content: center;
      align-items: center;
  }
.teacher-img{
    height: 368px;
}
.teacher-img img{
height: 100%;
}
@media only screen and (max-width: 991px) {
    .teacher-img {
            height: 200px;
        }
                .blog-details-top>img {
                    height: auto;
                }
}

.fancybox__slide::before{
    margin: 34px !important;
}
@media only screen and (max-width: 425px) {
.tabs{
    display: block;
}
}