/* === Global Styles and Fonts === */
@import url('https://fonts.googleapis.com/css?family=Poppins:400,600,700&display=swap');

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  box-sizing: border-box;
  padding-top: 90px; /* Space for fixed announcement bar */
  background-size: cover;
  min-height: 100vh;
  color: #212121;
}
body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background: none !important;
  background-color: #fff; /* or any desired solid background color */
}

.logo img {
  display: block;
  height: 100px;
  width: auto;
  border-radius: 50%;
}
/* === Background Video === */
#bgVideo {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -10;
}

/* === Announcement Bar === */
.announcement-bar {
  width: 100vw;
  background: #f6f4f4f1;
  color: #141412;
  font-weight: 500;
  font-size: 1rem;
  text-align: left;
  padding: 7px 7px 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1200;
  box-shadow: 0 2px 8px rgba(170, 193, 21, 0.09);
  overflow: hidden;
}
.announcement-ticker {
  width: 100vw;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
  height: 38px;
}
.announcement-ticker span {
  display: inline-block;
  padding-left: 100vw;
  animation: ticker-left 18s linear infinite;
}
@keyframes ticker-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100vw); }
}

/* === Glass Shimmer Heading === */
.animated-shimmer {
  display: inline-block;
  background: linear-gradient(
    120deg,
    #121212 30%,
    #43d3ff 40%,
    #b3e7f6 55%,
    #121212 70%
  );
  background-size: 200% 100%;
  color: #232323;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 2.2s linear infinite;
}
@keyframes shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* === Scroll Animation === */
.scroll-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}
.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Action Buttons === */
.action-buttons-container {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 1000;
}
.action-buttons {
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 18px rgba(34,34,34,0.08);
}
.btn {
  width: 130px;
  height: 35px;
  padding: 8px 0;
  font-size: 0.9rem;
  font-weight: 700;
  border: none;
  border-radius: 0;
  cursor: pointer;
  margin: 0;
  outline: none;
  box-shadow: none;
  transition: transform 0.23s cubic-bezier(.4,2,.45,.6), z-index 0.23s;
  z-index: 1;
}
.btn:focus,
.btn:hover {
  transform: scale(1.045);
  z-index: 5;
}
.apply  { background: #03f89a; color: #222; }
.call   { background: #02c57a; color: #222; }
.request{ background: #029c61; color: #222; }
.action-buttons .btn + .btn {
  border-top: 1px solid #eee;
  margin-top: 0;
}
.btn .icon {
  font-size: 1.25em;
  margin-right: 9px;
  vertical-align: middle;
}
@media (max-width: 500px) {
  .btn { width: 70vw; font-size: 1rem; }
  .action-buttons-container { right: 3vw; }
}

/* === Side Floating Buttons === */
.side-floating-buttons {
  position: fixed;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.side-btn {
  width: 40px;
  height: 40px;
  background: #16c3be;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.9rem;
  border: none;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.18s;
  box-shadow: 0 4px 14px rgba(34,34,34,0.09);
}
.side-btn:hover, .side-btn:focus {
  background: #029091;
  transform: scale(1.07);
}
.icon {
  pointer-events: none;
}
.side-floating-buttons .side-btn:nth-child(1) { background-color: #12c58ff1; }
.side-floating-buttons .side-btn:nth-child(2) { background-color: #25b308c7; }

/* === Navigation Bar === */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1800px;
  width: 100%;
  margin: 0 auto;
  background: transparent;
  position: fixed;
  top: 48px;
  left: 0; right: 0;
  z-index: 1001;
  padding: 18px 28px;
  border-radius: 22px;
  box-sizing: border-box;
}


.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
}
.nav-links .glass {
  padding: 8px 22px;
  font-size: 1.03rem;
  border-radius: 16px;
  font-weight: 500;
  text-decoration: none;
  color: #222;
  background: rgba(255,255,255,0.17);
  box-shadow: 0 4px 18px rgba(31,38,135,0.16);
  backdrop-filter: blur(10px) saturate(180%);
  border: 1.5px solid rgba(255,255,255,0.19);
  transition: background 0.2s, color 0.2s;
}
.nav-links .glass:hover {
  background: rgba(0,118,255,0.20);
  color: #0076ff;
}

/* Dropdown */
.dropdown {
  position: relative;
  display: inline-block;
}
.dropbtn {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  outline: none;
  color: inherit;
  padding: 0;
}
.dropdown-content {
  display: none;
  position: absolute;
  background: rgba(255,255,255,0.85);
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  border-radius: 15px;
  z-index: 1;
  flex-direction: column;
}
.dropdown-content a {
  color: #333;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  border-bottom: 1px solid #eee;
}
.dropdown-content a:last-child {
  border-bottom: none;
}
.dropdown:hover .dropdown-content {
  display: block;
}
/* Glass effect on dropdown */
.dropdown-content,
.glass.dropbtn {
  backdrop-filter: blur(10px);
  background: rgba(180, 185, 180, 0.55);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}


.dropdown-submenu:hover > .submenu-content {
  display: block;
}


/* Responsive Sections navbar */
@media (max-width: 850px) {
  .navbar {
    flex-direction: column;
    padding: 14px 10px;
    width: calc(100vw - 20px);
    margin: 6px auto;
    font-size: 1rem;
  }
  .center-content { padding-top: 80px; }
  .section { max-width: 98vw; margin: 44px auto; }
  .row { flex-direction: column; gap: 14px; width: 100%; }
  .course-col, .campus-col, .facilities-col, .testimonials-col {
    min-width: 90vw; max-width: 98vw; margin: 7px auto;
  }
}

/* Pie SVG responsiveness */
@media (max-width: 600px) {
  .pie-svg { width: 98vw; height: 98vw; }
}

/* === Glass Main Styling === */
.glass {
  background: rgba(255,255,255,0.06);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(31,38,135,0.07);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  border: 1.5px solid rgba(255,255,255,0.04);
  padding: 1.2rem;
  width: 100%;
  box-sizing: border-box;
}

/* Glass effect text box */
.text-box.glass {
  -webkit-backdrop-filter: blur(3px) saturate(120%);
  backdrop-filter: blur(3px) saturate(120%);
  background: rgba(255,255,255,0.04);
}

/* Center Content */
.center-content {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90vh;
}

/* Text Box */
.text-box {
  text-align: center;
  max-width: 600px;
  margin-top: 80px;
}
.text-box h1 {
  font-size: 2.4rem;
  margin-bottom: 1.2rem;
  color: #222;
}
.text-box p {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  color: #212121;
}
.hero-btn {
  display: inline-block;
  padding: 0.9rem 2.1rem;
  font-size: 1.1rem;
  font-weight: 500;
  background: rgba(0,0,0,0.15);
  color: #fff;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.25s;
  text-decoration: none;
  margin-top: 1em;
}
.hero-btn:hover {
  background: #0076ff;
  color: #fff;
}

/* === Vision, Mission, Objectives Section === */

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 120px auto 48px auto;
  align-items: stretch;
  justify-content: center;
}

.vm-feature {
  flex: 1 1 300px;
  min-width: 280px;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;   /* Top-align content */
  align-items: flex-start;       /* Left/top align children */
  padding: 2rem 1.2rem 1.5rem 1.2rem;
  margin: 0 10px 30px 0;
  color: #212121;
  background: rgba(255, 255, 255, 0.21);
  background-blend-mode: multiply;
  border: 2.2px solid rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(11px);
  backdrop-filter: blur(11px);
  border-radius: 0 0 40px 0;
  box-shadow: 0 8px 36px rgba(31, 38, 135, 0.16);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, background 0.25s;
}

.vm-feature:nth-child(1) {
  background: linear-gradient(135deg, rgba(0, 51, 102, 0.15), rgba(65, 132, 243, 0.15));
  border-color: rgba(216, 61, 61, 0.28);
  color: #f2f3f5;
}

.vm-feature:nth-child(2) {
  background: linear-gradient(135deg, rgba(218, 165, 32, 0.15), rgba(251, 192, 45, 0.15));
  border-color: rgba(251, 192, 45, 0.28);
  color: #f8f7f4;
}

.vm-feature:nth-child(3) {
  background: linear-gradient(135deg, rgba(23, 101, 95, 0.15), rgba(37, 187, 150, 0.15));
  border-color: rgba(37, 187, 150, 0.28);
  color: #f1f7f6;
}

.vm-feature:hover {
  transform: scale(1.03) translateY(-8px);
  box-shadow: 0 16px 48px rgba(31, 38, 135, 0.32);
  background-blend-mode: screen;
}

.vm-feature h2 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.2;
}

.vm-feature p,
.vm-feature ul {
  font-size: 1.07rem;
  font-weight: 400;
  margin-bottom: 22px;
  line-height: 1.5;
  color: inherit;
}

.vm-feature ul {
  padding-left: 20px;
}

.vm-feature ul li {
  font-weight: 500;
  margin-bottom: 12px;
}

/* --- Optional: If using .card-container version instead --- */

.card-container {
  display: flex;
  gap: 18px;
  align-items: stretch;
  justify-content: center;
}

.vision-card, .mission-card, .objectives-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  background: rgba(255,255,255,0.21);
  border: 2.2px solid rgba(65,132,243,0.28);
  border-radius: 0 0 40px 0;
  box-shadow: 0 8px 36px rgba(31, 38, 135, 0.10);
  padding: 2rem 1.2rem 1.5rem 1.2rem;
  min-width: 260px;
  max-width: 400px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  transition: transform 0.28s, box-shadow 0.28s;
  color: #26334d;
}

.vision-card h2, .mission-card h2, .objectives-card h2 {
  margin-top: 18px;
  margin-bottom: 14px;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.1;
}

.vision-card p,
.mission-card p,
.objectives-card p {
  margin-top: 0;
  margin-bottom: 18px;
  font-size: 1.07rem;
  font-weight: 400;
  color: inherit;
  line-height: 1.5;
}

.objectives-card ul {
  padding-left: 20px;
  margin-top: 0;
  margin-bottom: 0;
}

.objectives-card ul li {
  font-weight: 500;
  margin-bottom: 12px;
}

/* === Sections and Row Layouts === */
.section {
  margin: 70px auto 30px auto;
  max-width: 1100px;
  width: 100%;
  box-sizing: border-box;
}
.row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-evenly;
  align-items: stretch;
  gap: 2rem;
  width: 100%;
  box-sizing: border-box;
}

/* Course, Campus, Testimonials Columns */
.row > .course-col,
.row > .campus-col,
.row > .testimonials-col {
  flex: 1 1 0;
  min-width: 180px;
  max-width: 300px;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
}

.course-col, .campus-col,  .testimonials-col {
  text-align: center;
  padding: 1rem;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 4px 22px rgba(31,38,135,0.12);
  border: 1.5px solid #fff;
  backdrop-filter: blur(10px);
  width: 100%;
  box-sizing: border-box;
}
.course-col img, .campus-col img, .testimonials-col img {
  width: 100%;
  max-width: 120px;
  border-radius: 1em;
  display: block;
  margin: 0 auto 10px auto;
  box-sizing: border-box;
}

/* === Facilities Section === */
.facilities-section {
  max-width: 1300px;
  margin: 40px auto;
  padding: 0 20px;
}
.facilities-section h1 {
  font-size: 2.2rem;
  margin-bottom: 32px;
  text-align: left;
  font-weight: 800;
  color: #222;
}
/* Base Styles and Fonts, Backgrounds, Buttons, Navbar, etc... Keep previous styles but remove duplicates */

/* Glass Container common for Facilities and Faculty */
.glass-container{
  background: rgba(255,255,255,0.15);
  border-radius: 24px;
  box-shadow: 0 12px 48px rgba(31, 38, 135, 0.25);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  padding: 32px 40px;
  max-width: 1360px;
  margin: 0 auto 60px auto;
  box-sizing: border-box;
}

/* Facility and Faculty common grid styling */
.square-row{
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}

/* Facility and Faculty box style */
.facility-box{
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  border-radius: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 220px;
  height: 300px;
  transition: transform 0.3s ease;
}

.facility-box img{
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 0;
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* Light glass shine on hover */
.facility-box::before{
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 260px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
  transition: opacity 0.4s ease;
}

.facility-box:hover::before{
  opacity: 1;
}

.facility-box:hover img{
  transform: scale(1.05);
  filter: brightness(1.2);
}

.facility-title{
  position: relative;
  z-index: 2;
  font-weight: 600;
  font-size: 1.15rem;
  color: #212121;
  margin: 16px 0 0 0;
  text-align: center;
  transition: color 0.3s ease;
}

.facility-box:hover .facility-title{
  color: #0076ff;
}

/* Responsive Adjustments */
@media (max-width: 1100px) {
  .square-row, .row {
    gap: 24px;
  }
  .facility-box{
    width: 48vw;
    max-width: 320px;
    min-width: 180px;
    height: auto;
  }
  .facility-box img{
    height: 45vw;
    max-height: 260px;
    min-height: 140px;
  }
}


/* === Modal Styles === */
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(24, 24, 24, 0.36);
  backdrop-filter: blur(8px);
  z-index: 1000;
}
.modal-content {
  background: rgba(255,255,255,0.82);
  margin: 7% auto;
  padding: 22px;
  max-width: 700px;
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
  position: relative;
}
.close {
  position: absolute;
  top: 22px; right: 22px;
  cursor: pointer;
  font-size: 28px;
}


/* === Glass Slide Container & Sections === */
.glass-slide-container {
  width: 98vw;
  margin: 30px auto;
  max-width: 1300px;
  box-sizing: border-box;
}
.glass-slide-header {
  width: 100%;
  margin-bottom: 18px;
}
.glass.moving-slides {
  min-height: 160px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  text-align: center;
  font-weight: 500;
}
.glass-slide-body {
  display: flex;
  flex-direction: row;
  gap: 20px;
  width: 100%;
  margin-top: 5px;
  justify-content: space-between;
}
.glass.welcome-box {
  width: 35%;
  min-height: 135px;
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  padding: 14px 16px;
}
.glass.hod-photo-box {
  width: 18%;
  min-height: 100px;
  align-self: flex-start;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
}
.glass.walkthrough-box {
  width: 27%;
  min-height: 140px;
  text-align: left;
  font-size: 1rem;
  font-weight: 400;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 14px 18px;
}
@media (max-width: 900px) {
  .glass-slide-body {
    flex-direction: column;
    gap: 14px;
  }
  .glass.welcome-box, .glass.hod-photo-box, .glass.walkthrough-box {
    width: 100%;
  }
}

/* === Footer === */
.footer {
  width: 100%;
  text-align: center;
  padding: 30px 0;
  box-sizing: border-box;
}
.footer h4 {
  margin-bottom: 18px;
  margin-top: 16px;
  font-weight: 600;
  box-sizing: border-box;
}
.icons .fa {
  color: #f44336;
  margin: 0 13px;
  cursor: pointer;
  padding: 18px;
  box-sizing: border-box;
}
.fa.fa-heart-o {
  color: #f44336;
}

/* === Small Button === */
.small-btn {
  font-size: 12px;
  padding: 4px 10px;
  width: auto;
  height: auto;
}


/* === Voice Assistant Button === */
#voice-assistant-btn {
  position: fixed;
  right: 36px;
  bottom: 36px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.14);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3em;
  color: #222;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 2000;
}
#voice-assistant-btn:hover {
  background: #cce7ff;
  color: #0056b3;
}


/* main page dean beside video */
.media-desc-row {
  display: flex;
  gap: 36px;
  justify-content: center;
  align-items: stretch; /* Ensures equal height */
  margin: 40px auto;
  max-width: 1200px;
  padding: 0 18px;
  min-height: 340px;
}

.desc-block, .video-block {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.10);
  flex: 1 1 420px;
  min-width: 320px;
  padding: 34px 30px 30px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  /* Removed height: 100% to allow equal height by flexbox */
}

.desc-block h2 {
  margin-top: 0;
  margin-bottom: 18px;
  font-size: 2rem;
  font-weight: 700;
  color: #232323;
}

.desc-block p {
  font-size: 1.07rem;
  line-height: 1.7;
  color: #232323;
}

.overview-photo {
  position: absolute;
  top: 22px;
  right: 28px;
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 2px 14px rgba(40,40,80,0.13);
  border: 3px solid #fff;
}

.video-block {
  display: flex;
  justify-content: center;
  align-items: center;
  /* min-height: 0; */
}

.video-block video {
  width: 100%;
  height: 100%; /* Fill block height */
  max-width: 440px;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(30,30,60,0.08);
  object-fit: contain; /* Maintain aspect ratio */
}

@media (max-width: 900px) {
  .media-desc-row {
    flex-direction: column;
    gap: 22px;
    padding: 0 8px;
    min-height: unset;
  }
  .desc-block, .video-block {
    min-width: 0;
    padding: 22px 14px 18px 14px;
    height: auto;
  }
  .desc-block h2 {
    font-size: 1.35rem;
  }
  .overview-photo {
    width: 56px;
    height: 56px;
    top: 12px;
    right: 9px;
    border-radius: 8px;
  }
  .video-block {
    min-height: 180px;
  }
}



/* faculty  */
/* Faculty Section */
.faculty-section {
  max-width: 1300px;
  margin: 40px auto;
  padding: 0 20px;
}
.faculty-section h1 {
  font-size: 2.2rem;
  margin-bottom: 32px;
  text-align: left;
  font-weight: 800;
  color: #222;
}

/* Faculty box style */
.faculty-box {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  border-radius: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 220px;
  height: 300px;
  transition: transform 0.3s ease;
}
.faculty-box img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 0;
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
}
.faculty-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 260px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
  transition: opacity 0.4s ease;
}
.faculty-box:hover::before {
  opacity: 1;
}
.faculty-box:hover img {
  transform: scale(1.05);
  filter: brightness(1.2);
}
.faculty-title {
  position: relative;
  z-index: 2;
  font-weight: 600;
  font-size: 1.15rem;
  color: #212121;
  margin: 16px 0 0 0;
  text-align: center;
  transition: color 0.3s ease;
}
.faculty-box:hover .faculty-title {
  color: #28b087;
}

/* Responsive adjustments for faculty */
@media (max-width: 1100px) {
  .faculty-box {
    width: 48vw;
    max-width: 320px;
    min-width: 180px;
    height: auto;
  }
  .faculty-box img {
    height: 45vw;
    max-height: 260px;
    min-height: 140px;
  }
}




/* cafateria   */

  .Cafeteria{
    width: 100%;
    text-align: center;
    padding: 30px 0;
    box-sizing: border-box;
}
.Cafeterias and Hangout Spotsh2 {
    margin-bottom: 18px;
    margin-top: 16px;
    font-weight: 600;
    color: #264387;
    font-size: 2rem;
}
.Cafeterias and Hangout Spots p{
    font-size: 1.15rem;
    color: #233;
    line-height: 1.6;
    margin-bottom: 12px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}



/*    playground    */
.Playground {
  width: 100%;
  text-align: center;
  padding: 30px 0;
  box-sizing: border-box;
}

.Playground h2 {
  margin-bottom: 18px;
  margin-top: 16px;
  font-weight: 600;
  box-sizing: border-box;
}



.bg-slider {
  width: 100%;
  height: 540px;         /* Height of your slider */
  position: relative;
  margin-bottom: 32px;   /* Space below the slider */
  overflow: hidden;
}
.bg-slider .slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s;
}
.bg-slider .slide.active {
  opacity: 1;
}
.playground-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 18px;
}


/*Faculty new*/
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins'x, sans-serif;
}
.slide-container{
  max-width: 1120px;
  width: 100%;
  background-color: transparent;
}
.slide-content{
  margin: 0 40px;
}
.card{
  width: 320px;
  border-radius: 25px;
  background-color: #FFFF;
}
.image-content, 
.card-content{
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 14px,;
}
.image-content{
  position: relative;
  row-gap: 5px;
  padding: 25px 0;
}
.overlay{
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: #28b087;
   border-radius: 25px 25px 0 25px;
}
.overlay::before,
.overlay::after{
  content: '';
  right: 0;
  bottom: -40px;
  position: absolute;
  height: 40px;
  width: 40px;
  background-color: #28b087;
}
.overlay::after{
  border-radius: 0 25px 0 0;
  background-color: #fff;
}
.card-image{
  position: relative;
  height: 150px;
  width: 150px;
  border-radius: 50%;
  background: #fff;
  padding: 3px;
}
.card-image .card-img{
  height: 100%;
  width:100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #28b087;
}
.name{
  font-size: 18px;
  font-weight: 500;
  color: #333;
}
.description{
  font-size: 14px;
  color: #707070;
  text-align: center;
}
.button{
  border: none;
  font-size: 16px;
  color: #fff;
  padding: 8px 16px;
  background-color: #28b087;
  border-radius: 6px;
  margin: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.button:hover{
  background: #28b087;
}
.swiper-slide {
  width: 250px !important;  /* your desired fixed width */
  max-width: 250px !important;
  box-sizing: border-box;
  margin-right: 20px; 
  text-align: center;
}

.card {
  width: 100%;             /* fill the slide width */
  max-width: 250px;
}

/* swiper */
.swiper {
      width: 100%;
      height: 100%;
    }

.swiper-navBtn {
  color: #6E93f7;
  transition: color 0.3s ease;
}
.swiper-navBtn:hover {
  color: #4070F4;
}
.swiper-navBtn::before,
.swiper-navBtn::after {
  font-size: 40px;
}

.swiper-button-next{
  right: 0;
}
.swiper-button-prev{
  left: 0;
}
.swiper-pagination.bullet{
  background-color: #6E93f7;
  opacity: 1;
}




/* Modal backdrop and container */
.faculty-modal {
  display: none;
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.55);
  z-index: 1100;
  justify-content: center;
  align-items: center;
  overflow: auto;
}
.faculty-modal-content {
  background: #fff;
  border-radius: 18px;
  width: 900px;
  max-width: 96vw;
  max-height: 94vh;
  box-shadow: 0 8px 48px #23496b1a;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  margin: auto;
}

/* Close button */
.faculty-modal-close {
  position: absolute;
  top: 21px;
  right: 26px;
  font-size: 2.2em;
  font-weight: bold;
  color: #12395e;
  cursor: pointer;
  z-index: 111;
  transition: color 0.18s;
}
.faculty-modal-close:hover {
  color: #297bc2;
}

/* Layout: Sidebar + Main */
.faculty-modal-layout {
  display: flex;
  width: 100%;
  min-height: 420px;
  height: 100%;
}

/* Sidebar menu */
.faculty-modal-menu {
  background: #e5f2ff;
  min-width: 225px;
  max-width: 280px;
  padding: 35px 8px 35px 0;
  border-top-left-radius: 18px;
  border-bottom-left-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.faculty-modal-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}
.faculty-modal-menu li {
  color: #12395e;
  font-size: 20px;
  font-weight: 700;
  padding: 18px 18px 18px 0;
  margin-bottom: 14px;
  border-radius: 0 22px 22px 0;
  cursor: pointer;
  background: none;
  transition: background 0.18s;
  text-align: right;
  letter-spacing: 0.5px;
}
.faculty-modal-menu li.active,
.faculty-modal-menu li:hover {
  background: #c1e1fb;
  color: #1769ac;
}

/* Main content area */
.faculty-modal-main {
  flex: 1 1 auto;
  padding: 40px 40px 28px 44px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow-y: auto;
}

/* Photo + Info row */
.faculty-modal-photo-box {
  display: flex;
  align-items: center;
  min-height: 130px;
  margin-bottom: 10px;
}
.faculty-modal-photo-box img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 0 20px #3899dc2b;
  border: 6px solid #f2f8fd;
  margin-right: 28px;
}

/* Headings */
.faculty-name {
  font-size: 2.1em;
  color: #194474;
  font-weight: 900;
  margin-bottom: 10px;
  margin-top: 5px;
  font-family: 'Poppins', Arial, sans-serif;
}
.faculty-exp-box {
  font-size: 1.22em;
  font-weight: 700;
  margin-bottom: 8px;
  background: #eaf8fa;
  color: #1795c0;
  padding: 7px 19px;
  border-radius: 8px;
  display: inline-block;
}

/* Main detail section */
.faculty-modal-content {
  /* existing styles */
  background: #fff;
  border-radius: 18px;
  width: 900px;           /* fixed width */
  max-width: 96vw;
  max-height: 94vh;       /* fixed max height */
  box-shadow: 0 8px 48px #23496b1a;
  display: flex;
  flex-direction: column;
  overflow: hidden;       /* important to prevent resizing */
  position: relative;
  margin: auto;

  /* Add fixed height to prevent resizing */
  min-height: 600px;
  height: 90vh;
}

.faculty-detail-section {
  margin-top: 24px;
  color: #133d60;
  font-size: 1.12em;
  line-height: 1.7;
  max-width: 100%;
  
  /* Content scroll area with fixed max height */
  max-height: calc(90vh - 300px);
  overflow-y: auto;
  white-space: pre-line;
}



/* Responsive styles */
@media (max-width: 900px) {
  .faculty-modal-content {width: 98vw; max-height: 98vh;}
  .faculty-modal-layout { flex-direction: column; min-height: unset;}
  .faculty-modal-menu {
    border-radius: 18px 18px 0 0;
    min-width: 100%;
    max-width: 100vw;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 10px 0 0 5vw;
  }
  .faculty-modal-menu ul { display: flex; flex-direction: row; }
  .faculty-modal-menu li {
    border-radius: 18px;
    padding: 14px 15px;
    margin-bottom: 0;
    margin-right: 10px;
    text-align: center;
    font-size: 1em;
  }
  .faculty-modal-main { 
    padding: 16px 8vw 15px 8vw; 
    align-items: center; 
  }
  .faculty-modal-photo-box { 
    flex-direction: column; 
    align-items: center;
    margin-bottom: 12px;
  }
  .faculty-modal-photo-box img { 
    width: 110px; height: 110px; margin: 0 0 5px 0;
  }
  .faculty-name { 
    font-size: 1.3em;
    text-align: center;
  }
}

::-webkit-scrollbar {
  width: 8px;
  background: #e5f2ff;
}
::-webkit-scrollbar-thumb {
  background: #b5c5de;
  border-radius: 7px;
}


/* social media */

.floating-social {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 10px 0;
  background: #048358;
}

/* Hide the bar by default */
.floating-social .social-bar {
  display: none;
  gap: 22px;
}

/* Only show social-bar when globe icon is hovered or bar is hovered */
.floating-social:hover .social-bar,
.floating-social:focus-within .social-bar {
  display: flex;
}

.floating-social .trigger {
  color: #fff;
  font-size: 2.2rem;
  margin-right: 16px;
  text-decoration: none;
}

.floating-social .social-bar a {
  color: #fff;
  font-size: 1.7rem;
  text-decoration: none;
  margin-right: 12px;
}

.floating-social .social-bar a:hover {
  color: #49dd49;
}