:root {
  --primary-color: #a64d3a;
  --primary-dark: #F8C825;
  --gradient-color: linear-gradient(135deg, #a64d3a, #AE2B2B);
  --gradient-color1: linear-gradient(90deg, #a64d3a, #ac0d0d);
  --Secondary-color: #EFEBE4;
  --Dark-color: #4E1A0A;
}


body {
  margin: 0;
  padding: 0;
  font-family: 'Rubik', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  /* background: #fff9e5; */
  background: var(--Secondary-color);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--primary-color);
}

h1,
h2,
h3 {
  text-shadow: 1px 1px 1px rgb(248, 200, 37);
}

h1,
h2,
h3 {
  color: var(--Dark-color) !important;
}

a {
  text-decoration: none;
}

p {
  margin-top: 0;
  margin-bottom: 10px;
  /* font-size: 15px; */
  font-family: 'Rubik', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

.paragraph {
  line-height: 29px;
  font-size: 15px;
}

.color-dark {
  color: var(--primary-color);
}

span {
  font-family: 'Rubik', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

.small-color {
  color: var(--primary-color);
}

.yellow-color {
  color: var(--primary-dark);
}

/* ==========================HEADER SECTION====================================== */




.main-header {
  position: relative;
  display: block;
  width: 100%;
  z-index: 99;
  clear: both;
}

.navbar-wrapper1 {
  background: var(--primary-color);
  border-radius: 10px;
  position: fixed;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  width: 95%;
  max-width: 1000px;
  transition: all 0.3s ease;
  border-top: 3px solid #fff;
}

@media (max-width: 978px) {
  .navbar-wrapper1 {
    background: var(--primary-color);
    border-radius: 10px;
    position: fixed;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    width: 90%;
    max-width: 600px;
    padding: 30px 0px;
    transition: all 0.3s ease;
    border-top: 3px solid #fff;
  }
}

.logo {
  position: fixed;
  top: -3px;
  left: -3px;
  width: 330px;
  z-index: 999;
  overflow: hidden;
  border-radius: 10px 0px 0px 10px;
  transition: 0.4s all ease-in-out;
}

@media (max-width: 518px) {
  .logo {
    position: fixed;
    top: -0px;
    left: -3px;
    width: 100% !important;
    z-index: 999;
    overflow: hidden;
    border-radius: 10px 0px 0px 10px;
    transition: 0.4s all ease-in-out;
    max-width: 250px;
  }

  .navbar-wrapper1 {
    padding: 25px 0px !important;
  }

}


.logo a {
  display: block;
  position: relative;
}

.logo img {
  width: 100%;
  height: auto;
  display: block;
}


/* ---------------header links----------------- */

.header-links {
  position: absolute;
  right: 10px;
  top: -35px;
}

.header-links .icon-mobile {
  padding: 0px 4px 0px 0px;
}

.header-links .login-up {
  font-size: 22px;
  /* padding: 5px; */
  color: var(--primary-dark);
  background: var(--Dark-color);
  border-radius: 50%;
}

.header-links a {
  color: var(--Secondary-color);
  font-size: 13px;
}

.header-links a span {
  background-color: var(--primary-dark);
  border-radius: 50px;
  padding: 5px 10px;
  color: var(--Dark-color);
  transition: 0.3s all ease-in-out;
}

.header-links a span:hover {
  background-color: var(--primary-color);
  border-radius: 50px;
  padding: 5px 10px;
  color: #fff;
}



/* =====================Nav Bar======================== */

.main-nav {
  transition: .4s ease;
  padding: 18px 0px;
}

.nav-menu {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  cursor: pointer;
  font-weight: 400;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-menu a {
  cursor: pointer;
  font-weight: 400;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* .header-row:has(.nav-menu li:hover) .nav-bar-light {
   border-radius: 50px 0px 0px 50px;
   transition: border-radius 0.3s ease;
} */

.nav-bar-light {
  position: absolute;
  width: 100%;
  height: 50px;
  background: var(--gradient-light);
  right: -35%;
  z-index: -1;
  bottom: -3px;
  border-radius: 200px 0px 0px 0px;
}

body.scrolled .nav-bar-light {
  display: none;
}

.nav-bar-light img {
  position: absolute;
  width: 100%;
  height: 50px;
  left: -50%;
}

body.scrolled .nav-bar-light img {
  display: none;
}


/* dropdown arrow only for data-menu items */
.nav-menu li[data-menu] {
  position: relative;
  /* padding-right: 16px; */
  display: flex;
  align-items: center;
}

/* arrow icon */
.nav-menu .nav-arrow::after {
  content: "\f107";
  font-family: "Font Awesome 6 Free";
  font-weight: 600;
  font-size: 13px;
  margin-left: 4px;
  display: inline-block;
  transition: transform 0.25s ease;
}

.nav-menu .nav-arrow:hover::after {
  transform: rotate(180deg);
}

/* rotate arrow when active */
.nav-menu li[data-menu].active::after {
  transform: translateY(-50%) rotate(180deg);
}


/* ======================menu icon==================== */



/* ================= MEGA DROPDOWN ================= */


.mega-dropdown {
  position: fixed;
  top: 0px;
  left: 0;
  width: 100%;
  height: 75%;
  background: linear-gradient(135deg, #a64d3aed, #a64e3ae0), url(../images/Roorkee-Patterns-2.png);
  background-repeat: no-repeat;
  background-position: right bottom;
  overflow-x: hidden;
  display: none;
  z-index: 9;
  padding: 150px 0px 0px 0px;
  box-shadow: 0 6px 10px -2px rgba(0, 0, 0, 0.418);
}

.mega-dropdown.show {
  display: block
}

.mega-panel {
  display: none;
  color: #fff
}

.mega-panel ul {
  padding-left: 0.5rem !important;
}

.mega-drop-heading {
  color: var(--primary-dark) !important;
}

.mega-panel.active {
  display: block
}

/* .mega-panel h4 {
  border-bottom: 2px solid rgba(255, 255, 255, .3);
  padding-bottom: 8px;
} */

.mega-panel h4 {
  border-bottom: 2px solid var(--light-color);
  /* border-bottom: 2px solid rgba(255, 255, 255, 0.356); */
  padding-bottom: 8px;
  text-shadow: 0 1px 1px rgb(0, 0, 0);
  color: var(--light-color);
  /* color: #42a7ff; */
}

/* .dropdown-smalltext {
  font-size: 12px;
  color: var(--light-color);
} */
.dropdown-smalltext {
  font-size: 12px;
  color: var(--light-color);
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
}


/*=================Offcanvas Custom=================*/

/* Mobile Toggle Button */
.navbar-toggler {
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  position: absolute;
  left: 85%;
  top: 18%;
}

/* Remove default bootstrap icon */
.navbar-toggler-icon {
  background-image: none !important;
  position: relative;
}

/* Add Font Awesome icon */
.navbar-toggler-icon::before {
  content: "\f0c9";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 30px;
  color: #fff;
  margin: 0px;
  padding: 0px;
  line-height: 1.2;
}

.btn-close {
  opacity: 1;
}

.offcanvas {
  background: var(--primary-color);
  color: white;
}

.offcanvas .dropdown-toggle::after {
  font-family: "Font Awesome 6 Free";
  content: "\f107";
  font-weight: 900;
  border: none;
  vertical-align: middle;
  margin-left: 5px;
  font-size: 20px;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.offcanvas .nav-link {
  color: var(--primary-color) !important;
  font-size: 1.1rem;
  padding: 0.5rem 1rem;
}

.offcanvas-body .nav-item a {
  background: #fff;
  margin: 5px 0px;
  border-radius: 20px;
  padding: 5px 20px;
}

.offcanvas-body .dropdown-menu {
  width: 100%;
  background: #fff;
  padding: 10px;
}

/* Hide desktop nav items on mobile */
@media (max-width: 977px) {
  .navbar-wrapper1 .main-nav {
    display: none !important;
  }

  .navbar-toggler {
    display: flex !important;
  }
}


.navbar-toggler {
  display: none;
}


@media (max-width: 991px) {

  .top-info {
    display: none;
  }

  .nav-bar-light {
    display: none;
  }
}


/* Hide desktop nav items on mobile */
/* @media (max-width: 991px) {
  .main-navbar .navbar-nav {
    display: none !important;
  }
} */



/* ================================HERO SECTION======================== */
.hero {
  position: relative;
  height: calc(100vh);
  min-height: 620px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}


.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.55);
}

/* Overlay */
.hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2;
}



/* ======================News Section======================== */

.section-news-padding {
  background: #A64D3A url(../images/Roorkee-Patterns-2.png);
  background-position: right bottom;
  background-repeat: no-repeat;
}

.news-head {
  position: absolute;
  left: 0px;
  top: 0px;
  background: var(--primary-dark);
  height: 100px;
  width: 180px;
  display: flex;
  flex-flow: column;
  align-items: start;
  justify-content: center;
  padding-left: 20px;
  border-bottom-right-radius: 20px;
  z-index: 4;
}

/* Position and scale the right-side swoop */
.news-curve-svg {
  position: absolute;
  top: 0;
  right: -40px;
  width: 65px;
  height: 100px;
  pointer-events: none;
  display: block;
}

/* Ensure content stays cleanly inside the main block and above the background elements */
.news-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.news-view-all {
  color: #000;
  transition: 0.3s all;
}



/* -------------------------------- */

#news-slider-section .swiper-wrapper {
  transition-timing-function: linear !important;
}


@media (max-width: 991px) {
  .news-head {
    text-align: center;
    margin-bottom: 25px;
  }
}

.news-head h3 {
  color: #fff;
}

.news-card {
  width: 100%;
  margin-bottom: 0px;
  padding: 10px 0px;
}

.news-card p {
  font-size: 10px;
  color: var(--primary-dark);
}


.date-badge {
  width: 70px;
  border-radius: 8px;
  overflow: hidden;
  /* font-weight: 600; */
}

.date-top {
  background: #4E1A0A;
  color: #fff;
  padding: 3px 0;
  font-size: 12px;
  font-family: 'Rubik', sans-serif;
}

.date-bottom {
  background: #fff;
  color: var(--primary-color);
  padding: 6px 0;
  font-size: 18px;
  font-weight: 600;
}

.flash-news span {
  background: var(--primary-dark);
  padding: 3px 6px;
  text-align: left;
  font: normal normal medium 10px/13px Rubik;
  letter-spacing: 1.1px;
  color: #fff;
  text-transform: uppercase;
  opacity: 1;
  position: relative;
  left: 0;
  top: -5px;
  line-height: 12px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 600;
}

.flash-news span::before {
  content: '';
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid var(--primary-dark);
  position: absolute;
  left: 4px;
  bottom: -5px;
}


.news-section {
  padding: 0px;
  width: auto;
  position: relative;
}

.news-nav button {
  width: 40px;
  height: 40px;
  border: none;
  /* border: 1px solid #fff; */
  background: var(--primary-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s all ease-in-out;
  cursor: pointer;
  border-radius: 50%;

}

.news-nav button:hover {
  background: var(--Dark-color);
  color: #fff;
}

.news-nav1 button {
  width: 40px;
  height: 40px;
  border: none;
  /* border: 1px solid #fff; */
  background: #000;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s all ease-in-out;
  cursor: pointer;
  border-radius: 50%;

}

.news-nav1 button:hover {
  background: var(--primary-color);
  color: #fff;
}


.news-view-all {
  color: #000;
  transition: 0.3s all;
}

.news-view-all:hover {
  color: var(--primary-color);
}


/* ================================About Us========================== */

/* --------------------about us left side */
/* --- Custom Layout Grid --- */
.about-custom-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  /* Splitting the left text column and right video column */
  position: relative;
  width: 100%;
}

/* --- Section 1: Swiper Slider Styling --- */
.about-slider-wrapper {
  grid-column: 1 / span 2;
  /* Forces slider to take full width */
  position: relative;
  z-index: 1;
  /* Sits below the overlapping circle video */
  margin-bottom: -60px;
  /* Slight offset to let the circle sit neatly over its padding */
}

.about-hero-swiper {
  border-radius: 20px;
  overflow: hidden;
  width: 100%;
  position: relative;
}

.about-hero-swiper::before {
	content: "";
	width: 100%;
	height: 100%;
	position: absolute;
	inset: 0;
	background: #00000029;
	z-index: 3;
}

.slider-main-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  position: relative;
}


/* Custom FontAwesome Nav Buttons */
.custom-swiper-nav {
  color: var(--primary-dark) !important;
  font-size: 20px;
  transition: opacity 0.3s ease;
}

.custom-swiper-nav::after {
  display: none !important;
  /* Disables default Swiper font arrows */
}

.custom-swiper-nav:hover {
  opacity: 0.7;
}

/* --- Section 3: Left Text and Image --- */
.about-left-content {
  grid-column: 1;
  padding-top: 80px;
  padding-right: 15px;
  position: relative;
}

.about-established-text {
  font-weight: 800;
  font-size: 26px;
  color: #707070;
  line-height: 1.3;
  margin-bottom: 20px;
  text-transform: uppercase;
  opacity: 0.3;
  position: absolute;
  bottom: -24%;
}


@media (min-width: 768px) and (max-width: 990px) {
  .about-established-text {
    bottom: -60%;
    font-size: 22px;
  }
}

@media (min-width: 268px) and (max-width: 768px) {
  .about-established-text {
    bottom: -28%;
    font-size: 18px;
  }
}

.about-small-img-box {
  width: 90%;
  border-radius: 15px;
  overflow: hidden;
}

.about-bottom-left-img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- Section 2: Right Circle Video (Overlapping) --- */
.about-right-video-box {
	grid-column: 2;
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	top: 30px;
}

.about-circular-video-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 2px solid #FFF220;
  overflow: hidden;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.05);
}

.about-circle-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Absolute Ribbon Placement under the Video Circle */
.about-video-ribbon-decor {
  position: absolute;
  bottom: -40px;
  width: 95%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.about-ribbon-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Responsive adjustments for mobile screens */
@media (max-width: 576px) {
  .about-slider-wrapper {
    margin-bottom: -30px;
  }

  .about-left-content {
    padding-top: 45px;
  }

  .about-circular-video-wrap {
    border-width: 6px;
  }
}

/* --------------------about us left side */

.about-padding {
  padding: 60px 0px;
}

.mwidth {
  max-width: 1100px !important;
  position: relative;
  top: -40px;
  z-index: 100;
}

@media (max-width: 768px) {
  .mwidth .box1 {
    padding: 10px 15px !important;
  }
}

a,
button {
  transition: all .5s ease-in-out;
}

.mwidth .box1 {
  background: #fff;
  padding: 20px;
  /* min-height: 250px; */
  border-radius: 20px;
  margin: 0px 15px;
}

.box1,
.box2,
.box3 p {
  font-size: 13px;
}

.mwidth .work-icon {
  max-width: 100px;
  margin: 0 auto;
  line-height: 70px;
}

.mwidth .more {
  font-size: 16px;
  color: #fff;
  font-weight: 500;
  background: linear-gradient(90deg, var(--primary-color), #4E1A0A);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 30px;
  transition: 0.4s ease;
}

.mwidth .more:hover {
  font-size: 16px;
  color: #fff;
  font-weight: 500;
  background: linear-gradient(180deg, var(--primary-color), #4E1A0A);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 30px;
}

.mwidth h3 {
  text-align: center;
  margin: 10px 0px;
  font-size: 20px;
}


.section {
  padding: 84px 0;
}

.section-doc {
  padding: 3% 0%;
}

.eyebrow {
  text-transform: uppercase;
  font-weight: 500;
  font-size: .9rem;
}

.eyebrow1 {
  letter-spacing: .22rem;
  text-transform: uppercase;
  font-weight: 800;
  font-size: .9rem;
  color: #ffffff;
}

.vision-Mission {
  background: #fff;
  padding: 10px 20px;
  border-radius: 20px 10px 10px 10px;
  border: 1px solid var(--primary-color);
  position: relative;
}

.vision-Mission .vision-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 5px;
  position: absolute;
  top: -10px;
  left: -10px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  color: #fff;
  transition: 0.3s all;
}

.vision-Mission i {
  color: var(--primary-color);
}


.vision-Mission a {
  font-size: 13px;
  color: #4e4e4e;
}






/* ========================================================== */




.founder-section {
  position: relative;
  background: var(--primary-color);
  /* background: var(--primary-color) url(../images/Roorkee-Patterns-2.png); */
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  background-position: right bottom;
  overflow: hidden;
}


.founder-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url(../images/Roorkee-Patterns-2.png) no-repeat right bottom;
  opacity: 0.4;
  /* 🔥 adjust here */
  z-index: 0;
}

/* ----------------------------------- */

.news-underline {
  width: 180px;
  height: 8px;
  border-radius: 10px;
  background: var(--brand-2);
  margin: auto;
}

.video-box {
  position: relative;
  height: 560px;
  overflow: hidden;
}

.founders {
  position: absolute;
  z-index: 1;
  width: 100%;
  max-width: 500px;
  left: 50%;
  transform: translate(-50%, -50%);
  top: 50%;
}


/* Video full size */
.video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay */
.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(166, 77, 58, 0.66);
}




/* ================Facility Sec====================== */


.section-facility-padding {
  background: #A64D3A url(../images/Roorkee-Patterns-2.png);
  background-position: right bottom;
  background-repeat: no-repeat;
  padding: 60px 0px;
}

.facility-card {
  border-radius: 20px;
  overflow: hidden;
  height: 350px;
  transition: transform 0.3s ease;
  width: 100%;
  max-width: 280px;
}

.facility-card img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.facility-card:hover {
  transform: translateY(-5px);
}

.facility-text {
  position: absolute;
  bottom: 8px;
  left: 40px;
  color: #fff;
}

.facility-num {
  font-size: 45px;
  font-weight: 700;
  margin-bottom: 0px;
  color: var(--brand-2);
  font-family: 'Rubik', sans-serif;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.facility-text h6 {
  margin: 0;
  font-weight: 600;
  color: #fff;
}

.facility-text p {
  font-size: 13px;
  color: var(--brand-2);
  margin: 0;
}

/* Zig-zag layout */
.top-row {
  margin-top: 0;
}

.bottom-row {
  margin-top: 50px;
}

@media (max-width: 991px) {
  .facility-card {
    height: 320px;
  }

  .bottom-row {
    margin-top: 0;
  }
}



.read-more1 {
  color: var(--brand-2);
  font-weight: 600;
  text-decoration: none;
}

.read-more1:hover {
  text-decoration: underline;
}

.facilitySwiper {
  overflow: hidden;
  padding-bottom: 30px;
}

.facilitySwiper .swiper-slide {
  display: flex;
  justify-content: center;
}


.facility-nav .facility-prev,
.facility-nav .facility-next {
  background: var(--primary-dark);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s ease-in-out;
}

.facility-nav .facility-prev:hover,
.facility-nav .facility-next:hover {
  background: var(--Dark-color);
  color: #fff;
}



/* ======================principal & manager================== */


.message-tab {
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  padding: 4px 9px 4px 4px;
  border: 1px solid var(--primary-color);
}

.message-tab.active {
  background: var(--primary-color);
  display: flex;
  align-items: center;
  padding: 5px 10px 5px 5px;
  border: none;
}

.message-img-round {
  padding: 3px;
  border: 1px solid var(--Dark-color);
  border-radius: 50%;
}

.message-container {
  position: relative;
  margin-top: 20px;
  min-height: 90px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 600px;
}

.message-container1 {
  position: relative;
  margin-top: 20px;
  min-height: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
}

.nav-link:focus,
.nav-link:hover {
  color: #fff !important;
}

.offcanvas
.nav-link:focus,
.nav-link:hover {
  color: var(--Dark-color) !important;
}

/* Header Styling */
.message-header {
  position: absolute;
  left: 0;
  top: 0;
  background: #FFC107;
  height: 100%;
  width: 120px;
  display: flex;
  align-items: center;
  padding-left: 20px;
  z-index: 9;
  border-top-left-radius: 18px;
  border-bottom-left-radius: 18px;
}

.message-header1 {
  position: absolute;
  left: 0;
  top: 0;
  background: #FFC107;
  height: 100%;
  width: 100px;
  display: flex;
  align-items: center;
  padding-left: 20px;
  z-index: 9;
  border-top-left-radius: 18px;
  border-bottom-left-radius: 18px;
}

.message-header2 {
	position: absolute;
	right: 0;
	top: -14px;
	background: #FFF;
	height: 100%;
	width: 90px;
	display: flex;
	align-items: center;
	padding-left: 0px;
	z-index: 9;
	border-top-right-radius: 18px;
	border-bottom-right-radius: 18px;
}

@media (max-width: 764px) {
  .message-header {
    display: none;
  }

  .message-nav-tabs {
    padding: 10px !important;
    border-radius: 15px !important;
    justify-content: center;
  }
}

@media (max-width: 424px) {
  .message-header1, .message-header2 {
    display: none;
  }

  .message-nav-tabs1 {
    padding: 10px !important;
    border-radius: 15px !important;
    justify-content: center;
  }
}

.message-curve-svg {
  position: absolute;
  top: 0;
  right: -60px;
  width: 65px;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.dark-curve-svg {
	position: absolute;
	top: 0;
	left: -50px;
	width: 55px;
	height: 100%;
	pointer-events: none;
	display: block;
	z-index: -1;
}

/* Tab Bar Styling */
.message-nav-tabs {
  background: var(--Dark-color);
  padding: 8px 10px 8px 190px;
  border-radius: 30px 15px 15px;
  display: flex;
  gap: 20px;
  align-items: center;
  border: none;
  max-width: 580px;
}

.message-nav-tabs1 {
  background: var(--Dark-color);
  padding: 6px 10px 6px 140px;
  border-radius: 30px 15px 15px;
  display: flex;
  gap: 0px;
  align-items: center;
  border: none;
  width: 100%;
  justify-content: center;
}

.message-nav-tabs2 {
  background: var(--Dark-color);
	padding: 6px 140px 6px 10px;
	border-radius: 15px 30px 30px 15px;
	display: flex;
	gap: 0px;
	align-items: center;
	border: none;
	width: 100%;
	justify-content: center;
}

.message-tab {
  background: transparent;
  color: white;
  border: none;
  display: flex;
  align-items: center;
  padding: 5px;
  transition: 0.3s;
  border-radius: 10px;
}

.message-tab.active {
  background: var(--primary-color) !important;
  color: #fff;
}

.message-tab img {
  border: 2px solid rgba(255, 255, 255, 0.2);
}

/*===================DARK COLOR HEADING================= */



/* =========founder tab Header================= */



/* ---------------------------------- */

.principal-img {
  width: 100%;
  border-radius: 30px;
  padding: 3px;
  border: 1px solid var(--primary-color);
}


.principal-quot {
  /* width: 100%;
      padding: 4px 10px; */
  color: #fff;
  font-size: 14px;
  opacity: 0.8;
}

.quick-link-sec {
  background: #fff;
  /* background: #0d6dfdcc; */
  display: flex;
  justify-content: center;
  padding: 15px;
  margin: 15px;
  border-radius: 15px;
  transition: 0.4s ease-in-out;
  border: 1px solid #0d6efd4d;
}

.quick-link-sec:hover {
  background: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.quick-link-sec img {
  width: 100%;
  margin: auto;
  height: 40px;
}

@media (max-width: 1198px) {
  .quick-link-sec {
    margin: 5px !important;
  }
}

@media (max-width: 991px) {
  .quick-link-sec {
    margin: 0px !important;
  }
}

@media (max-width: 980px) {
  .quick-scroll {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    /* IMPORTANT FIX */
    justify-content: flex-start;
    scrollbar-width: thin;
  }

  .quick-scroll .col-3 {
    flex: 0 0 auto;
    /* prevent shrinking */
    width: 120px;
    /* adjust if needed */
  }
}







/* =========================Gallery Album==================== */

.gradient-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.745) 0%, rgba(0, 0, 0, 0.526) 50%, transparent 100%);
  z-index: 2;
}

.ActivitySwiper {
  height: auto;
  border-radius: 20px;
}

.ActivitySwiper h5 {
  /* color: var(--primary-color); */
}


.image-container-activity {
  height: 380px;
  /* Same height as column 7 images */
  overflow: hidden;
  width: 100%;
  border-radius: 25px;
}

.image-container-activity img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* This ensures all images fill the container consistently */
}

.underline-single-gall {
  width: 50%;
  height: 2px;
  background-color: var(--Secondary-color);
  margin: 2px auto;
  border-radius: 20px;
}


.galler-carousels {
  width: 40px;
  height: 40px;
  border: 1px solid #fff;
  background: #fff;
  color: var(--primary-color);
  font-size: 14px;
  transition: 0.3s all ease-in-out;
  cursor: pointer;
  border-radius: 50%;
}

.galler-carousels:hover {
  background: var(--primary-color);
  color: #fff;
}

.activity-prev {
  position: absolute;
  z-index: 99;
  left: 20px;
  top: 45%;
  transform: translateY(-50%);
}

.activity-next {
  position: absolute;
  z-index: 99;
  right: 20px;
  top: 45%;
  transform: translateY(-50%);
}


/* ===============short gallery============ */
.short-gallery {
  position: relative;
  /* height: 100%; */
  border-radius: 150px;
  transition: 0.4s all ease-in-out;
}

.short-gallery img {
  object-fit: cover;
  width: 100%;
  height: 120px;
  border-radius: 20px;
  transition: 0.3s all ease-in-out;
}

.short-gallery:hover {
  border-radius: 200px;
}

.short-gallery:hover img {
  border-radius: 200px;
}









/* ============================Achievements=========================== */


.image-container-single {
  height: 320px;
  /* Same height as column 7 images */
  overflow: hidden;
  width: 100%;
  border-radius: 25px;
}

.image-container-single img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* This ensures all images fill the container consistently */
}

.underline-single-gall {
  width: 50%;
  height: 2px;
  background-color: var(--Secondary-color);
  margin: 2px auto;
  border-radius: 20px;
}

/* Gradient overlay for album name */
.gradient-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.745) 0%, rgba(0, 0, 0, 0.526) 50%, transparent 100%);
  z-index: 2;
}

.gradient-overlay h6 {
  font-weight: 700;
}

/* Custom pagination styling */
.single-gallery-pagination {
  position: relative;
  bottom: 0;
  text-align: center;
  margin-top: 1rem;
}

.single-gallery-pagination .swiper-pagination-bullet {
  width: 15px;
  height: 15px;
  border-radius: 10px;
  background: transparent;
  border: 2px solid var(--primary-dark);
  opacity: 1;
  transition: transform .3s ease, opacity .3s ease;
}

.single-gallery-pagination .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--primary-dark);
  transform: scale(1.2);
}



/* Ensure swiper container has proper height */
.SingleGallerySwiper {
  height: auto;
  border-radius: 20px;
}

.SingleGallerySwiper h5 {
  color: var(--primary-dark);
  /* font-weight: 700; */
}

.gallery-title h6 {
  text-shadow: 0 1px 1px rgb(255, 255, 255);
  color: var(--Dark-color);
}

.underline-gall {
  width: 100%;
  max-width: 330px;
  height: 2px;
  background-color: var(--Secondary-color);
  border-radius: 20px;
  margin: 10px auto;
}


.achievement-button {
  width: 40px;
  height: 40px;
  border: 1px solid #fff;
  background: var(--gradient-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s all ease-in-out;
  cursor: pointer;
  border-radius: 50%;
}

.achievement-button:hover {
  background: #fff;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.achievement-prev {
  position: absolute;
  z-index: 99;
  left: 20px;
  top: 35%;
  transform: translateY(-50%);
}

.achievement-next {
  position: absolute;
  z-index: 99;
  right: 20px;
  top: 35%;
  transform: translateY(-50%);
}




/* =============happy Birthday=================== */

#BirthdaySlider .round-frame,
#BirthdaySlider1 .round-frame {
  width: 295px;
  object-fit: cover;
  position: absolute;
  top: -18px;
  left: 47%;
  transform: translateX(-50%);
}

@media (max-width: 768px) {

  #BirthdaySlider .round-frame,
  #BirthdaySlider1 .round-frame {
    width: 290px;
    object-fit: cover;
    position: absolute;
    top: -15px !important;
    left: 48%;
    transform: translateX(-50%);
  }
}

#BirthdaySlider .toppers-card-img,
#BirthdaySlider1 .toppers-card-img {
  position: relative;
  width: 220px;
  height: 220px;
  object-fit: cover;
  margin-top: 10px;
  /* border: 1px solid var(--primary-dark); */
  padding: 5px;
}

#BirthdaySlider h6,
#BirthdaySlider1 h6 {
  color: #fff;
  padding: 6px;
  border-radius: 5px;
  white-space: normal;
  background: var(--gradient-color1);
  margin: 70px 0px 20px 0px;
}

#BirthdaySlider h3,
#BirthdaySlider1 h3 {
  padding: 10px 0px 0px 0px;
  border-radius: 40px;
  white-space: normal;
  margin: 0px;
  text-transform: uppercase;
  color: transparent;
  font-weight: 700;
  background: linear-gradient(180deg, var(--theme-primary) 0%, var(--primary-dark) 55%, var(--primary-dark) 100%) no-repeat;
  -webkit-background-clip: text;
}

#BirthdaySlider p,
#BirthdaySlider1 p {
  color: #000000;
  font-weight: 400;
  font-size: 13px;
}

.birthday-balloon {
  position: absolute;
  z-index: 9;
  top: 15%;
  left: 0px;
  width: 130px;
}

.birthday-balloon1 {
  position: absolute;
  z-index: 9;
  top: 15%;
  right: 0px;
  width: 130px;
}

.birthday-flag {
  position: absolute;
  top: -14%;
  width: 60%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9;
}

.birthday-button .birthday-prev,
.birthday-button .birthday-next,
.birthday-button .birthday1-prev,
.birthday-button .birthday1-next {
  width: 40px;
  height: 40px;
  border: none;
  background: var(--primary-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s all ease-in-out;
  cursor: pointer;
  border-radius: 50%;
}

.birthday-button .birthday-prev:hover,
.birthday-button .birthday-next:hover,
.birthday-button .birthday1-prev:hover,
.birthday-button .birthday1-next:hover {
  background: var(--Dark-color);
  color: #fff;
}

.student-birthday {
  width: 100%;
  object-fit: cover;
  position: absolute;
  bottom: 22%;
  left: 50%;
  transform: translateX(-50%);
  max-width: 200px;
}


.birthday-center-gif {
  width: 100%;
  max-width: 360px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 50px;
}

.birthday-center-line {
  width: 100%;
  max-width: 500px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 28%;
}



/* ===================Toppers / Birthday====================== */

.Topper-student {
  width: 200px;
  height: 220px;
  object-fit: cover;
  border: 2px solid var(--primary-dark);
}

.carousel-controls .custom-prev2,
.carousel-controls .custom-next2 {
  background: var(--primary-dark);
  color: #fff;
  border: none;
  border-radius: 50px;
  width: 38px;
  height: 38px;
  margin: 0 8px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.carousel-controls .custom-prev2:hover,
.carousel-controls .custom-next2:hover {
  background: var(--Dark-color);
}

.Toppers-gif {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.5;
  width: 100%;
  max-width: 400px;
  top: 0;
}



/* ===============================Viideo Code=========================== */

.CabinetSwiper {
  border-radius: 25px;
}


.video-container {
  height: 320px;
  width: 100%;
  overflow: hidden;
  background: #fff;
  border-radius: 25px;
  border: 2px solid var(--primary-dark);
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}





/* =======================VIEW ALL BUTTONS====================== */

.viewall-gallery {
  background: linear-gradient(135deg, var(--primary-dark), #CC6A29);
  color: #fff;
  border-radius: 30px;
  padding: .5rem 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  transition: 0.4s ease-in-out;
}

.viewall-gallery:hover {
  background: var(--Dark-color);
  color: #fff;
}



/* ========================underline========================= */

.underline-img {
  width: 100%;
  max-width: 310px;
  margin-bottom: 20px;
  border-radius: 6px;
}




/* ===============================FOOTER=========================== */


.site-footer {
  /* background: #A64D3A url(../images/Roorkee-Patterns-2.png); */
  background-position: right bottom;
  background-repeat: no-repeat;
  padding: 60px 0px 220px 0px;
}

.our-patron {
  color: var(--primary-dark) !important;
  text-shadow: 1px 1px 1px rgb(78, 26, 10) !important;
  position: relative;
  width: 190px;
  margin: 0px auto;
}


.logo-footer {
  width: 100%;
  z-index: 20;
  padding: 0px;
  overflow: hidden;
  margin: 0px auto;
}

.logo-footer a {
  display: block;
  position: relative;
}

.logo-footer img {
  width: 100%;
  height: auto;
  display: block;
}


@keyframes shine {
  0% {
    transform: translateX(-150%) rotate(25deg);
  }

  100% {
    transform: translateX(150%) rotate(25deg);
  }
}

.btn-border-flow {
  display: inline-block;
  padding: 6px 18px;
  font-size: 18px;
  color: #fff;
  background: #0B1E44;
  border-radius: 50px;
  text-decoration: none;
  position: relative;
  z-index: 1;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.27);

}

.cisoft {
  color: #ffffffde !important;
  transition: 0.3s all ease-in-out;
}

.cisoft:hover {
  color: var(--primary-light) !important;
}

.btn-border-flow::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50px;
  background: linear-gradient(270deg, var(--primary-color), var(--primary-dark), var(--primary-color));
  background-size: 400% 400%;
  z-index: -1;
  animation: borderMove 6s linear infinite;
}


/* ----------------------- */


/* ============================= */

.copyright {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 13px;
  text-align: center;
}

@media (max-width: 991px) {
  .copyright {
    position: absolute;
    bottom: 180px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 13px;
    text-align: center;
  }
}


.social-sec {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-left: 0rem;
  padding-left: 0rem;
  margin-bottom: 0px;
  margin-top: 20px;
}

.social-sec li {
  list-style: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  /* Glassmorphism effect */
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: 0.3s ease;
  cursor: pointer;
}

.social-sec li a {
  color: white;
  font-size: 18px;
  transition: 0.3s;
}

.social-sec li:hover {
  background: var(--light-color);
  transform: translateY(-5px) scale(1.05);
}

.social-sec li:hover a {
  color: var(--primary-light);
}

.footer-text-color h6 {
  color: var(--primary-dark);
}

.footer-text-color p {
  color: #ffffff;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.4);
}

.footer-text-color ul li a {
  color: #ffffff;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.4);
}

.footer-text-color ul li a:hover {
  color: var(--light-color);
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.856);
}

@media (max-width: 991px) {
  .footer-school-img {
    padding-top: 130px;
  }
}



/* =======================footer logo ================================*/


.footer-copyright {
  color: #ffffff;
  font-size: 11px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 120px;
  width: 90%;
  text-align: center;
}

@media (max-width: 768px) {
  .footer-copyright {
    color: #ffffff;
    font-size: 11px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 80px !important;
    width: 90%;
    text-align: center;
  }
}

.footer-bottom-name {
  display: flex;
  width: 80%;
  justify-content: center;
  align-items: center;
  height: 80px;
  max-width: 1200px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 135px;
}

.footer-bottom-name img {
  height: 80px;
}

.footer-bottom-name div {
  width: 100%;
  background: var(--primary-dark);
  height: 1px;
  max-width: 500px;
  margin: 0px 15px 0px 5px;
  position: relative;
  border-radius: 10px;
}

.footer-bottom-name div::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--primary-dark);
  position: absolute;
  left: 0px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
}

.footer-bottom-name div::after {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--primary-dark);
  position: absolute;
  right: 0px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
}

.footer-bottom-name p {
  margin: 0px;
  color: var(--primary-dark);
  font-weight: 500;

  letter-spacing: 0.5px;
}

/* ========================Page Css======================= */


.hero-banner {
  /* background: #f6f6ef; */
  background: linear-gradient(to right, #000000bd, #000000bd, #000000bd), url('../images/page-banner.png') center/cover no-repeat;
  height: 380px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}


.section-title {
  color: rgb(255, 255, 255);
  text-transform: uppercase;
}

.hero-divider {
  width: 130px;
  height: 4px;
  background-color: var(--Secondary-color);
  margin: 0 auto;
  border-radius: 30px;
}

.hero-title {
  z-index: 3;
  padding: 15px;
  border-radius: 100px;
  width: 95%;
  max-width: 1100px;
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translate(-50%);
  height: 100px;
}



.about-content {
  padding: 60px 0px;
}


.page-heading {
  text-transform: uppercase;
  color: transparent;
  font-weight: 700;
  background: linear-gradient(180deg, var(--theme-primary) 0%, var(--primary-dark) 55%, var(--primary-dark) 100%) no-repeat;
  -webkit-background-clip: text;
  position: relative;
}

/* .page-heading::before {
	content: '';
	position: absolute;
	width: 25px;
	height: 25px;
	background: #ffffff;
	border-radius: 50%;
	left: 1px;
	top: -3px;
	z-index: -1;
} */


.hero-banner {
  height: 400px;
  position: relative;
  overflow: hidden;
}

/* Swiper full size */
.heroSwiper {
  width: 100%;
  height: 100%;
}

.heroSwiper .swiper-slide {
  width: 100%;
  height: 100%;
}

.heroSwiper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dark overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.63);
  z-index: 1;
}

/* Keep content above */
.hero-title {
  z-index: 3;
  padding: 15px;
  border-radius: 100px;
  width: 95%;
  max-width: 1100px;
}

/* ================================== */


.custom-card {
  /* box-shadow: 8px 2px 1px rgba(0, 0, 0, 0.41); */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-card:hover {
  transform: translateY(-5px);
  box-shadow: 5px 3px 12px rgba(0, 0, 0, 0.35);
}

.card-img-top {
  height: 220px;
  /* adjust as per image size */
  object-fit: cover;
}


/* ============================= */


.yellow-divider {
  width: 200px;
  height: 6px;
  background: var(--primary-dark);
  margin: 10px auto;
  border-radius: 1px;
}




.list-styling-arrow {
  padding: 0% 0% 0% 1%;
  margin: 0;
}

.list-styling-arrow li {
  position: relative;
  line-height: 28px;
  padding: 0px 0 0px 32px;
  list-style: none;
  margin: 8px 0;
}

.list-styling-arrow li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 14px;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-color);
  color: #ffffff;
  font-size: 11px;
  border-radius: 20px;
}


thead th {
  background: var(--Dark-color) !important;
  color: #fff !important;
  text-align: center;
  vertical-align: middle;
  font-weight: 500;
}

table td {
  font-size: 15px;
  background: #ffffff7a !important;
}

ol li {
  line-height: 28px;
  padding: 0px 0px 0px 0px !important;
  list-style-type: disc !important;
  background: none !important;
  list-style: none;
  margin: 8px 0px;
  vertical-align: middle;
}

/* ===================According===================== */

/* Remove default */
.accordion-item {
  border: none;
  background: transparent;
  margin-bottom: 10px;
}

/* Default ALL buttons */
.accordion-button {
  background: var(--primary-color);
  color: #fff;
  border-radius: 10px !important;
  /* default for all */
  padding: 15px 20px;
  border: none;
  box-shadow: none;
  transition: all 0.3s ease;
  font-weight: 600;
}

/* Remove Bootstrap arrow */
.accordion-button::after {
  display: none;
}

/* Arrow */
.arrow-icon {
  transition: transform 0.3s ease;
  font-size: 18px;
  color: #fff;
}

/* Rotate when open */
.accordion-button:not(.collapsed) .arrow-icon {
  transform: rotate(180deg);
}

/* OPEN STATE HEADER */
.accordion-button:not(.collapsed) {
  border-radius: 10px 10px 0 0 !important;
  background: var(--Dark-color);
}

/* BODY STYLE */
.accordion-body {
  background: #f8f9fa;
  border-radius: 0 0 10px 10px;
  padding: 20px;
}

/* Remove gap between header & body */
.accordion-collapse {
  border: none;
  margin-top: -5px;
  /* 👈 important for seamless look */
}

/* Remove focus */
.accordion-button:focus {
  box-shadow: none;
}




/* ==================================== */

.back-to-top {
  position: fixed;
  bottom: 18px;
  right: 18px;
  background: var(--gradient-color1);
  width: 43px;
  height: 43px;
  border-radius: 50%;
  display: none;
  z-index: 999;
  transition: all 0.4s;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--Secondary-color);
}

.back-to-top::after {
  position: absolute;
  z-index: -1;
  content: '';
  top: 100%;
  left: 5%;
  height: 10px;
  width: 90%;
  opacity: 1;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.311) 0%, rgba(0, 0, 0, 0) 80%);
}

.back-to-top i {
  color: #fff;
  font-size: 16px;
}

.back-to-top {
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}






/* ========================== Modernized Floating Bar Design ========================== */

#floating-pod {
  position: fixed;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  background-color: var(--primary-color);
  border-top-left-radius: 11px;
  border-bottom-left-radius: 11px;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.24);
  z-index: 10;

  height: 54px;
  width: auto;
  max-width: 95%;
  border-bottom: 2px solid #fff;
}

/* Scroll Container handles scrolling safely without clipping the white tag button */
.pod-scroll-container {
  display: flex;
  align-items: center;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  flex-wrap: nowrap;
  justify-content: flex-start;
  padding-right: 100px;
  /* Generous clearance block keeps links from creeping under the white curve */
  scrollbar-width: none;
  border-top-left-radius: 14px;
  border-bottom-left-radius: 14px;
}

.pod-scroll-container::-webkit-scrollbar {
  display: none;
}

/* Base item styling inside the container */
.pod-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  text-decoration: none;
  padding: 0 30px;
  height: 100%;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

.pod-item:hover {
  opacity: 0.85;
  color: #ffffff;
}

.pod-icon {
  font-size: 26px;
  line-height: 1;
  display: inline-block;
  flex-shrink: 0;
}

.pod-text {
  display: flex;
  flex-direction: column;
}

.top-line {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1.2;
}

.bottom-line {
  font-size: 12px;
  font-weight: 400;
  color: #f1e4e0;
  line-height: 1.2;
}

.pod-divider {
  width: 1px;
  height: 30px;
  background-color: rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}


/* ========================== The Overflowing Curved Right Section ========================== */

.quick-links-tag {
  position: absolute;
  right: -2px;
  top: -8px;
  display: flex;
  align-items: center;
  background-color: #ffffff;
  height: calc(100% + 10px);
  padding-right: 25px;
  border-top-right-radius: 11px;
  border-bottom-right-radius: 11px;
  z-index: 20;
  border-top-left-radius: 15px;
}

/* Fixes curve distortion and perfectly styles the shape */
.curve-svg {
  position: absolute;
  top: 0;
  left: -50px;
  width: 65px;
  height: 100%;
  pointer-events: none;
  display: block;
  z-index: -1;
}

.tag-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-weight: 600;
  /* font-size: 17px; */
  line-height: 1.2;
  color: #a35238;
  letter-spacing: 0.2px;
  text-align: left;
  background-color: #ffffff;
  user-select: none;
}

/* ========================== Responsive Behaviour Override ========================== */
@media (max-width: 768px) {
  #floating-pod {
    width: 92%;
    height: 50px;
  }

  .quick-links-tag {
    height: calc(100% + 12px);
    top: -10px;
    padding-right: 15px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-top-left-radius: 0px !important
  }

  .curve-svg {
    width: 55px;
    left: -54px;
  }

  .top-line {
    font-size: 13px;
  }

  .bottom-line {
    font-size: 11px;
  }

  .pod-icon {
    font-size: 22px;
  }

  .tag-text {
    font-size: 14px;
  }
}