html {
  scroll-behavior: smooth;
}

section#resi-fee-section {
  scroll-margin-top: 60px;
}
.section-campus {
  background: url("../images/residence/hero-banner-bg.webp") no-repeat center
    center;
  background-size: cover;
}
.campus-img-box {
  position: relative;
}
.tag {
  position: absolute;
  background: #fff;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 13px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}
.tag.security {
  top: 15px;
  left: 20px;
}
.tag.rooms {
  top: 20px;
  right: 20px;
}
.tag.sports {
  bottom: 70px;
  left: 20px;
}
.tag.community {
  bottom: 20px;
  right: 20px;
}
.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}
.campus-img {
  width: 100%;
  border-radius: 20px;
}
.heading-wraper .main-head h1 {
  font-weight: 800;
  font-size: 72px;
  letter-spacing: 0.123047px;
  color: #000000;
}
.heading-wraper .main-head h2 {
  font-weight: 800;
  font-size: 40px;
  letter-spacing: 0.123047px;
  color: #000000;
}
.section-campus .heading-wraper .main-head h1 span {
  background: linear-gradient(90deg, #d5750c 52.88%, #ffda44 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}
.heading-wraper .main-head p {
  font-size: 20px;
  letter-spacing: 0.0703125px;
}
.rank-explore-link {
  text-align: center;
  z-index: 5;
  will-change: transform, box-shadow, background-color;
  background-color: #ffcd4d;
  border: 1px solid #12121214;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 170px;
  height: 170px;
  line-height: 1.05;
  transition:
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    background-color 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  display: inline-flex;
  position: relative;
  overflow: hidden;
  margin-top: 20px;
}
.rank-explore-link a {
  color: #030303;
  z-index: 10;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
  display: flex;
  position: relative;
}
.rank-explore-link:hover {
  background-color: #000;
  animation: 2.2s cubic-bezier(0.22, 0.61, 0.36, 1) infinite alternate
    floatCircleSmooth;
  box-shadow:
    0 12px 36px #00000040,
    0 4px 12px #0000001a;
}
.rank-explore-link:hover a {
  color: #fff;
}
.section-city .heading-wraper .main-head h2 span, .hostel-vs-pg-section .heading-wraper .main-head h2 span {
  background: linear-gradient(90deg, #d7580f 77.88%, #010000 98.08%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}
.image-wrapper {
  position: relative;
  display: flex !important;
}
.image-wrapper img {
  width: 90%;
  border-radius: 15px;
  margin-left: auto;
}
.info-card {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  padding: 30px;
  max-width: 360px;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}
.hostel-community {
  background: url("../images/residence/hostel-community-bg.webp") no-repeat top
    center;
  background-size: cover;
}
.hostel-community .heading-wraper .main-head h2 span,
.mess-section .heading-wraper .main-head h2 span,
.support-safety .heading-wraper .main-head h2 span {
  background: linear-gradient(90deg, #d5750c 52.88%, #ffda44 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}
.stats-section {
  padding: 60px 0;
}
.circle-box {
  width: 222px;
  height: 222px;
  border: 1px solid #000;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: auto;
  transition: 0.3s;
}
.circle-box h3 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 5px;
  color: #191919;
}
.circle-box p {
  font-size: 14px;
  margin: 0;
  line-height: 1.3;
  color: #191919;
}
.circle-box:hover {
  transform: translateY(-5px);
}
.card-box {
  position: relative;
}
.card-box img {
  border-radius: 24px;
  box-shadow: 0px 25px 50px -12px rgba(0, 0, 0, 0.25);
  width: 100%;
}
.card-overlay {
  position: absolute;
  left: 0px;
  top: 0px;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0) 100%
  );
  border-radius: 24px;
  right: 0;
  bottom: 0;
  display: flex;
}
.card-title {
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: 0.0703125px;
  color: #ffffff;
  display: flex;
  margin-top: auto;
  flex-direction: column-reverse;
  padding: 24px;
  width: 100%;
}
#resi-fee-section .resi-pop-close {
  display: none;
}
.card-title:after {
  content: "";
  position: absolute;
  width: 48px;
  height: 4px;
  background: linear-gradient(90deg, #ef7d00 0%, #ffda44 100%);
  border-radius: 1px;
  bottom: 25px;
}
.mess-image-box {
  position: relative;
}
.mess-img {
  width: 100%;
  box-shadow: 0px 25px 50px -12px rgba(0, 0, 0, 0.25);
  border-radius: 24px;
}
/* Floating cards */
.floating-card {
  position: absolute;
  background: #fff;
  padding: 18px 24px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}
.floating-card h3 {
  margin: 0;
  color: #f54900;
  font-weight: 700;
}
.floating-card p {
  margin: 0;
  font-size: 14px;
  color: #666;
}
.meals {
  top: -20px;
  right: -50px;
}
.menu {
  bottom: -20px;
  left: -40px;
}
/* Feature cards */
.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  padding: 18px 20px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
}
.feature-card-highlight{
  background: #FECD46;
  cursor: pointer;
  transition: 0.3s;
}
.feature-card-highlight span{color:#000;}
.feature-card-highlight .icon-box {background:#fff;}
.feature-card-highlight .icon-box img{filter: invert(1);}
.feature-card-highlight:hover{transform: translateY(-6px);}
.icon-box {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff7a00, #ffa64d);
  box-shadow:
    0px 10px 15px -3px rgba(0, 0, 0, 0.1),
    0px 4px 6px -4px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  font-size: 20px;
  color: #fff;
  flex-shrink: 0;
}
.feature-card h5 {
  margin-bottom: 5px;
  font-weight: 600;
  color: #101828;
}
.feature-card p {
  margin: 0;
  font-size: 14px;
}
.highlight {
  color: #fff;
  font-weight: 500;
  padding: 5px 10px;
  display: inline-block;
  margin-top: 5px;
  border-radius: 5px;
  text-transform: uppercase;
  font-size: 12px;
}
/* Quote box */
.quote-box {
  margin-top: 25px;
  border: 2px solid #ffd6a8;
  padding: 25px;
  border-radius: 12px;
  background: #fef3f1;
  color: #364153;
  font-size: 18px;
}
.cta-box {
  background: #f4b400;
  border-radius: 30px;
  padding: 60px 30px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.cta-box h2 {
  font-weight: 700;
  font-size: 32px;
  margin-bottom: 10px;
}
.cta-box p {
  margin-bottom: 30px;
  font-size: 24px;
  letter-spacing: 0.0703125px;
}
.cta-btn {
  background: #1f1f1f;
  color: #fff;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
}
.cta-btn:hover {
  background: #000;
  color: #fff;
}
.facility-card {
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 5px 10px 4px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
  height: 100%;
  background: #fff;
}
.facility-card:hover {
  transform: translateY(-6px);
}
/* Icon */
.facility-card .icon-box {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  box-shadow:
    0px 10px 15px -3px rgba(0, 0, 0, 0.1),
    0px 4px 6px -4px rgba(0, 0, 0, 0.1);
  margin-bottom: 15px;
}
.icon-green {
  background: linear-gradient(135deg, #00bba7 0%, #00c950 100%) !important;
}
.icon-pink {
  background: linear-gradient(135deg, #f6339a 0%, #ff2056 100%) !important;
}
.icon-blue {
  background: linear-gradient(135deg, #615fff 0%, #2b7fff 100%) !important;
}
.facility-card h5 {
  font-weight: 600;
  margin-bottom: 8px;
}
.facility-card p {
  font-size: 14px;
  margin: 0;
}
.support-safety {
  background: linear-gradient(135deg, #101828 0%, #290c3f 50%, #101828 100%);
}
.security-card {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  height: 100%;
  transition: 0.3s;
}
.security-card:hover {
  transform: translateY(-6px);
}
/* Icon */
.icon-box {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff8a00, #ffc107);
  color: #fff;
  font-size: 20px;
  margin-bottom: 15px;
}
/* Text */
.security-card h5 {
  font-weight: 600;
  margin-bottom: 8px;
  color: #fff;
}
.security-card p {
  font-size: 14px;
  color: #fff;
  margin: 0;
}
/* Decorative circle */
.security-card::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  opacity: 0.1;
  border-radius: 0 0 0 100%;
  top: -40px;
  right: -40px;
}
.security-card-blue::after {
  background: linear-gradient(135deg, #2b7fff 0%, #00b8db 100%);
}
.security-card-purple::after {
  background: linear-gradient(135deg, #ad46ff 0%, #f6339a 100%);
}
.security-card-red::after {
  background: linear-gradient(135deg, #fb2c36 0%, #ff6900 100%);
}
.security-card-green::after {
  background: linear-gradient(135deg, #00c950 0%, #00bba7 100%);
}
/* Bottom Trust Box */
.trust-box {
  margin-top: 60px;
  padding: 45px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.trust-icon {
  font-size: 30px;
  margin-bottom: 15px;
  color: #ffb300;
}
.trust-box h4 {
  font-weight: 600;
  margin-bottom: 10px;
  color: #fff;
}
.trust-box p {
  color: #cfcfcf;
  font-size: 14px;
  max-width: 600px;
  margin: auto;
}
.security-slider {
  margin-top: 24px;
}

.thumb-row {
  display: flex;
  flex-wrap: nowrap;
  overflow: visible;
  gap: 6px;
  margin-top: 12px;
  padding-bottom: 8px;
}

/* Each thumb gets equal width automatically */
.thumb-slide {
  flex: 1 1 0;      /* grow equally, start from 0 */
  min-width: 0;     /* allow shrinking below content size */
  cursor: pointer;
  opacity: 0.5;
  border: 2px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  transition: opacity 0.3s, border-color 0.3s, transform 0.3s;
}

.thumb-slide img {
  width: 100%;
  height: 65px;
  object-fit: cover;
  display: block;
}

.thumb-slide:hover {
  opacity: 0.75;
}

.thumb-slide.active {
  opacity: 1;
  border-color: #ffc107;
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(255, 193, 7, 0.35);
}
/* media css start */
@media (max-width: 1366px) {
  .section-campus .heading-wraper .main-head h1 {
    font-size: 52px;
  }
}
@media (max-width: 1200px) {
  .circle-box {
    width: 200px;
    height: 200px;
  }
}
@media (max-width: 992px) {
  .trust-box {
    margin-top: 30px;
  }
  .community-slider .slick-slide,
  .security-slider .slick-slide {
    margin: 0 10px;
  }
  .community-slider .card-box img {
    box-shadow: none;
  }
  .card-title {
    font-size: 16px;
  }
  .card-title::after {
    width: 36px;
    height: 2px;
    bottom: 28px;
  }
  .card-title {
    padding: 20px 15px;
    font-size: 20px;
  }
  .section-campus .heading-wraper .main-head h1 {
    font-size: 36px;
  }
  .section-campus .heading-wraper .main-head p {
    font-size: 16px;
  }
  .section-campus .tag {
    display: none;
  }
  .rank-explore-link {
    width: 100px;
    height: 100px;
  }
  .rank-explore-link a {
    font-size: 14px;
  }
  .image-wrapper{
    display: unset !important;
  }
  .info-card {
    position: relative;
    top: unset;
    width: 100%;
    max-width: 100%;
    bottom: 0;
    transform: translateY(0);
    position: relative;
    padding: 10px 15px;
  }
    .info-card h4{font-size: 18px;
    font-weight: 600;
    margin-bottom: 0px;}
    .info-card p{font-size:16px;}
  .image-wrapper img{
    width: 100%;
  }
  .meals {
    top: 10px;
    right: 10px;
  }
  .menu {
    bottom: 10px;
    left: 10px;
  }
}
@media (max-width: 850px) {
  .mess-image-box {
    display: none;
  }
  .circle-box {
    width: 150px;
    height: 150px;
  }
  .circle-box h3 {
    font-size: 30px;
    font-weight: 700;
  }
  .security-slider .slick-slide img {
    width: auto;
  }
}
@media (max-width: 767px) {
  .heading-wraper .main-head h2 {
    font-size: 32px;
  }
  .heading-wraper .main-head p {
    font-size: 16px;
  }
  .col-6:nth-child(1) .circle-box,
  .col-6:nth-child(2) .circle-box {
    margin-bottom: 24px;
  }
}
@media (max-width: 600px) {
  .cta-box h2 {
    font-size: 22px;
  }
  .cta-box p {
    font-size: 18px;
  }
  .card-title {
    font-size: 15px;
  }
}
/* old page css only for popup start */
.resi-popup {
  background-color: #231d1d;
  background-image: url(https://www.lpu.in/lpu-assets/images/residence/popup/popup-bg.svg);
  border-radius: 20px;
  padding: 48px;
}
.resi-popup .resi-head {
  position: relative;
  margin-bottom: 30px;
}
.resi-popup .resi-head h2 {
  text-align: center;
  color: #fff;
}
.resi-popup .resi-head h2 span {
  display: block;
  text-align: center;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
}
.resi-popup .resi-head .resi-pop-close {
  position: absolute;
  top: -10px;
  right: 0;
  color: #fff;
  font-size: 22px;
  text-decoration: none;
  cursor: pointer;
}
.resi-popup .resi-charges .resi-nav-tabs {
  border-bottom: 5px solid #000;
  justify-content: center;
  gap: 5px;
}
.resi-popup .resi-charges .resi-nav-tabs li {
  border: 0 !important;
  height: auto !important;
}
.resi-popup .resi-charges .resi-nav-tabs li a {
  border-radius: 6px 6px 0 0 !important;
  line-height: normal !important;
  height: auto !important;
  padding: 15px 25px !important;
  font-size: 18px;
  display: block;
  color: #444;
  background-color: #f2f2f2;
  font-weight: bold;
  text-decoration: none;
}
.resi-popup .resi-charges .resi-nav-tabs li a.active {
  background-color: #ffc142;
}
.resi-popup .resi-charges {
  padding: 0 !important;
}
.resi-popup .resi-charges .tab-content .table-bg {
  background: #fff;
  padding: 15px;
  border-radius: 20px;
}
.resi-popup .resi-charges .tab-content .seater-head {
  display: flex;
  justify-content: space-between;
}
.resi-popup .resi-charges .tab-content .seater-head h3 {
  font-size: 36px;
  font-weight: 700;
  color: #000;
}
.resi-popup .resi-charges .tab-content .seater-head .academic-year {
  background-color: #000;
  border-radius: 15px;
  padding: 5px 15px;
  height: fit-content;
  color: #fff;
  font-size: 13px;
  display: flex;
  align-items: center;
}
.resi-popup .resi-charges .tab-content .seater-head .academic-year span {
  background: linear-gradient(90deg, #fb923c 0%, #f472b6 50%, #e879f9 100%);
  border-radius: 50%;
  display: block;
  height: 10px;
  width: 10px;
  margin-right: 5px;
}
.resi-popup .resi-charges .tab-content table {
  margin-top: 3px !important;
  border: 0;
  width: 100%;
  margin: 15px 0 !important;
}
.resi-popup .resi-charges .tab-content table thead th {
  background: transparent !important;
  padding: 15px;
  border: 0 !important;
  font-weight: 400;
}
.resi-popup .resi-charges .tab-content table td {
  border: 0 !important;
  padding: 15px !important;
}
.resi-popup .resi-charges .tab-content table tr {
  background: transparent !important;
}
.resi-popup .resi-charges .tab-content table tbody tr {
  border-top: 1px solid #000 !important;
}
.resi-popup .resi-charges .tab-content table tbody tr td .charges,
.resi-popup .resi-charges .tab-content table tbody tr td div {
  font-weight: 700;
}
.resi-popup
  .resi-charges
  .tab-content
  table
  tbody
  tr
  td
  .room-catagery.apartments {
  color: #e879f9;
  background-color: rgba(232, 121, 249, 0.2);
  padding: 5px 15px;
  border-radius: 15px;
  font-weight: 500;
}
.resi-popup .resi-charges .tab-content table tbody tr td .room-catagery.room {
  color: #c45705;
  background-color: rgba(196, 87, 5, 0.2);
  padding: 5px 15px;
  border-radius: 15px;
  font-weight: 500;
}
.resi-popup
  .resi-charges
  .tab-content
  table
  tbody
  tr
  td
  .room-catagery.apartments
  > div,
.resi-popup
  .resi-charges
  .tab-content
  table
  tbody
  tr
  td
  .room-catagery.room
  > div {
  padding-left: 10px;
  margin-top: 5px;
}
.facilities p {
  color: #fff;
  margin: 15px 0 20px 0;
}
.facilities .facilities-head h3 {
  text-align: center;
  color: #ffbe48;
  margin-bottom: 20px;
}
.facilities .table-bg {
  background: #fff;
  padding: 15px;
  border-radius: 20px;
}
.facilities table {
  margin-top: 3px !important;
  width: 100%;
}
.facilities table thead th {
  background: transparent !important;
  padding: 15px;
  border: 0 !important;
}
.facilities table td {
  border: 0 !important;
  padding: 15px !important;
}
.facilities table tr {
  background: transparent !important;
}
.facilities table tbody tr {
  border-top: 1px solid #000 !important;
}
.facilities table tbody tr td .charges,
.facilities table tbody tr td div {
  font-weight: 700;
}
.facilities table tbody tr td .room-catagery.apartments {
  color: #e879f9;
  background-color: rgba(232, 121, 249, 0.2);
  padding: 5px 15px;
  border-radius: 15px;
  font-weight: 500;
}
.facilities table tbody tr td .room-catagery.room {
  color: #c45705;
  background-color: rgba(196, 87, 5, 0.2);
  padding: 5px 15px;
  border-radius: 15px;
  font-weight: 500;
}
.facilities table tbody tr td .room-catagery.apartments > div.strong,
.facilities table tbody tr td .room-catagery.room > div.strong {
  padding-left: 10px;
  margin-top: 5px;
}
.facilities .parking {
  background-color: #ffbe48;
  color: #000;
  display: inline-block;
  padding: 5px 10px;
  border-radius: 5px;
}
.resi-list {
  padding: 0;
  margin: 0;
  list-style: none;
}
.resi-list li {
  padding-bottom: 7px;
  list-style: none;
}
.resi-list li {
  content: "";
  background: url(https://www.lpu.in/lpu-assets/images/residence/resi-tick.svg);
  background-repeat: no-repeat;
  background-size: 16px;
  padding-left: 24px;
  background-position: left 3px;
}
.resi-popup .resi-charges .tab-content table td.border-start {
  border-left: 1px solid #000 !important;
}
.resi-list.facil li {
  background-size: 24px;
  padding-left: 34px;
}
@media (max-width: 991px) {
  .resi-popup .resi-charges .tab-content .seater-head {
    display: inline;
  }
  .resi-popup .resi-charges .tab-content table tbody tr td .room-catagery.room,
  .resi-popup
    .resi-charges
    .tab-content
    table
    tbody
    tr
    td
    .room-catagery.apartments {
    display: block;
  }
  .resi-nav-tabs {
    display: none;
  }
  .tab-pane {
    display: block !important;
    opacity: 1 !important;
    border-bottom: 1px solid #ddd;
  }
  /* accordion title */
  .tab-mobile-title {
    padding: 16px;
    font-weight: 600;
    cursor: pointer;
    background: #f5f5f5;
    position: relative;
  }
  /* plus/minus icon */
  .tab-mobile-title::after {
    content: "+";
    position: absolute;
    right: 20px;
    font-size: 20px;
    transition: 0.3s;
  }
  .tab-pane.active .tab-mobile-title::after {
    content: "−";
  }
  /* animated body */
  .tab-body {
    height: 0;
    overflow: hidden;
    opacity: 0;
    transition:
      height 0.35s ease,
      opacity 0.25s ease,
      padding 0.3s ease;
    padding: 0 15px;
  }
  .tab-pane.active .tab-body {
    opacity: 1;
    padding: 15px;
  }
}
/* Desktop */
@media (min-width: 992px) {
  .tab-mobile-title {
    display: none;
  }
}
@media (max-width: 768px) {
  .tab-pane.active .tab-body {
    padding: 15px 0px;
  }
  .resi-popup {
    padding: 18px;
  }
}
table td.border-end {
  border-right: 1px solid #000 !important;
}
/* old page css only for popup end */
