body {
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
}




.header {
  padding: 25px 0;
  z-index: 999;
}

.logo {
  height: 55px;
}

.fixed-top {
  position: absolute !important;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
}

.hero1{
    position:relative;
    width:100%;
    height:100vh;
    overflow:hidden;
}

.hero1 .carousel,
.hero1 .carousel-inner,
.hero1 .carousel-item{
    width:100%;
    height:100vh;
}

.hero1 .carousel-item{
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
}

.hero1 .carousel-item .container{
    height:100%;
}

.hero1 .carousel-item .row{
    height:100%;
}

.overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.35);
}

.hero1-content{
    position:relative;
    z-index:2;
    text-align:center;
}

.hero1 h1{
    font-family:"Instrument Serif",serif;
    color:#fff;
    font-size:72px;
    line-height:1.1;
    margin:0;
}

.hero1 p{
    color:#fff;
    font-size:20px;
    max-width:650px;
    margin:25px auto;
}

.admission-btn{
    display:inline-block;
    padding:14px 40px;
    border-radius:50px;
    background:#b43a30;
    color:#fff;
    text-decoration:none;
    font-weight:600;
}

.carousel-control-prev,
.carousel-control-next{
    width:55px;
    height:55px;
    top:50%;
    transform:translateY(-50%);
    background:rgba(255,255,255,.2);
    border-radius:50%;
}

.carousel-indicators{
    bottom:35px;
}

@media (max-width: 991px) {
  .hero1 .carousel, .hero1 .carousel-inner, .hero1 .carousel-item {
    width: 100%;
    height: 35vh;
  }
 
}

.admission-btn:hover {
  transform: translateY(-5px);
  background: #b45a50;
  color: #fff;
}

.menu-btn {
  width: 55px;
  height: 55px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 5px;
  transition: 0.4s;
}

.menu-btn span {
  width: 22px;
  height: 2px;
  background: #fff;
}

.menu-btn:hover {
  transform: rotate(90deg);
}

.menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.offcanvas {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  width: 100% !important;
  padding-bottom: 40px;
}

.offcanvas-body {
  padding: 40px 30px;
}

.menu-list {
  list-style: none;
  /* padding: 60px 0; */
}

.menu-list li {
  margin: 20px 0;
}

.menu-list a {
   font-family: "Inter", sans-serif;
  color: #ffffff;
  text-decoration: none;
  font-size: 34px;
  transition: 0.3s;
  font-weight: 600;
}

.menu-list a:hover {
  color: #d8b46b;
  padding-left: 15px;
}

.offcanvas-header .btn-close {
  width: 50px;
  height: 50px;
  background: transparent;
  border: 2px solid #ffffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  position: relative;
}

.offcanvas-header .btn-close::before,
.offcanvas-header .btn-close::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 2px;
  background: #ffffff;
}

.offcanvas-header .btn-close::before {
  transform: rotate(45deg);
}

.offcanvas-header .btn-close::after {
  transform: rotate(-45deg);
}

@media (max-width: 991px) {
  .header {
  padding: 0px;
  }
  .carousel-indicators [data-bs-target] {
   height:0px !important;
  }
  .hero1 p{
    margin:1px 0px !important;
  }
  .hero1 h1 {
    font-size: 48px;
    margin-top: 0;
  }
  .hero1-content {
    margin-bottom:-66px;
  }

  .hero1 .carousel-control-prev,
  .hero1 .carousel-control-next {
    width: 40px;
    height: 40px;
  }

  .logo {
    height: 22px;
  }
  .values-section {
  padding:0px 20px;
}
}

@media (max-width: 576px) {
  .hero1 h1 {
    font-size: 25px;
  }

  .hero1 p {

    font-size: 8px;
  }

  .hero1 .carousel-indicators {
    bottom: 20px;
  }

  .hero1 .carousel-control-prev,
  .hero1 .carousel-control-next {
    width: 35px;
    height: 35px;
  }

  .menu-btn {
    width: 50px;
    height: 50px;
    gap: 4px;
  }

  .menu-btn span {
    width: 18px;
    height: 2px;
  }

  .menu-list li {
    margin: 30px 0;
  }

  .menu-list a {
    font-size: 24px;
  }

  .offcanvas-header {
    padding: 20px 20px;
  }

  .offcanvas-body {
    padding: 30px 20px;
  }
}

/* content section */
.values-section {
  background: #fff;
  position: relative;
}

.bg-vector {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  opacity: 0.12;
  pointer-events: none;
}

.section-title {
  font-family: "Instrument Serif";
  font-size: 50px;
  color: #9f292b;
  margin-bottom: 15px;
}

.section-text {
  font-size: 18px;
  line-height: 1.8;
  max-width: 1100px;
  margin: auto;
}

.info-box h3 {
  font-weight: 700;
  margin-bottom: 20px;
}

.info-box p {
  font-size: 18px;

  line-height: 1.7;
}

.more-text {
  display: none;
  margin-top: 20px;
}

.read-more {
  border: none;
  background: none;
  font-size: 35px;
  color: #999;
  transition: 0.4s;
}

.read-more.active {
  transform: rotate(180deg);
}

.img-fluid {
  transition: 0.6s;
}

.img-fluid:hover {
  transform: scale(1.03);
}
/* .read-more{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    margin-top: 20px;
} */

@media (max-width: 991.98px){

    .read-more{
        margin: 20px auto 0;
    }

}

@media (max-width: 991px) {
  .read-more {
    display: flex;
     align-self: flex-end;
    justify-content: start;
    width: 45px;
    height: 20px;
    font-size:15px;
    margin-top:0px;
   margin-left: 272px;
  
  }
  .chairman-section {
    padding: 0px 20px !important;
  }
  .section-title {
    font-size: 42px;
  }

  .section-text {
    font-size: 14px;
    line-height:1.3;
  }
      .info-box h3 {
        margin-bottom:5px;
        font-size: 18px;
        text-align: left;
      }
      hr{
        margin-bottom:1rem !important;
        margin-top:0px !important;
      }
      .info-box{
        margin-bottom:0px;
      }
      .info-box p {
        line-height: 1.3;
        font-size:14px;
        text-align: left;
        margin-bottom: 0px;
      }
      .future-content h3 {
        font-size: 14px !important;
         text-align: center;
         margin-bottom:10px !important;
      }
      .future-content p {
        font-size: 14px !important;
        line-height: 1.3 !important;
         text-align: center;
      }


}

/* content section end */

/* introduction section start */
.chairman-section {
  background: #c55927;
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

/* Decorative Circle */

.circle-bg {
  position: absolute;
  width: 420px;
  height: 320px;
  border: 55px solid rgba(255, 174, 78, 0.35);

  border-radius: 50%;

  right: -160px;
  bottom: -180px;
}

/* Video */

.video-box {
  position: relative;
  overflow: hidden;
}

.video-box img {
  width: 100%;
  transition: 0.7s;
}

.video-box:hover img {
  transform: scale(1.08);
}

.play-btn {
  position: absolute;

  top: 50%;

  left: 50%;

  transform: translate(-50%, -50%);

  width: 72px;

  height: 72px;

  background: rgba(255, 255, 255, 0.9);

  border-radius: 50%;

  display: flex;

  justify-content: center;

  align-items: center;

  text-decoration: none;

  color: #b95523;

  font-size: 34px;

  transition: 0.4s;

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.play-btn:hover {
  transform: translate(-50%, -50%) scale(1.15);

  background: #fff;
}

.play-btn::before {
  content: "";

  position: absolute;

  width: 100%;

  height: 100%;

  border-radius: 50%;

  border: 2px solid rgba(255, 255, 255, 0.5);

  animation: ripple 2s infinite;
}

@keyframes ripple {
  0% {
    transform: scale(1);

    opacity: 1;
  }

  100% {
    transform: scale(1.8);

    opacity: 0;
  }
}

/* Content */

.chairman-content h2 {
  font-family: "Instrument Serif", serif;

  color: #fff;

  font-size: 50px;

  line-height: 1;
}

.quote {
  color: #f8e4d9;

  font-size: 18px;

  line-height: 1.6;

  font-style: italic;
}

.chairman-content h5 {
  color: #fff;

  margin-top: 30px;

  font-weight: 600;
}

.chairman-content span {
  color: #ffe0c8;

  font-size: 18px;
}

/* Responsive */

@media (max-width: 992px) {
  .chairman-content {
    text-align: center;
    color: #fff;
        font-size: 14px;
        line-height: 1.3;

    /* margin-top: 40px; */
  }

  .chairman-content h2 {
    font-size: 25px;
  }
  .chairman-content h5 {
    margin-top: 10px;
    font-size: 16px;
  }
   .chairman-content span {
    font-size: 14px;
     line-height: 1.5;
   }


  .quote {
    font-size: 14px;
    line-height: 1.3;
  }

  .circle-bg {
    border: 40px solid rgba(255, 174, 78, 0.35);
            width: 293px;
        height: 297px;
  }
  .hero {
 
  height: 380px !important;
  padding:0px 20px !important;
  }
  .hero-btn {
    font-size: 14px;
        padding: 5px 9px !important;
  }
  h5{
    margin:5px !important;
  }
  h6{
     font-size: 14px;
    margin:10px !important;
  }
  .footer-logo {
    width: 150px !important;
  }
  .address {
    font-size: 14px !important;
    text-align: left !important;
  }
}

/* introduction section end*/

/*================ HERO =================*/

.hero {
  position: relative;
  height: 420px;
  background: url("../image/Group\ 197.png") center center/cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
}

.hero h1 {
  font-family: "Instrument Serif", serif;
  font-size: 60px;
  color: #fff;
  font-weight: 400;
  line-height: 1.1;
}

.hero p {
  color: #fff;
  font-size: 18px;
  max-width: 820px;
  margin: auto;
  line-height: 1.8;
}

.hero h5 {
  color: #fff;
  font-size: 22px;
  margin-top: 25px;
  font-weight: 600;
}

.hero h6 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 35px;
}

.hero-btn {
  background: #9f292b;
  color: #e2bb74;
  padding: 16px 45px;
  border-radius: 50px;
  text-decoration: none;
  display: inline-block;
  transition: 0.4s;
  font-weight: 500;
}

.hero-btn:hover {
  background: #b65248;
  transform: translateY(-6px);
  color: #e2bb74;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

/*================ FOOTER =================*/

.footer-area {
  background: #e9ba68;
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

/* .footer-area:after {
  content: "";
  position: absolute;
  right: -78px;
  top: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 45px solid rgba(255, 255, 255, 0.75);
} */

.footer-logo {
  width: 370px;
  margin-bottom: 5px;
}

.address {
  color: #9f292b;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}

.footer-links {
  list-style: none;
          margin-left: 34px !important;
  padding: 0;
}

.footer-links li {
  font-size: 14px !important;
  font-family: "Inter", sans-serif;
  font-weight: 400;

  margin-bottom: 15px;
}

.footer-links a {
  color: #9f292b;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 10px;
}

.footer-area .container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

@media (max-width: 991px) {
  .footer-area .container {
    max-width: 100%;
    padding-left: 10px;
    padding-right: 10px;
  }

  .footer-logo {
    width: 100%;
    max-width: 370px;
    margin: 0 auto;
  }
  .hero {
    height: 700px;
  }

  .hero h1 {
    font-size: 25px;
  }

  .hero p {
    font-size: 14px;
    line-height:1.3;
  }

  .footer-area {
    text-align: center;
  }
  .footer-links li {
      font-size:14px !important;
      font-weight:400;
  }

  .footer-links {
    font-size: 14px;
    line-height: 0.8;
    text-align: left;
  }
     .footer-area{
      padding:40px 20px;
     }
     
}

@media (max-width: 576px) {
     .footer-links {
    font-size: 14px;
    line-height: 0.8;
    text-align: left;
  }
  .hero {
    height: 760px;
  }

  .hero h1 {
    margin-top:30px;
    font-size: 37px;
  }
   .hero h5 {
    font-size: 14px;
  }
  .hero h6 {
    font-size: 14px;
  }

  .hero-btn {
    padding: 14px 30px;
  }
}

/* campus selection start */

.campus-section{
    position:relative;
    height:500px;
    overflow:hidden;
}

.bg-image{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    opacity:0;
    transition:all .8s ease;
    z-index:1;
}

.bg-image.active{
    opacity:1;
}

.overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.35);
    z-index:2;
}

.container-fluid{
    position:relative;
    z-index:3;
}

.panel {
  position: relative;

  height: 500px;

  border-left: 1px solid rgba(255, 255, 255, 0.3);

  display: flex;

  align-items: flex-end;

  cursor: pointer;

  transition: 0.4s;

  z-index: 2;
}

.content {
  padding: 30px;

  width: 100%;

  text-align: center;

  color: #E2BB74;

  transition: 0.4s;
}

.content h3 {
  font-family: "Instrument Serif";

  font-size: 40px;
}

.panel.active .content {
  background: #9E2A2B;

  border-radius: 25px 25px 0 0;
}

.panel:hover {
  background: rgba(0,0,0,.35);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .campus-section {
    height: 400px;
  }

  .panel {
    height: 400px;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
  }

  .content h3 {
    font-size: 28px;
  }

  .content p {
    font-size: 14px;
  }
  .btn-apply{
    display:flex !important;
    text-align:center !important;
    align-items:center !important;
    justify-content:center !important;
    padding: 6px 10px !important;
  }
}

@media (max-width: 576px) {
  .campus-section {
    height: 160px;
  }
  .panel.active .content{
    border-radius: 6px 6px 0 0 ;
  }
  .future-section {
    padding: 40px 20px !important;
  }
  

  .panel {
    height: 160px;
  }

  .content {
    padding: 4px;
  }

  .content h3 {
    font-size: 13px;
    margin-bottom: 5px;
  }
 

  .content p {
    font-size: 8px;
    line-height: 1.4;
  }
}
/* campus selection end */



      .future-section {
        position: relative;
        padding: 80px 0;
        overflow: hidden;
      }

      /* Decorative Background */

      .corner-bg {
        position: absolute;
        right: -70px;
        bottom: -50px;
        width: 420px;
        opacity: 0.12;
        z-index: 0;
        animation: float 8s ease-in-out infinite;
      }

      /* Left Image */

      .future-image {
        position: relative;
        z-index: 2;
      }

      .future-image img {
        width: 100%;
        max-width: 600px;
        transition: 0.5s;
      }

      .future-image:hover img {
        transform: scale(1.05) rotate(-2deg);
      }

      /* Heading */

      .section-title {
        color: #9F292B;
        font-size: 50px;
        text-align: center;
         font-family: "Instrument Serif", serif;
        margin-bottom: 20px;
      }

      /* Content */

      .future-content {
        position: relative;
        z-index: 2;
      }

      .future-content h3 {
        font-size:20px;
        font-weight: 700;
        margin-bottom: 25px;
      }

      .future-content p {
        line-height: 32px;
        font-size: 16px;
        color: #555;
      }

      .future-content strong {
        color: #000;
      }

      .btn-apply {
        display: inline-block;
        margin-top: 25px;
        background: #923330;
        color: #E2BB74;
        padding: 15px 42px;
        border-radius: 40px;
        text-decoration: none;
        transition: 0.4s;
        font-weight: 600;
      }

      .btn-apply:hover {
        background: #923330;
        transform: translateY(-5px);
        color: #E2BB74;
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
      }

      /* Floating Animation */

      @keyframes float {
        0% {
          transform: translateY(0px) rotate(0deg);
        }

        50% {
          transform: translateY(-20px) rotate(4deg);
        }

        100% {
          transform: translateY(0px) rotate(0deg);
        }
      }

      /* Responsive */

      @media (max-width: 991px) {
        .section-title {
          font-size: 37px;
          margin-bottom: 10px;
          line-height: 1;
           -webkit-text-stroke: 0.5px #923330;
        }
        .text-center {
          padding:0px !important;
        }

        .future-image {
         
          margin-bottom: 20px;
          text-align: center;
        }

        .corner-bg {
          width: 250px;
          opacity: 0.08;
        }
      }

      /* logo-slider start */
      .logo-slider{
    background:#f8f5ef;
    overflow:hidden;
    position:relative;
}

.slider{
    width:100%;
    overflow:hidden;
}

.slide-track{
    display:flex;
    width:calc(220px * 10);
    animation:scroll 25s linear infinite;
}

.slide{
    width:220px;
    height:90px;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
    transition:.4s;
}

.slide img{
    max-width:140px;
    max-height:70px;
    object-fit:contain;
  
    opacity:.8;
    transition:.4s;
}

.slide:hover img{
    filter:none;
    opacity:1;
    transform:scale(1.08);
}

.logo-slider:hover .slide-track{
    animation-play-state:paused;
}

@keyframes scroll{

    0%{
        transform:translateX(0);
    }

    100%{
        transform:translateX(calc(-220px * 5));
    }

}

/* Fade Effect */

.logo-slider::before,
.logo-slider::after{
    content:"";
    position:absolute;
    top:0;
    width:120px;
    height:100%;
    z-index:2;
}

.logo-slider::before{
    left:0;
    background:linear-gradient(to right,#f8f5ef 0%,transparent 100%);
}

.logo-slider::after{
    right:0;
    background:linear-gradient(to left,#f8f5ef 0%,transparent 100%);
}

/* Responsive */

@media(max-width:768px){

.slide{
    width:150px;
}


.slide img{
    max-width:300px;
    margin-top:2px;
}

.slide-track{
    width:calc(150px * 10);
}

@keyframes scroll{

0%{
transform:translateX(0);
}

100%{
transform:translateX(calc(-150px * 5));
}

}

}
      /* logo slider end */
      /* faq section start */


.faq-section{
    padding:60px 0;
}

.faq-title{
       font-family: "Instrument Serif", serif;
    font-size:50px;
    font-weight:600;
    color:#9F292B;
    margin-bottom:35px;
    line-height:1;
}

.faq-wrapper{
    width:100%;
}

.faq-item{
    border-bottom:1px solid #d6d6d6;
}

.faq-question{
    display:flex;
    justify-content:space-between;
    align-items:center;
    cursor:pointer;
    padding:18px 0;
    transition:.35s;
}

.faq-question:hover{
    color:#9F292B;
}

.question{
    display:flex;
    align-items:center;
    gap:12px;
}

.number{
    font-family:'Cormorant Garamond',serif;
    font-size:28px;
    color:#111;
}

.question span:last-child{
    font-family:'Cormorant Garamond',serif;
    font-size:24px;
    font-weight:600;
    color:#111;
    line-height:1.3;
}

.icon{
    width:40px;
    text-align:center;
    color:#999;
    transition:.4s;
    font-size:16px;
}

.faq-item.active .icon{
    transform:rotate(180deg);
    color:#9F292B;
}

.faq-answer{
    max-height:0;
    overflow:hidden;
    transition:max-height .45s ease;
}

.faq-answer p{
    margin:0 0 18px 50px;
    max-width:850px;
    font-size:18px;
    line-height:30px;
    color:#555;
}

/* Default open first item */

.faq-item.active .faq-answer{
    max-height:300px;
}

/* Responsive */

@media(max-width:991px){

.faq-title{
    font-size:56px;
}
.faq-question{
    padding-bottom:2px !important;
}

.question span:last-child{
    font-size:20px;
}

.faq-answer p{
    margin-left:42px;
    font-size:14px;
    line-height:1.3px;
}

}

@media(max-width:767px){
  .hero1{
    height:35vh;
  }
  .admission-btn{
            padding: 2px 7px 5px 7px;
    text-align:center;
     display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration:none;
    font-size:13px;
    color:#E2BB74;
    font-weight:400;
    margin-top:10px;
  }


.faq-section{
    padding:50px 20px;
}

.faq-title{
    font-size:37px;
    text-align:center;
    margin-bottom:0px !important;
}

.question{
    align-items:flex-start;
}

.question span:last-child{
    font-size:18px;
}

.number{
    font-size:22px;
}

.icon{
    font-size:14px;
}

.faq-answer p{
    margin-left:30px;
    font-size:14px;

    line-height:1.3;
}

}
      /*  faq section end */

 
      /*=========================
RESET
=========================*/

   
     

      /*=========================
SECTION
=========================*/

      .legacy-section {
        padding: 40px 250px;
      }

      .container {
        max-width: 1200px;
      }

      /*=========================
WRAPPER
=========================*/

      .legacy-wrapper {
        position: relative;

        width: 100%;

        height: 600px;
      }

      /*=========================
SLIDER
=========================*/

      #legacy-slider {
        position: relative;

        width: 100%;

        height: 420px;
      }

      /*=========================
CARD
=========================*/

      .legacy-card {
        position: absolute;

        width: 110px;

        height: 150px;

        overflow: hidden;

        border-radius: 12px;

        background: #eee;

        cursor: pointer;

        transition:
          left 0.8s ease,
          top 0.8s ease,
          transform 0.8s ease,
          opacity 0.8s ease;

        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.18);
      }

      .legacy-card img {
        width: 100%;

        height: 100%;

        object-fit: cover;

        display: block;
      }

      .legacy-card:hover {
        transform: scale(1.08) !important;

        z-index: 999;
      }

      /*=========================
TITLE
=========================*/

      .legacy-title {
        position: absolute;

        left: 50%;
        top: 50%;

        transform: translate(-50%, -50%);

        width: 100%;
        z-index: 2;

        text-align: center;
      }

      .legacy-title h2 {
       font-family: "Instrument Serif", serif;

        color: #982b25;

        font-size: 50px;

        line-height: 0.95;

        font-weight: 700;
      }

      /*=========================
SHADOW
=========================*/

      .legacy-card::after {
        content: "";

        position: absolute;

        left: 0;
        top: 0;

        width: 100%;
        height: 100%;

        border-radius: 12px;

        box-shadow: inset 0 0 1px rgba(255, 255, 255, 0.5);
      }

      /*=========================
TABLET
=========================*/

      @media (max-width: 991px) {
        .legacy-mobile{
          margin-top:10px;
        }
        .legacy-wrapper {
          height: 600px;
        }

        #legacy-slider {
          height: 350px;
        }

        .legacy-card {
          width: 90px;

          height: 120px;
        }

        .legacy-title h2 {
          font-size: 54px;
        }
      }

      /*=========================
MOBILE
=========================*/

#legacy-mobile-slider{
    position: relative;
    width:100%;
    max-width:420px;
    height:330px;
    margin:0 auto;
    overflow:visible;
}

.mobile-card{
    position:absolute;
    width:110px;
    height:150px;
    border-radius:18px;
    overflow:hidden;
    transition:all .8s ease;
    transform-origin:center center;
}

.mobile-card img{
    width:100%;
    height:100%;
    object-fit:cover;
}

      @media (max-width: 767px) {
        .legacy-wrapper {
          height: 480px;
        }

        #legacy-slider {
          height: 260px;
        }
        .legacy-mobile-wrapper{
    position:relative;
    height:620px !important;
}
.legacy-mobile-title {
  margin-top:-195px !important;
}
.legacy-mobile-section{
  padding:40px -8px !important;
}

        .legacy-card {
          width: 70px;

          height: 90px;

          border-radius: 10px;
        }

        .legacy-title {
          top: 50%;
          transform: translate(-50%, -50%);
        }

        .legacy-title h2 {
          font-size: 36px;

          line-height: 1.1;
        }
      }

      .legacy-mobile-section{
    padding:40px 20px;
    overflow:hidden;
}

.legacy-mobile-wrapper{
    position:relative;
    height:620px;
}

#legacy-mobile-slider{
    position:relative;
    width:100%;
    height:360px;
}

.mobile-card{
    position:absolute;
    width:80px;
    height:110px;
    border-radius:12px;
    overflow:hidden;
    transition:.8s ease;
    box-shadow:0 15px 30px rgba(0,0,0,.18);
}

.mobile-card img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.legacy-mobile-title{
    position:absolute;
    left:50%;
    /* top:60% !important; */
    transform:translateX(-50%);
    width:100%;
    text-align:center;
}

.legacy-mobile-title h2{
    font-family:"Instrument Serif", serif;
    font-size:34px;
    color:#982b25;
    line-height:1;
}

.legacy-mobile-title p{
    margin-top:0px;
    font-size:15px;
    line-height:1.8;
}

.panel .content p{
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    margin-top: -12px;
}

.panel.active .content p{
    max-height: 100px;
    opacity: 1;
    margin-top: 10px;
}
  


      

