
/* 4. Hero Section */
.page-banner {
  height: 450px;
  background: url("../images/aboutusmain.png") no-repeat center center/cover;
  position: relative;
  display: flex;
  align-items: center;
}

.banner-overlay {
  background: rgba(0, 0, 0, 0.5); /* Darkens the image */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 10%;
}

.banner-content {
  color: white !important;
  max-width: 700px;
}

.banner-content h1 {
  font-size: 3.5rem;
  margin-bottom: 15px;
}

.banner-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: white !important;
}
.main-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 20px;
}

.breadcrumb-about {
  font-size: 1.2rem;
  color: #4f0071;
  border-bottom: 0.2rem solid #deb04c;
  margin-left: 23rem;
  font-weight: 500;
}

.content-wrapper {
  display: flex;
  gap: 40px;
}


.page-container {
  display: flex;
  min-height: 100vh;
}


/* 2. LAYOUT - Sidebar + Main */
.page-container {
  display: grid;
  grid-template-columns: 350px 1fr; /* Sidebar fixed on desktop */
  min-height: 100vh;
}

/* Sidebar Styling */
.sidebar-about {
  background-color: #f3eef8;
  padding-top: 0rem;
  border-right: 1px solid #ddd;
  margin-top: -4rem;
}

    .sidebar-about ul {
        list-style: none;
        margin-top: 7rem;
    }

    .sidebar-about li {
        padding: 15px 30px;
        font-size: 1.2rem;
        cursor: pointer;
        text-align: right;
    }

.sidebar-about li:hover {
  background-color: #e6e0ec;
  color: #000;
  font-weight: bold;
  border-right: 4px solid var(--purple);
}

/* Main Content Area */
.main-content {
  padding: 40px 5%;
  width: 100%;
  overflow: hidden;
}

.content-header {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 50px;
}

.title-block h1 {
  font-size: clamp(28px, 5vw, 42px);
  color: #333;
  line-height: 1.1;
}

.accent-text {
  color: var(--gold);
}

.description-block {
  max-width: 500px;
  font-size: 15px;
  color: #444;
}

/* 3. CAROUSEL & FLOATING CARD */
.carousel-section {
  position: relative;
  margin-bottom: 3.3rem;
  width: 100%;
  height: 55vh;
}

.image-wrapper-about {
  display: flex;
  height: 500px; /* Desktop Height */
  width: 100%;
  position: relative;
}

.bg-img-about {
  flex: 1;
  background-size: cover;
  background-position: center;
}

.left-img {
    background-image: url("../images/aboutussection1img.jpg");
    background-color: #ccc;
}
.right-img {
  background-image: url("../images/aboutussection2img.jpg");
  background-color: #bbb;
}

.floating-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  background: white;
  width: 90%;
  max-width: 484px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  border-top: 6px solid var(--purple);
  display: flex;
  flex-direction: column;
  min-height: 310px;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
p#cardText {
  font-weight: 500;
  width: 101%;
}
.contentflashcard {
  /* Remove visibility:hidden and grid-area */
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  width: 100%;
}

.nav-arrows {
  display: block;
  justify-content: space-between; /* Keeps arrows on opposite sides */
  width: 100%;
  user-select: none;
}

/* Make sure arrows look clickable when active */
.arrow-about {
  cursor: pointer;
  padding: 5px 10px;
}
.arrow-about .active {
  opacity: 1;
  font-weight: bold;
}
/* Divider inside card */
.divider-about {
  width: 40px;
  margin: 15px auto;
}
h3#cardTitle {
    font-size: 1.5rem;
    font-weight: 800;
    margin-top: 1rem;
}

/* 4. OUR STORY SECTION */
.story-header {
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
  margin: 40px 0;
  padding: 15px 0;
}

.story-header h1 {
  font-size: clamp(32px, 6vw, 52px);
}

.story-grid {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.story-content {
  flex: 1.2;
}
.story-content h3 {
  font-size: 1.5rem;
  margin-bottom: 3rem;
}
p.para1 {
  font-size: 1.2rem;
}
p.para2 {
  margin-top: 2rem;
  width: 194%;
  font-size: 1.2rem;
}
.story-image {
  flex: 1;
}
.story-image img {
  width: 100%;
  height: auto;
  display: block;
  margin-top: -9rem;
}
@media (max-width: 576px) {
    .banner-content h1 {
        font-size: 3rem;
        margin-bottom: 2rem;
        text-align: center;
    }
    .banner-content p {
        font-size: 1.1rem;
        line-height: 1.6;
        color: white !important;
        text-align: center;
    }
    .breadcrumb-about {
        margin-left: 0rem;
    }
    .sidebar-about {
        margin-top: 1rem;
    }
    .page-container {
        grid-template-columns: 1fr; /* Sidebar stacks on top */
    }
    .sidebar-about ul {
        margin-top: 1rem;
    }
    .sidebar-about li {
        font-size: 1rem;
        padding: 8px 10px;
        text-align: center;
        width: 95%;
    }
    .content-header {
        flex-direction: column;
        gap: 1rem;
    }
    .carousel-section {
        position: relative;
        margin-bottom: 10rem;
        width: 100%;
        height: 55vh;
        margin-top: -2rem;
    }
    .story-content h3 {
        width: 157%;
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
        margin-top: 0rem;
    }
    p.para1 {
        font-size: 1.1rem;
        width: 176%;
    }
    .story-grid {
        gap: 0;
    }
    p.para2 {
        display: none;
    }
}

/* ---------------------------------------------------
   5. MEDIA QUERIES - ORDERED CAREFULLY
------------------------------------------------------ */

/* Tablets (1024px and down) */
@media (min-width: 992px) and (max-width: 1199px) {
    .description-block {
        max-width: 54%;
    }
    .carousel-section {
        margin-bottom: 11.3rem;
        margin-top: -2rem;
    }
    .page-container {
        display: grid;
        grid-template-columns: 313px 1fr;
        min-height: 100vh;
    }
    p.para1 {
        font-size: 1.1rem;
        width: 200%;
        margin-top: -1rem;
    }
    p.para2 {
        margin-top: 1rem;
        width: 200%;
        font-size: 1.1rem;
    }
}

/* Mobile (768px and down) */
@media (min-width: 768px) and (max-width: 991px) {
    .banner-content h1 {
        font-size: 3rem;
        margin-bottom: 2rem;
        text-align: center;
    }

    .banner-content p {
        font-size: 1.1rem;
        line-height: 1.6;
        color: white !important;
        text-align: center;
    }

    .breadcrumb-about {
        margin-left: 0rem;
    }

    .sidebar-about {
        margin-top: 1rem;
    }

    .page-container {
        grid-template-columns: 1fr; /* Sidebar stacks on top */
    }

    .sidebar-about ul {
        margin-top: 1rem;
    }

    .sidebar-about li {
        font-size: 1rem;
        padding: 8px 10px;
        text-align: center;
        width: 98%;
    }

    .content-header {
        gap: 1rem;
    }
    .description-block {
        max-width: 56%;
    }

    .carousel-section {
        position: relative;
        margin-bottom: 3rem;
        width: 100%;
        height: 55vh;
        margin-top: -2rem;
    }

    .story-content h3 {
        width: 157%;
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
        margin-top: 0rem;
    }

    p.para1 {
        font-size: 1.1rem;
        width: 176%;
    }

    .story-grid {
        gap: 0;
    }
}

@media (min-width: 1200px) and (max-width: 1366px) {
    .carousel-section {
        margin-bottom: 7.3rem;
        margin-top: -2rem;
    }
    p.para1 {
        font-size: 1.2rem;
        width: 200%;
    }
    .description-block {
        max-width: 50%;
    }
}



.lastpagebanner {
  width: 100%;
  min-height: 40vh;
  margin-top: 30px;
  background-image: url("../images/aboutuslastimage.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
}

.lastpagebanner-overlay {
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  padding: 60px 0;
}

.lastpagebanner-container {
  width: 50%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 5%;
  margin-left: 1rem;
}

.lastpagebanner-content {
  max-width: 100%;
}

.lastpagebanner-content h3 {
  color: #ffffff;
  font-size: 1.5rem;
  line-height: 1.4;
  font-weight: 500;
  margin-bottom: 1rem;
}

.lastpagebanner-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lastpagebanner-links li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.lastpagebanner-links li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.lastpagebanner-links li a:hover {
  color: #ffb400;
}

.arrow-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.arrow {
  cursor: pointer;
  opacity: 0.3;
  transition: opacity 0.3s ease;
}

.arrow.active {
  opacity: 1; /* Bright when clickable */
  color: #ffb400; /* Example highlight color */
}

.arrow:not(.active) {
  cursor: not-allowed;
}

.lastpagebanner-links li a:hover .arrow-circle {
  background-color: #ffb400;
  border-color: #ffb400;
  color: #000;
  transform: translateX(5px);
}



/* For Mobile Devices */
@media (max-width: 576px) {
    .lastpagebanner-container {
        width: 100%;
    }
    .lastpagebanner {
        margin-top: -5rem;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .lastpagebanner-container {
        width: 72%;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .lastpagebanner-container {
        width: 72%;
    }
}

@media (min-width: 1200px) and (max-width: 1366px) {
    .lastpagebanner-container {
        width: 72%;
    }
}

/*-------------------------------------------------------------------------------*/



mark {
  background-color: yellow;
  color: black;
  padding: 0;
  border-radius: 2px;
}

/* Search Box Styles */

/*Search Box Active Styling*/
mark {
  background-color: yellow;
  color: black;
  padding: 0;
  border-radius: 2px;
}

.search-box {
  display: flex;
  align-items: center;
  background-color: #51007a;
  width: 45px;
  height: 45px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  padding: 0;
}

.search-box.active {
  width: 250px;
}

#searchBtn {
  min-width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  font-size: 18px;
  flex-shrink: 0;
  margin: 0 auto;
  display: flex;
}

#mainSearch {
  border: none;
  background: transparent;
  color: white;
  outline: none;
  width: 0;
  opacity: 0;
  font-size: 16px;
  transition:
    width 0.4s ease,
    opacity 0.3s ease;
}

.search-box.active #mainSearch {
  width: 100%;
  opacity: 1;
  margin-left: 10px;
  margin-right: 15px;
}

#mainSearch::placeholder {
  color: rgba(255, 255, 255, 0.6);
}
/* Mobile-Specific Responsive Overrides */
@media (max-width: 600px) {
  .search-box.active {
    position: fixed;
    top: 10px;
    left: 10px;
    right: 10px;
    width: calc(100% - 20px) !important;
    z-index: 1000; /* Ensure it stays above other content */
    max-width: none;
  }

  .search-box.active #mainSearch {
    width: 100%;
    opacity: 1;
    margin-left: 10px;
  }
}

/*---------------------------------------*/
/* Page - About Leadership and Governance*/
/*---------------------------------------*/

.top-part.leadershipprofile-container {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 100% !important;
  padding: 20px 0 !important;
  position: relative !important;
  min-height: auto !important;
  overflow: visible !important;
}
.leadershipmain-container {
  color: #333;
  line-height: 1.6;
}

.leadershippage-banner {
  position: relative;
  height: 450px;
  background: url("../images/aboutoldc.jpg") no-repeat center center/cover;
  display: flex;
  align-items: center;
}

.leadershipbanner-overlay {
  background: rgba(0, 0, 0, 0.4);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 10%;
}

.leadershipbanner-content h1 {
  color: white;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 10px;
}

.leadershipbanner-content p {
  color: white;
  font-size: 1.2rem;
  border-left: 3px solid #fff;
  padding-left: 15px;
}
.leadershippage-container {
  display: flex;
  max-width: 100%;
  margin: 40px auto;
  gap: 40px;
  padding: 0 20px;
}

.leadershipsidebar {
  width: 250px;
  flex-shrink: 0;
  background-color: var(--bg-light);
}

.leadershipsidebar ul {
  list-style: none;
  padding: 0;
  position: sticky;
  top: 20px;
}

.leadershipsidebar li {
  padding: 12px 20px;
  font-size: 0.9rem;
  cursor: pointer;
  text-align: right;
  transition: 0.3s;
  border-right: 4px solid transparent;
}

.leadershipsidebar li:hover,
.leadershipsidebar li.leadershipactive {
  background-color: #f3e5f5;
  border-right: 4px solid #51007a;
  font-weight: bold;
  color: #51007a;
}

.leadershipprofile-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  position: relative;
  padding: 0;
  margin: 0;
}

.leadershippioneers-header {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  margin: 0 auto !important;
  text-align: center !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;

  font-size: clamp(2.8rem, 12vw, 15rem) !important;

  line-height: 1.4 !important;
  padding: 0.1em 0 !important;

  background:
    linear-gradient(rgba(126, 121, 121, 0.8), rgba(104, 93, 93, 0.8)),
    url("../images/aboutusmain.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  --webkit-background-clip: text !important;
  background-clip: text !important;
  --webkit-text-fill-color: transparent !important;
  color: transparent !important;

  white-space: nowrap !important;
}

@media screen and (max-width: 480px) {
  .leadershippioneers-header {
    font-size: 11.5vw !important;
    line-height: 1.2 !important;
  }
  .top-part.leadershipprofile-container {
    padding-top: 10px !important;
  }

  .top-part br {
    display: none !important;
  }
}

@media screen and (min-width: 481px) and (max-width: 1024px) {
  .leadershippioneers-header {
    font-size: 13vw !important;
  }
}

@media screen and (min-width: 1600px) {
  .leadershippioneers-header {
    font-size: 16rem !important;
    margin-bottom: 30px !important;
  }
}

@media screen and (max-width: 992px) {
  .leadershippioneers-header {
    font-size: 15vw;
  }
}

@media screen and (max-width: 600px) {
  .leadershippioneers-header {
    font-size: 11.5vw;
    line-height: 1.2;
    padding: 0.1em 0;
  }

  .leadershipprofile-container br {
    display: none !important;
  }
}

.director-info {
  position: relative;
  z-index: 10;
  text-align: center;
  margin-top: 10px;
  pointer-events: none;
}
    .director-info .subtitle {
        font-size: 1.5rem;
    }
    .director-info .title-underline {
        font-size: 4rem;
    }

.director-info .subtitle,
.director-info .title-underline {
  position: relative;
  z-index: 11;
  color: #000;
}

.leadershipimage-box {
  position: relative;
  display: inline-block;
  margin: 30px 0;
}

.leadershipimage-box::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 250px;
  height: 280px;
  background-color: #f3e5f5;
  z-index: -1;
  border-radius: 10px;
}
.leadershipquote-icon.start {
    margin-left: -56rem;
    font-size: 5rem;
}
.leadershipquote-icon.end {
    margin-left: 63rem;
    font-size: 5rem;
}
.leadershipquote-text {
    font-size: 1rem;
    width: 60%;
    margin-top: -4rem;
    margin-left: 20rem;
}

.leadershipimage-box img {
  width: 300px;
  height: auto;
  border-radius: 0;
  display: block;
}

.leadershipnext-btn {
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
  background-color: #d4a017;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  z-index: 10;
}

.leadershipgovernance-banner {
  background: #51007a;
  color: white;
  padding: 60px;
  margin: 40px auto;
  position: relative;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
}

.leadershipbanner-content {
  padding-left: 20px;
  max-width: 60%;
  text-align: left;
  margin-bottom: 40px;
}

.leadershipbanner-footer {
  align-self: flex-end;
  max-width: 45%;
  text-align: right;
}

.highlight {
  color: #d4a017;
  font-weight: bold;
}

/* Lightbulb Positioning */
.leadershiplightbulb-icon {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.leadershiplightbulb-icon img {
  width: 60%;
  opacity: 0.8;
}
@media (max-width: 768px) {
  .leadershipbanner-content,
  .leadershipbanner-footer {
    max-width: 100%;
    width: 100%;
    text-align: left;
    margin-left: 0;
    border-right: none;
  }

  .leadershipnext-btn {
    right: 10px;
    width: 45px;
    height: 45px;
  }

  .leadershipimage-box::before {
    width: 200px;
    height: 230px;
  }
}
/* Bottom Right Alignment */
.leadershipbanner-footer {
  align-self: flex-end;
  text-align: right;
  max-width: 40%;
  margin-top: auto;
}

.leadershipbanner-footer p {
  font-size: 0.95rem;
  line-height: 1.4;
}

.leadershipbannerfooterhighlight {
  color: #b8860b;
  font-weight: bold;
}

.leadershiplightbulb-icon {
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  position: absolute;
  top: 20px;
  right: 20px;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.leadershiplightbulb-icon img {
  width: 60%;
  height: auto;
  filter: brightness(0) invert(1);
}

/* --- RESPONSIVE QUERIES --- */

/* For Tablets */
@media (max-width: 992px) {
  .leadershipbanner-content p,
  .leadershipbanner-footer {
    max-width: 80%;
  }
}

/* For Mobile Phones */
@media (max-width: 600px) {
  .leadershipgovernance-banner {
    padding: 80px 20px 30px 20px; /* More room for the icon */
    text-align: left;
  }

  .leadershipbanner-content p,
  .leadershipbanner-footer {
    max-width: 100%; /* Take full width on mobile */
    text-align: left;
  }

  .leadershipbanner-footer {
    align-self: flex-start; /* Reset right alignment */
  }

  .leadershiplightbulb-icon {
    width: 50px;
    height: 50px;
    top: 15px;
    right: 15px;
  }
}

.leadership-wrapper {
  position: relative;
  padding: 50px;
  max-width: 1200px;
  margin: auto;
}

.leadershipphilosophy-section {
  position: relative;
  display: block; /* Changed from flex to allow absolute positioning of text */
}

/* Heading Styling */
.leadershipphilosophy-text {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  line-height: 1.1;
}

.leadershipphilosophy-text h2 {
  font-size: 2rem;
  margin: 0;
  color: #333;
}

.leadershipgold-text {
  color: #b8860b;
}
.leadershippurple-text {
  color: purple;
}

.leadershipphilosophy-image-container {
  width: 100%;
  position: relative;
}

.leadershipphilosophy-image-container img {
  width: 100%;
  display: block;
  border-radius: 40px;
  /* Creates the stepped cutout effect */
  clip-path: polygon(
    0% 25%,
    35% 25%,
    35% 0%,
    100% 0%,
    100% 75%,
    65% 75%,
    65% 100%,
    0% 100%
  );
}

.philosophy-quote {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 35%;
  color: black;
  text-align: right;
  font-size: 0.9rem;
  padding: 10px;
}

.philosophy-quote .highlight {
  color: #51007a;
  font-weight: bold;
}

.bottom-description {
  margin-top: 30px;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}
@media (max-width: 992px) {
  .leadershippage-container {
    flex-direction: column;
  }

  .leadershipsidebar {
    width: 100%;
  }

  .leadershipsidebar li {
    text-align: left;
    border-right: none;
    border-left: 4px solid transparent;
  }

  .leadershipsidebar li.leadershipactive {
    border-left: 4px solid #51007a;
  }
}

@media (max-width: 600px) {
  .leadershipbanner-content h1 {
    font-size: 2rem;
  }
  .leadershippioneers-header {
    font-size: 3rem;
    text-align: center;
    font-size: clamp(5rem, 25vw, 15rem);

    background: url("../images/aboutusmain.png");
    background-size: cover;
    background-position: center;
    --webkit-background-clip: text;
    --webkit-text-fill-color: transparent;
    font-weight: 900;
    margin-bottom: -0.15em;
    line-height: 0.8;
    width: 100%;
    display: block;
  }
  .leadershipphilosophy-section {
    flex-direction: column;
  }
}
@media (max-width: 992px) {
  .leadershipphilosophy-text h2 {
    font-size: 1.8rem;
  }
  .leadershipphilosophy-image-container img {
    clip-path: polygon(
      0% 15%,
      45% 15%,
      45% 0%,
      100% 0%,
      100% 85%,
      55% 85%,
      55% 100%,
      0% 100%
    );
  }
}

@media (max-width: 768px) {
  .leadershipphilosophy-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .leadershipphilosophy-text,
  .philosophy-quote {
    position: static;
    width: 100%;
    text-align: left;
    padding: 0;
  }

  .leadershipphilosophy-image-container img {
    clip-path: none;
    border-radius: 20px;
  }

  .leadershipphilosophy-text h2 {
    font-size: 1.5rem;
  }

  .bottom-description {
    text-align: left;
    font-size: 0.9rem;
  }
}

/*Institution PAge Starts from here*/

.institutionalactive {
  color: #d4a017;
  font-weight: bold;
}



.institutional-milestone-banner,
.institutional-info-links-section {
  width: 100%;
  box-sizing: border-box;
}

.institutional-milestone-banner {
  background-color: #201d1d;
  background:
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("../images/institutionallastimage.jpg");
  background-size: cover;
  background-position: center;
  padding: 60px 20px;
  color: var(--inst-white);
}

.institutional-milestone-container {
  max-width: 100%;
  margin: 0 auto;
}

.institutional-milestone-border-box {
  border: 1px solid var(--inst-border);
  padding: 40px;
  position: relative;
  min-height: 400px;
  display: flex;
  flex-direction: column;
}

.institutional-milestone-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
}

.institutional-milestone-title {
  font-size: 2.5rem;
  color: var(--inst-gold);
  margin: 0;
}

.institutional-milestone-top-desc {
  max-width: 400px;
  font-size: 0.9rem;
  line-height: 1.6;
  text-align: right;
  opacity: 0.9;
}

.institutional-timeline-graphic {
  margin-top: auto;
  text-align: center;
  padding-bottom: 40px;
}

.institutional-arc-year {
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.institutional-center-desc {
  max-width: 500px;
  margin: 0 auto;
  font-size: 0.85rem;
  line-height: 1.5;
}

.institutional-info-links-section {
  background: var(--inst-white);
  padding: 80px 20px;
}

.institutional-info-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 60px;
}

.institutional-info-text {
  flex: 1;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--inst-text-dark);
}

.institutional-info-links {
  flex: 0 0 400px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.institutional-info-links li {
  border-bottom: 1px solid #ddd;
}

.institutional-info-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  text-decoration: none;
  color: var(--inst-text-gray);
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.institutional-link-active {
  color: var(--inst-gold) !important;
}

.institutional-arrow-circle {
  width: 32px;
  height: 32px;
  border: 1px solid #ccc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.institutional-link-active .institutional-arrow-circle {
  background-color: var(--inst-gold);
  color: var(--inst-white);
  border-color: var(--inst-gold);
}

@media (max-width: 992px) {
  .institutional-info-container {
    flex-direction: column;
    gap: 40px;
  }

  .institutional-info-links {
    flex: 1 1 auto;
    width: 100%;
  }

  .institutional-milestone-header {
    flex-direction: column;
    text-align: left;
  }

  .institutional-milestone-top-desc {
    text-align: left;
  }
}

@media (max-width: 600px) {
  .institutional-milestone-title {
    font-size: 1.8rem;
  }

  .institutional-arc-year {
    font-size: 2.5rem;
  }

  .institutional-info-text {
    font-size: 1.2rem;
  }

  .institutional-milestone-border-box {
    padding: 20px;
  }

  .institutional-info-links a {
    padding: 15px 0;
    font-size: 1rem;
  }
}

.institutionalpage-banner {
  height: 450px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    url("../images/institutionalmainimage.jpg") no-repeat center center/cover;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.institutionalbanner-overlay {
  background: rgba(0, 0, 0, 0.4);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 0 8% 80px 8%;
  position: relative;
  box-sizing: border-box;
}

.institutionalbanner-content::before {
  content: "";
  position: absolute;
  left: -30px;
  bottom: -20px;
  width: 100vw;
  height: 180px;
  border-left: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  pointer-events: none;
  z-index: 1;
}

.institutionalbanner-overlay::after {
  content: "";
  position: absolute;
  right: 180px;
  bottom: 12%;
  width: 240px;
  height: 260px;
  background: url("../images/arrowbg.jpg") no-repeat center center/cover;
  clip-path: polygon(75% 0%, 100% 50%, 75% 100%, 0% 100%, 25% 50%, 0% 0%);
  border-left: 6px solid #b8860b;
  z-index: 2;
}

.institutionalbanner-content {
  position: relative;
  color: white !important;
  max-width: 900px;
  z-index: 5;
}

.institutionalbanner-content h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  line-height: 1.3;
  margin: 0;
  font-weight: 700;
  display: inline;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  background: linear-gradient(
    180deg,
    transparent 65%,
    rgba(184, 134, 11, 0.5) 65%
  );
  padding-right: 10px;
}

@media (max-width: 1024px) {
  .institutionallastpagebanner-content {
    max-width: 400px;
  }
  .institutionalbanner-overlay::after {
    right: 120px;
    width: 200px;
  }
}

@media (max-width: 768px) {
  .institutionallastpagebanner {
    justify-content: center;
    text-align: center;
  }
  .institutionallastpagebanner-content {
    max-width: 90%;
    padding: 30px 20px;
  }
  .institutionallastpagebanner-links a {
    justify-content: center;
  }

  .institutionalpage-banner {
    height: 400px;
    align-items: center;
  }
  .institutionalbanner-overlay {
    padding: 40px 20px;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .institutionalbanner-content::before,
  .institutionalbanner-content::after,
  .institutionalbanner-overlay::after {
    display: none;
  }
  .institutionalbanner-content h1 {
    font-size: 2.5rem;
    background: none;
  }
}

:root {
  --institutional-primary: #5c1a7d;
  --institutional-gold: #b8860b;
  --institutional-text: #333;
  --institutional-light-bg: #f4f4f4;
}

.institutional-main-container {
  width: 100%;
  padding: 0;
  margin: 0;
}

.institutional-page-container {
  display: flex;
  gap: 30px;
  padding: 0;
}

.institutional-sidebar {
  width: 250px;
  flex-shrink: 0;
  background-color: var(--institutional-light-bg);
}

.institutional-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  position: sticky;
  top: 20px;
}

.institutional-sidebar li {
  padding: 12px 20px;
  font-size: 0.9rem;
  cursor: pointer;
  text-align: right;
  transition: all 0.3s ease;
  border-right: 4px solid transparent;
  color: var(--institutional-text);
}

.institutional-sidebar li:hover,
.institutional-sidebar li.institutional-active {
  background-color: #f3e5f5;
  border-right: 4px solid #51007a;
  font-weight: bold;
  color: #51007a;
}

/* --- Responsive Adjustment --- */
@media (max-width: 992px) {
  .institutional-sidebar {
    width: 100%;
    border-right: none;
  }

  .institutional-sidebar li {
    text-align: left;
    border-right: none;
    border-left: 4px solid transparent;
  }

  .institutional-sidebar li:hover,
  .institutional-sidebar li.institutional-active {
    border-right: none;
    border-left: 4px solid #51007a;
  }
}

.institutional-active {
  color: var(--institutional-primary);
  font-weight: bold;
  border-right: 3px solid var(--institutional-primary);
}

.institutional-main-content {
  flex: 1;
}

.institutional-establishment-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 30px;
}
.institutional-title-group h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-top: 0;
  text-align: left;
}

.institutional-title-group,
.institutional-intro-text {
  width: 90%;
  max-width: 90%;
  margin: 0 auto;
  padding: 20px 0;
}

.institutional-title-group h1 {
  font-size: 3rem;
  line-height: 1.1;
  color: #333;
}

.institutional-accent-purple {
  color: #6f42c1;
}

.institutional-intro-text p {
  font-size: 1.25rem;
  line-height: 1.6;
  max-width: 800px;
}

/* --- RESPONSIVE QUERIES --- */

@media (max-width: 992px) {
  .institutional-title-group h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .institutional-title-group h1 {
    font-size: 2.2rem;
  }

  .institutional-intro-text p {
    font-size: 1.1rem;
  }

  .institutional-title-group h1 br {
    display: none;
  }
}

.institutional-accent-purple {
  color: #b8860b;
}
.institutional-intro-text {
  max-width: 400px;
  text-align: right;
  font-size: 0.9rem;
  margin-left: 15px;
  line-height: 1.5;
}

.institutional-highlight-purple {
  color: var(--inst-light-purple);
  font-weight: bold;
}

.institutional-main-hero-img {
  position: relative;
  margin-bottom: 50px;
  height: 50vh;
}

.institutional-main-hero-img img {
  width: 100%;
  border-radius: 15px;
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.institutional-scroll-down-btn {
  position: absolute;
  bottom: -25px;
  right: 25px;
  color: white;
  border: none;
  border-radius: 50%;
  width: 55px;
  height: 55px;
  font-size: 1.5rem;
  cursor: pointer;
  background-color: purple;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Values Banner */
.institutional-icon-wrapper {
  color: var(--inst-gold);
  font-size: 26px;
  text-align: center;
  align-items: center;
}
.institutional-values-purple-banner {
  display: flex;
  gap: 20px;
  background: var(--institutional-primary);
  padding: 40px;
  border-radius: 10px;
  margin: 40px 0;
}

.institutional-value-card {
  background: white;
  padding: 20px;
  flex: 1;
  border-radius: 10px;
}
.institutional-purple-bar {
  width: 45px;
  height: 3px;
  background-color: #4b0082;
  margin: 20px auto;
  border-radius: 2px;
}
.institutional-split-layout {
  display: flex;
  gap: 40px;
  align-items: center;
  margin: 60px 0;
}

.institutional-image-box {
  flex: 1;
  position: relative;
}

.institutional-image-box img {
  width: 100%;
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
}

.institutional-diagonal-accent {
  position: absolute;
  top: 0;
  right: 10%;
  width: 4px;
  height: 100%;
  background: var(--institutional-gold);
  transform: skewX(-15deg);
}

.institutional-text-box {
  flex: 1;
  margin-left: 10px;
  margin-right: 10px;
}

.institutional-vision-mission-section {
  text-align: center;
}

.institutional-vertical-line {
  width: 2px;
  height: 40px;
  background: var(--institutional-primary);
  margin: 20px auto;
}

.institutional-gold-text {
  color: var(--institutional-gold);
}
.institutional-purple-text {
  color: var(--institutional-primary);
}

/* Container for the circles */
.institutional-mission-steps {
  display: flex;
  flex-direction: row; /* Horizontal on desktop */
  justify-content: center;
  align-items: center;
  margin-top: 50px;
  flex-wrap: wrap; /* Allows wrapping on medium screens */
  padding: 20px;
}

/* Base Circle Styling */
.institutional-step-circle {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 30px;
  position: relative;
  transition: all 0.3s ease;
  margin-left: -25px;
  background: white;
  z-index: 1;
  box-sizing: border-box;
}

.institutional-step-circle::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  border: 1px solid var(--institutional-gold, #b8860b);
  border-radius: 50%;
  pointer-events: none;
}

.institutional-purple-bg {
  background: var(--institutional-primary, #4b0082);
  color: white;
  z-index: 3;
  margin-left: 0;
}

.institutional-border-gold {
  border: 1px solid var(--institutional-primary, #4b0082);
  z-index: 2;
}

.institutional-border-purple {
  border: 1px solid var(--institutional-primary, #4b0082);
  z-index: 1;
}

.institutional-step-num {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.institutional-step-circle p {
  font-size: 0.8rem;
  line-height: 1.3;
  margin: 0;
}

/* --- RESPONSIVE MEDIA QUERIES --- */

/* For Tablets (Screens smaller than 992px) */
@media (max-width: 992px) {
  .institutional-step-circle {
    width: 190px;
    height: 190px;
    margin-left: -15px;
  }
}

/* For Mobile (Screens smaller than 768px) */
@media (max-width: 768px) {
  .institutional-mission-steps {
    flex-direction: column;
    gap: 20px;
  }

  .institutional-step-circle {
    margin-left: 0;
    margin-top: -30px;
    width: 210px;
    height: 210px;
  }

  .institutional-purple-bg {
    margin-top: 0;
  }

  .institutional-border-gold {
    z-index: 2;
  }
  .institutional-border-purple {
    z-index: 1;
  }
}
@media (max-width: 992px) {
  .institutional-page-container,
  .institutional-split-layout,
  .institutional-values-purple-banner,
  .institutional-mission-steps {
    flex-direction: column;
    align-items: center;
  }
  .institutional-sidebar {
    width: 100%;
    border-right: none;
  }
  .institutional-intro-text {
    text-align: left;
  }
}

/*Research Page Starts from here....*/
.researchactive {
  color: #d4a017;
  font-weight: bold;
}

.research-banner {
  position: relative;
  width: 100%;
  height: 50vh;
  min-height: 60vh;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
    url("../images/researchlastimage.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.research-banner-overlay {
  width: 100%;
  padding: 40px 20px;
}

.research-banner-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.research-banner-content {
  background: #ffffff;
  padding: 40px 30px;
  width: 100%;
  max-width: 450px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.research-top-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: #d4af37;
}

.research-title {
  margin: 0;
  font-size: 1.8rem;
  color: #000;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
}

.research-content-divider {
  width: 100%;
  border: 0;
  border-top: 1px solid #eee;
  margin: 20px 0;
}

.research-description {
  color: #444;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.research-link-active {
  text-decoration: none;
  color: #4b0082;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.research-arrow-circle {
  background-color: #4b0082;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .research-banner {
    min-height: 600px;
    height: 70vh;
  }

  .research-banner-container {
    justify-content: flex-start;
    padding-left: 5%;
  }

  .research-title {
    font-size: 2.2rem;
  }

  .research-banner-content {
    padding: 60px 50px;
  }
}

@media (min-width: 1024px) {
  .research-banner-container {
    padding-left: 10%;
  }

  .research-description {
    font-size: 1.1rem;
  }
}

@media (min-width: 1440px) {
  .research-banner-content {
    max-width: 500px;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.banner-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.researchpage-banner {
  width: 100%;
  min-height: 40vh;
  max-height: 500px;
  height: 450px;

  background-image: url("../images/researchmainimage.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
}

.researchbanner-overlay {
  background-color: rgba(0, 0, 0, 0.55);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.researchbanner-content h1 {
  color: #ffffff;
  font-weight: 500;
  line-height: 1.2;

  font-size: clamp(2rem, 5vw + 1rem, 4.5rem);

  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}
.researchbanner-overlay {
  background: rgba(0, 0, 0, 0.4);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 0 8% 80px 8%;
  position: relative;
  box-sizing: border-box;
}

@media (min-width: 1600px) {
  .researchpage-banner {
    height: 550px;
  }
}

@media (max-width: 768px) {
  .researchpage-banner {
    height: 350px;
  }
}

@media (max-width: 480px) {
  .researchpage-banner {
    height: 280px;
    background-position: 30% center;
  }

  .researchbanner-content {
    text-align: center;
  }

  .researchbanner-overlay {
    justify-content: center;
  }
}

:root {
  --research-purple: #4a154b;
  --research-gold: #d4a017;
  --research-light-purple: #f4eff4;
  --research-border: #e0e0e0;
}

.researchpage-container {
  display: flex;
  width: 100%;
  min-height: 100vh;
}

.researchsidebar {
  width: 18%;
  min-width: 220px;
  flex-shrink: 0;
  background-color: #f4f4f4;
  padding-top: 4vh;
}

.researchsidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  position: -webkit-sticky;
  position: sticky;
  top: 2vh;
}

.researchsidebar li {
  padding: 1.5vh 1.5vw;
  font-size: clamp(0.8rem, 0.9vw, 1rem);
  cursor: pointer;
  text-align: right;
  transition: all 0.3s ease;
  border-right: 4px solid transparent;
  color: #555;
}

/* Hover and Active State */
.researchsidebar li:hover,
.researchsidebar li.researchactive {
  background-color: #f3e5f5;
  border-right: 4px solid #51007a;
  font-weight: bold;
  color: #51007a;
}

@media (max-width: 992px) {
  .researchsidebar {
    width: 100%;
    border-right: none;
    padding-top: 0;
  }

  .researchsidebar ul {
    position: relative;
    top: 0;
    display: block;
  }

  .researchsidebar li {
    text-align: left;
    border-right: none;
    border-left: 4px solid transparent;
    padding: 15px 20px;
  }

  .researchsidebar li:hover,
  .researchsidebar li.researchactive {
    border-right: none;
    border-left: 4px solid #51007a;
  }
}

.researchmain-content {
  flex: 1;
  padding: 3vw 5vw;
  overflow-x: hidden;
}

.researchheadline {
  text-align: center;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 5vh;
}

.researchfocus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5vw;
  margin-bottom: 6vh;
}

.researchfocus-card {
  aspect-ratio: 3 / 4;
  width: 100%;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.researchcard-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.75);
  color: white;
  padding: 1.5rem;
  box-sizing: border-box;
}

.researchinnovator-hero img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.researchinnovator-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3vw;
  padding: 4vh 0;
}

.researchengine-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 4vw;
}

.researchengine-image {
  flex: 1 1 400px;
  position: relative;
}

.researchengine-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.researchengine-details {
  flex: 1 1 350px;
}

.researchengine-links li {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 2vh 0;
  border-bottom: 1px solid var(--research-border);
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
  .researchpage-container {
    flex-direction: column;
  }

  .researchsidebar {
    flex: none;
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--research-border);
  }

  .researchfocus-card {
    aspect-ratio: 16 / 9;
  }
}

.researchcontent-header {
  text-align: center;
  padding: 20px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.researchheadline {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 500;
  line-height: 1.4;
  color: #333;
  margin: 0;
}

.researchaccent-purple {
  color: #6a2a6a;
  font-weight: 600;
}

.researchaccent-gold {
  color: #d4a017;
  font-weight: 700;
  text-transform: uppercase;
}

@media (max-width: 480px) {
  .researchcontent-header {
    padding: 20px 15px;
  }

  .researchheadline br {
    display: none;
  }
}
.researchfocus-section {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 2vw;
  box-sizing: border-box;
}

.researchsection-label {
  font-size: clamp(0.8rem, 2vw, 1rem);
  letter-spacing: 0.15em;
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.researchfocus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5vw;
}

.researchcard-1 {
  background-image: url("../images/section1research.jpg");
}
.researchcard-2 {
  background-image: url("../images/section2research.jpg");
}
.researchcard-3 {
  background-image: url("../images/section3research.jpg");
}
.researchfocus-card {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;

  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

@media (max-height: 500px) and (orientation: landscape) {
  .researchfocus-card {
    aspect-ratio: 16 / 9;
  }
}

.researchcard-overlay {
  width: 100%;
  padding: 8% 6%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 20%, transparent 100%);
  color: white;
  box-sizing: border-box;
}

.researchcard-overlay h4 {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
}

.researchcard-overlay p {
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  line-height: 1.4;
  opacity: 0.9;
}
.research-banner-links {
  list-style: none;
}
/* Container scales based on viewport width */
.researchstudent-innovators {
  width: 95%;
  max-width: 1400px;
  margin: 6px auto 3vw auto;
}

.researchinnovator-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #f0f0f0;
}

.researchinnovator-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.researchcarousel-controls {
  position: absolute;
  bottom: 0;
  right: 10%;
  display: flex;
  z-index: 10;
}

.researchcarousel-controls button {
  padding: 1.5vw 2.5vw;
  border: none;
  cursor: pointer;
  color: white;
  font-size: clamp(1rem, 2vw, 1.5rem);
  transition: opacity 0.3s ease;
}

.researchprev {
  background-color: #7d4b91;
  margin-right: 8px;
}
.researchnext {
  background-color: #4b0082;
  margin-left: 8px;
}

.researchcarousel-controls button:hover {
  filter: brightness(1.2);
}

.researchinnovator-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3vw;
  padding: 4vw 0;
  align-items: start;
}

/* Left: Heading */
.researchtext-left h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.1;
  margin: 0;
  color: #222;
}

/* Center: Description */
.researchtext-center p {
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  line-height: 1.6;
  color: #444;
}

/* Right: Shaded Highlight Box */
.researchtext-right {
  background-color: #f4f4f4; /* Light grey tint from image */
  padding: 2vw;
  /* Gives a slight offset look seen in the screenshot */
  transform: translateY(10px);
}

.researchtext-right p {
  font-size: clamp(0.85rem, 1.1vw, 1rem);
  line-height: 1.5;
  color: #333;
  margin: 0;
}

/* --- MOBILE ADAPTATIONS --- */
@media (max-width: 768px) {
  .researchinnovator-hero {
    aspect-ratio: 4 / 3; /* Taller image for mobile screens */
  }

  .researchcarousel-controls {
    right: 0;
    width: 100%;
  }

  .researchcarousel-controls button {
    flex: 1; /* Full width buttons on mobile */
    padding: 20px;
  }

  .researchtext-right {
    transform: none; /* Remove offset on small screens */
  }
}

/* --- SECTION CONTAINER --- */
.researchinnovation-engine {
  width: 95%;
  max-width: 1400px;
  margin: 2vw auto;
  box-sizing: border-box;
}

/* --- DYNAMIC FLEX LAYOUT --- */
.researchengine-layout {
  display: flex;
  flex-direction: row; /* Side-by-side on desktop */
  flex-wrap: wrap; /* Allows wrapping to new line on mobile */
  gap: 4vw;
  align-items: flex-start;
}

/* --- DYNAMIC IMAGE BLOCK --- */
.researchengine-image {
  position: relative;
  flex: 1 1 400px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background-color: #222;
}

.researchengine-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Black Overlay Label */
.researchlabel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5vw;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-align: center;
  font-size: larger;

  text-transform: uppercase;
  z-index: 10;
  box-sizing: border-box;
}

/* --- DYNAMIC DETAILS BLOCK --- */
.researchengine-details {
  flex: 1.2 1 450px; /* Slightly wider than the image column */
  padding: 1vw 0;
}

.researchengine-desc {
  font-size: clamp(0.95rem, 1.3vw, 1.15rem); /* Dynamic font size */
  line-height: 1.6;
  color: #333;
  margin-bottom: 2.5vw;
}

.researchlearn-more-label {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 1.2rem;
  font-weight: 500;
}

/* --- DYNAMIC LIST NAVIGATION --- */
.researchengine-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.researchengine-links li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(15px, 1.5vw, 25px) 0;
  border-bottom: 1px solid #e0e0e0; /* Thin divider */
  font-size: clamp(0.9rem, 1.1vw, 1.05rem);
  color: #444;
  cursor: pointer;
  transition: padding-left 0.3s ease;
}

/* Active Link State */
.researchactive-link {
  color: #4b0082 !important; /* Deep Purple */
  font-weight: 600;
}

/* Circular Arrow Icon */
.researcharrow {
  width: clamp(30px, 3vw, 40px);
  height: clamp(30px, 3vw, 40px);
  border: 1px solid #ccc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

/* Active Arrow State */
.researchactive-link .researcharrow {
  background-color: #4b0082;
  color: #fff;
  border-color: #4b0082;
}

/* --- MOBILE BREAKPOINTS --- */
@media (max-width: 850px) {
  .researchengine-layout {
    flex-direction: column; /* Stacks image on top of text */
  }

  .researchengine-image {
    width: 100%;
    aspect-ratio: 16 / 9; /* More cinematic/wider for phone screens */
  }

  .researchengine-details {
    width: 100%;
  }
}

/*Campus Page starts here----*/
/* --- Global Dynamic Settings --- */
:root {
  --campus-gold: #b08d57;
  --campus-purple: #6a2a8c;
  --campus-dark: #1a1a1a;
  --campus-transition: all 0.3s ease;
}

.campus-main-content {
  width: 100%;
  max-width: 95vw;
  margin: 0 auto;
  padding: 2vh 2vw;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 4vh;
  margin: 0 auto 8vh auto;
  width: 90%;
  max-width: min(95%, 1200px);
}

.campus-section-container {
  display: flex;
  flex-direction: column;
  gap: 4vh;
  margin-bottom: 8vh;
}

.campus-section-title {
  font-size: clamp(1.125rem, 3vw, 2rem);
  width: fit-content;
  padding-bottom: 1vh;
  border-bottom: 1px solid #ddd;
}

.campus-viewer-side,
.campus-map-wrapper,
.campus-interactive-wrapper {
  width: 100%;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
}

.campus-viewer-img,
.campus-map-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.campus-zoom-controls {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 4px;
  z-index: 10;
}

.campus-zoom-btn {
  background: transparent;
  color: #fff;
  border: 1px solid #444;
  width: 40px;
  height: 40px;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.campus-zoom-btn:first-child {
  border-bottom: none;
}
.campus-highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.5vw;
}

.campus-highlight-item {
  width: 100%;
  aspect-ratio: 1 / 1;
}

.campus-archive-container {
  display: flex;
  flex-wrap: wrap;
  gap: 5vw;
}

.campus-archive-intro {
  flex: 1 1 300px;
}

.campus-masonry-gallery {
  flex: 2 1 500px;
  display: flex;
  gap: 1vw;
}

.campus-gallery-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1vw;
}

.campus-gallery-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media screen and (min-width: 1024px) {
  .campus-section-container {
    flex-direction: row;
    align-items: flex-start;
    padding: 0 50px;
  }

  .campus-text-side {
    flex: 0 0 20%;
  }

  .campus-offset-top {
    margin-top: 5vh;
  }
}

@media screen and (max-width: 768px) {
  .campus-viewer-side,
  .campus-map-wrapper {
    aspect-ratio: 4 / 3;
  }

  .campus-map-card {
    width: 90%;
    left: 5%;
    padding: 15px;
  }
}

/* --- Root Variables --- */
:root {
  --campus-gold: #b08d57;
  --campus-dark: #000000;
  --campus-white: #ffffff;
  --campus-font-main:
    "Playfair Display", serif; /* Cinematic serif for headings */
  --campus-font-body: "Arial", sans-serif;
}

/* --- Global Section Container --- */
.campus-section-container {
  display: flex;
  flex-direction: column; /* Stacks vertically for mobile/tablet */
  gap: 20px;
  margin: 0 auto 8vh auto;
  width: min(92%, 1200px); /* Dynamic width with PC/Projector cap */
}

/* --- Left Side Text Styling --- */
.campus-text-side {
  width: 100%;
}

.campus-section-title {
  font-size: clamp(1.2rem, 4vw, 1.6rem);
  color: var(--campus-dark);
  border-bottom: 1px solid #ddd;
  display: inline-block;
  padding-bottom: 5px;
  margin: 0;
}

/* --- Media Wrapper (Map & 3D Viewer) --- */
.campus-map-wrapper,
.campus-interactive-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* Professional landscape ratio */
  overflow: hidden;
  border-radius: 4px;
  background: #e0e0e0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.campus-map-img,
.campus-viewer-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Floating Zoom Controls (Centered Right) --- */
.campus-zoom-controls {
  position: absolute;
  right: 12px;
  top: 50%; /* Vertical center point */
  transform: translateY(-50%); /* Offset back by 50% height */
  display: flex;
  flex-direction: column;
  background: var(--campus-dark);
  z-index: 10;
}

.campus-zoom-btn {
  background: transparent;
  color: var(--campus-white);
  border: 0.5px solid #333;
  width: 40px;
  height: 40px;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.campus-zoom-btn:hover {
  background: #222;
}

/* --- Navigation Controls (Bottom Center) --- */
.campus-nav-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.campus-arrow-btn {
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  backdrop-filter: blur(5px);
}

/* --- Map Info Card (Overlay) --- */
.campus-map-card {
  position: absolute;
  background: var(--campus-dark);
  color: var(--campus-white);
  z-index: 5;
}

.campus-map-location-name {
  margin: 0 0 5px 0;
  font-weight: 600;
  line-height: 1.3;
}

.campus-map-address {
  color: #bbb;
  margin-bottom: 15px;
}

/* --- Map Link & Gold Arrow --- */
.campus-map-link {
  color: var(--campus-gold);
  text-decoration: none;
  font-weight: bold;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.campus-link-arrow {
  background: var(--campus-gold);
  color: var(--campus-dark);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

/* --- Responsive Breakpoints --- */

/* 1. MOBILE (Small devices) */
@media screen and (max-width: 481px) {
  .campus-map-card {
    top: 10px;
    left: 10px;
    padding: 15px;
    width: 85%;
  }
  .campus-map-location-name {
    font-size: 0.9rem;
  }
  .campus-map-address {
    font-size: 0.75rem;
  }
  .campus-zoom-btn {
    width: 34px;
    height: 34px;
  }
}

/* 2. TABLET (Mid-size devices) */
@media screen and (min-width: 482px) and (max-width: 768px) {
  .campus-map-card {
    top: 20px;
    left: 20px;
    padding: 20px;
    width: 260px;
  }
}

/* 3. DESKTOP / PROJECTOR (Large screens) */
@media screen and (min-width: 769px) {
  .campus-section-container {
    flex-direction: row; /* Horizontal split */
    align-items: flex-start;
    gap: 40px;
  }

  .campus-text-side {
    flex: 0 0 250px;
  }

  .campus-map-wrapper,
  .campus-interactive-wrapper {
    flex: 1;
  }

  .campus-map-card {
    top: 30px;
    left: 30px;
    padding: 30px;
    width: 320px;
  }
}

/* 1. Container & Global Scaling */
.campus-highlights-section {
  padding: clamp(20px, 5vw, 60px) 5%;
  max-width: 1920px; /* Limits width for ultra-wide projectors */
  margin: 0 auto;
  background-color: #ffffff;
  box-sizing: border-box;
}

/* 2. Section Title */
.campus-section-title {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: bold;
  margin-bottom: clamp(15px, 3vw, 30px);
  display: inline-block;
  position: relative;
}

.campus-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 60%;
  height: 3px;
  border: none;
  background-color: #333;
}

/* 3. The Dynamic Grid 
   - Uses 'minmax' to ensure cards never get too small 
   - Automatically adds more columns on bigger screens (Projectors)
*/
.campus-highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  width: 100%;
}

/* 4. The Dynamic Card 
   - 'aspect-ratio' ensures the height scales perfectly with the width
*/
.campus-highlight-item {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3; /* Maintains shape on all devices */
  overflow: hidden;
  border-radius: 4px;
  background-color: #1a1a1a;
  cursor: pointer;
}

/* Background Image Scaling */
.campus-highlight-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.campus-highlight-item:hover img {
  transform: scale(1.1);
}

.campus-highlight-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.3) 100%
  );
  color: #ffffff;
  padding: clamp(15px, 2.5vw, 30px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* Titles at bottom */
  transition: background 0.4s ease;
  z-index: 2;
}

.campus-icon-circle {
  position: absolute;
  top: clamp(10px, 2vw, 20px);
  left: clamp(10px, 2vw, 20px);
  width: clamp(40px, 5vw, 65px);
  height: clamp(40px, 5vw, 65px);
  background: rgb(151, 150, 151);
  opacity: 0.6;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.campus-icon-circle img {
  width: 55%;
  height: 55%;
  object-fit: contain;

  filter: invert(85%) sepia(30%) saturate(1000%) hue-rotate(350deg);
}

.campus-item-title {
  font-size: clamp(1.1rem, 1.8vw, 1.6rem);
  font-weight: bold;
  margin: 0;
  transition: all 0.3s ease;
}

.campus-item-desc {
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  line-height: 1.5;
  margin-top: 10px;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease-in-out;
}

.campus-highlight-item.campus-active .campus-highlight-overlay,
.campus-highlight-item:hover .campus-highlight-overlay {
  background: rgba(0, 0, 0, 0.75);
  justify-content: center;
}

.campus-highlight-item.campus-active .campus-item-title,
.campus-highlight-item:hover .campus-item-title {
  text-decoration: underline;
  text-underline-offset: 5px;
  margin-bottom: 5px;
}

.campus-highlight-item.campus-active .campus-item-desc,
.campus-highlight-item:hover .campus-item-desc {
  opacity: 1;
  max-height: 150px;
}

@media (min-width: 2000px) {
  .campus-highlights-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.campus-visual-archive {
  padding: clamp(40px, 8vw, 100px) 5%;
  max-width: 1400px;
  margin: 0 auto;
  background-color: #fff;
}

.campus-archive-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.campus-archive-intro {
  max-width: 500px;
}

.campus-label-top {
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 2px;
  color: #888;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.campus-gold-line {
  display: inline-block;
  height: 2px;
  width: 60px;
  background: repeating-linear-gradient(
    to right,
    #d4af37 0,
    #d4af37 35px,
    transparent 35px,
    transparent 45px,
    #d4af37 45px,
    #d4af37 60px
  );
}

.campus-archive-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #222;
  margin-bottom: 20px;
  line-height: 1.2;
  position: relative;
  display: inline-block;
}

.campus-archive-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  background-color: #eee;
}

.campus-archive-text {
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  color: #555;
  line-height: 1.6;
  margin: 25px 0 40px 0;
}

.campus-gallery-btn {
  background-color: #702a8c;
  color: white;
  border: none;
  padding: 16px 40px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(112, 42, 140, 0.3);
  transition: all 0.3s ease;
}

.campus-gallery-btn:hover {
  background-color: #5a2172;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(112, 42, 140, 0.4);
}

/* 4. Masonry Gallery Layout */
.campus-masonry-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.campus-gallery-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* The "Staggered" Effect for the second column */
.campus-offset-top {
  margin-top: 40px;
}

.campus-gallery-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.5s ease,
    filter 0.3s ease;
  cursor: zoom-in;
}

.campus-gallery-img:hover {
  transform: scale(1.03);
  filter: brightness(1.05);
}

/* 5. Device-Specific Adjustments */

/* Tablet & Smaller Screens */
@media (max-width: 992px) {
  .campus-archive-container {
    grid-template-columns: 1fr; /* Stack text and gallery */
    text-align: center;
  }

  .campus-label-top {
    justify-content: center;
  }

  .campus-archive-intro {
    margin: 0 auto;
  }

  .campus-offset-top {
    margin-top: 20px;
  }
}

@media (max-width: 600px) {
  .campus-visual-archive {
    padding: 40px 20px;
  }

  .campus-masonry-gallery {
    gap: 15px;
  }

  .campus-gallery-btn {
    width: 100%;
  }
}

@media (min-width: 1600px) {
  .campus-archive-container {
    gap: 120px;
  }

  .campus-gallery-img {
    border-radius: 12px;
  }
}

/*Press Page Starts from here*/

:root {
  --badge-size: 280px;
  --badge-gold: #c5a059;
}

.pressmain-container {
  margin-top: calc(var(--badge-size) / -2.5);
  position: relative;
  z-index: 5;
}

.campuspage-banner {
  position: relative;
  width: 100%;
  height: 450px;
  background-image: url("../images/pressmainpage.jpg");
  background-size: cover;
  background-position: center;
  margin-bottom: calc(var(--badge-size) / 2.5);
}

.press-badge {
  position: absolute;
  bottom: calc(var(--badge-size) / -2.5);
  right: 5%;
  width: var(--badge-size);
  height: var(--badge-size);
  background: linear-gradient(
    135deg,
    rgba(48, 3, 62, 0.5) 0%,
    rgba(74, 20, 140, 0.5) 40%,
    rgba(155, 125, 189, 0.5) 100%
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 10;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.badge-content {
  text-align: center;

  color: #ffffff;

  line-height: 0.85;
}

.text-press,
.text-media {
  display: block;

  font-size: calc(var(--badge-size) * 0.2);

  font-weight: bold;

  text-transform: capitalize;
}

.text-ampersand {
  display: block;

  font-size: calc(var(--badge-size) * 0.25);

  color: var(--badge-gold);

  font-style: italic;

  margin: calc(var(--badge-size) * -0.05) 0;
}

@media (min-width: 1921px) {
  :root {
    --badge-size: 420px;
  }
  .press-badge {
    right: 8%;
    backdrop-filter: blur(15px);
  }
  .campuspage-banner {
    height: 600px;
  }
}

@media (max-width: 1920px) and (min-width: 1441px) {
  :root {
    --badge-size: 320px;
  }
}

@media (max-width: 1024px) {
  :root {
    --badge-size: 240px;
  }
  .campuspage-banner {
    height: 350px;
  }
  .press-badge {
    right: 4%;
  }
}

@media (max-width: 768px) {
  :root {
    --badge-size: 200px;
  }
  .press-badge {
    bottom: calc(var(--badge-size) / -2);
  }
}

@media (max-width: 480px) {
  :root {
    --badge-size: 160px;
  }
  .campuspage-banner {
    height: 300px;
  }
  .press-badge {
    right: 50%;
    transform: translateX(50%);
    bottom: -40px;
    backdrop-filter: blur(6px);
  }

  .text-press,
  .text-media {
    font-size: calc(var(--badge-size) * 0.18);
  }
  .text-ampersand {
    font-size: calc(var(--badge-size) * 0.24);
  }
}

.breadcrumbpress {
  position: relative;
  font-size: 0.85rem;
  color: purple;
  border-bottom: 2px solid #ffb400;
  padding-bottom: 10px;
  margin-top: -30px;
  text-align: center;
}

.breadcrumbpress p {
  margin: 0;
  padding: 10px 0;
}

:root {
  --primary-purple: #4a154b;
  --text-main: #333333;
  --text-muted: #666666;
  --border-color: #e0e0e0;
  --bg-light: #f9f9f9;
  --accent-gold: #b08d57;

  --fs-h2: clamp(1.5rem, 4vw, 2.5rem);
  --fs-h3: clamp(1.1rem, 2.5vw, 1.5rem);
  --fs-body: clamp(0.9rem, 1.5vw, 1.1rem);
}
.press-container {
  width: 90%;
  max-width: 1600px;
  margin: 0 auto;
  padding: clamp(20px, 5vh, 60px) 0;
}

.press-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: clamp(20px, 4vh, 40px);
}

.press-title {
  font-size: var(--fs-h2);
  font-weight: 700;
  margin: 0;
}

.press-title-line {
  height: 1px;
  background-color: var(--text-main);
  flex: 1;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
  gap: 2vw;
  margin-bottom: 40px;
}

.news-card {
  background: var(--bg-light);
  padding: clamp(15px, 3vw, 30px);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-headline {
  font-size: var(--fs-h3);
  margin: 10px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1vw;
}

.gallery-item {
  position: relative;
  background-size: cover;
  background-position: center;
  filter: grayscale(100%);
  transition:
    filter 0.4s ease,
    transform 0.3s ease;
  aspect-ratio: 1 / 1;
}

.gallery-item.large {
  grid-column: span 3;
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery-item:not(.large) {
  grid-column: span 3;
}

.gallery-item:nth-last-child(-n + 3) {
  grid-column: span 2;
}

.gallery-item:hover {
  filter: grayscale(0%);
  z-index: 2;
}

.release-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 500px), 1fr));
  border-top: 1px solid var(--border-color);
}

.release-item {
  padding: clamp(20px, 4vw, 40px);
  border-bottom: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
}

@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-item,
  .gallery-item.large {
    grid-column: span 1 !important;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .release-item {
    border-right: none;
  }
  .press-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .press-title-line {
    width: 100%;
  }
}

@media (min-width: 2000px) {
  .press-container {
    max-width: 80vw;
  }
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(10px, 1.5vw, 25px);
}

.gallery-item {
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  cursor: pointer;
  filter: grayscale(100%);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  aspect-ratio: 1 / 1;
}

.gallery-item.large {
  grid-column: span 4;
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery-item:not(.large) {
  grid-column: span 2;
}

.gallery-item:nth-child(n + 4) {
  grid-column: span 2;
}

.gallery-item:hover {
  filter: grayscale(0%);
  transform: scale(1.02);
  z-index: 10;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: clamp(15px, 3vw, 30px);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
  color: white;
}

.gallery-overlay h4 {
  margin: 0;

  font-size: clamp(1.1rem, 2vw, 2.2rem);
  text-transform: capitalize;
}

.gallery-overlay p {
  margin: 5px 0 0;
  font-size: clamp(0.8rem, 1vw, 1rem);
  opacity: 0.9;
}
.view-more-link {
  text-decoration: none;
  margin-top: 7px;
  font-weight: bold;
  color: #000000;
  padding-bottom: 2px;
  border-bottom: 2px solid #b08d57;
  display: inline-flex;
  align-items: center;
  transition: opacity 0.2s;
}

.view-more-link:hover {
  opacity: 0.7;
}

@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .gallery-item.large {
    grid-column: span 4;
    aspect-ratio: 16 / 9;
  }
  .gallery-item:not(.large) {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-item.large,
  .gallery-item:not(.large) {
    grid-column: span 1;
    aspect-ratio: 4 / 3;
  }
}

@media (min-width: 2000px) {
  .gallery-grid {
    max-width: 80vw;
    margin: 0 auto;
  }
}




/*------------------------------------*/
/*Partnership Page Starts from here...*/
/*------------------------------------*/

.partnershippage-banner {
  background: url("../images/partnershipmain.jpg") no-repeat center center;
  background-size: cover;
  width: 100%;
  height: 70vh;
  min-height: 450px;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.partnershipbanner-overlay {
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0.7) 100%
  );
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.partnershipbanner-content {
    border-left: 1px solid rgba(255, 255, 255, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    margin-left: 12%;
    margin-bottom: 10rem;
    padding-left: 2rem;
    padding-bottom: 1rem;
    max-width: 100%;
}
    .partnershipbanner-content h1 {
        color: white;
        font-size: 4rem;
    }

.responsive-title {
  font-size: clamp(2.2rem, 6vw, 5.5rem);
  font-weight: 500;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -1px;
}

.golden_highlight {
  color: #c5a059;
  font-weight: 400;
  margin: 0 5px;
}

@media (max-width: 576px) {
    .partnershippage-banner {
        height: 65vh;
    }
    .partnershipbanner-content h1 {
        font-size: 2rem;
    }
    .partnershipbanner-content {
        margin-left: 3%;
        margin-bottom: 5rem;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .partnershippage-banner {
        height: 50vh;
    }
    .partnershipbanner-content h1 {
        font-size: 3rem;
    }
    .partnershipbanner-content {
        margin-left: 3%;
        margin-bottom: 5rem;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .partnershipbanner-content {
        margin-left: 10%;
        margin-bottom: 6rem;
    }

        .partnershipbanner-content h1 {
            font-size: 3.5rem;
        }
}

@media (min-width: 1200px) and (max-width: 1366px) {
    .partnershipbanner-content {
        margin-left: 10%;
        margin-bottom: 6rem;
    }
        .partnershipbanner-content h1 {
            font-size: 3.5rem;
        }
}

/* --- Global Variables & Resets --- */
.partnerships-main-content {
    color: #333;
    line-height: 1.6;
    max-width: 90%;
    margin: 0 auto;
    padding: 40px 20px;
}

/* --- Section 1: Overview Cards --- */
.partnerships-header h1 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
}

.partnerships-accent-gold {
    color: #DEB04C;
}
.partnerships-accent-purple {
    color: #4f0071;
}

.partnerships-cards-container {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin-bottom: -2rem;
}

.partnerships-card {
    flex: 1;
    background: #ffffff;
    padding: 20px 30px;
    border-radius: 80px 0 80px 0;
    border-bottom: 4px #c6a34d solid;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: transform 0.3s ease;
}

.partnerships-card-icon1 {
    font-size: 2rem;
    color: #26a69a;
    margin-bottom: 20px;
    text-align: end;
}
.partnerships-card-icon2 {
    font-size: 2rem;
    color: #4f0071;
    margin-bottom: 20px;
    text-align: end;
}

.partnerships-card-icon3 {
    font-size: 2rem;
    color: #4f0071;
    margin-bottom: 20px;
    text-align: end;
}

.partnerships-card h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
}

.partnerships-card p {
    font-size: 0.95rem;
    color: #666;
}

.accent-gold {
    background-color: #c6a34d;
}
.accent-purple {
    background-color: #4a154b;
}

.partnerships-quote-banner {
    background-color: #4f0071;
    color: #ffffff;
    margin: 80px 0;
    overflow: hidden;
}

.partnerships-quote-wrapper {
  display: flex;
  align-items: center;
}

.partnerships-quote-text-area {
  flex: 1;
  padding: 60px;
}

.partnerships-quote-mark {
    font-size: 3rem;
    color: #DEB04C;
    margin-bottom: 1rem;
    margin-top: -4rem;
}

.partnerships-blockquote {
    font-size: 1.4rem;
    margin: 0 0 20px 0;
    font-weight: 300;
    margin-left: 5rem;
    margin-top: -5rem;
}
.partnerships-attribution {
    margin-left: 5rem;
}
.partnerships-author {
  font-weight: bold;
  display: block;
}

.partnerships-role {
  font-size: 0.9rem;
  opacity: 0.8;
}

.partnerships-banner-image {
  flex: 1;
}

.partnerships-banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.partnerships-affiliations-section {
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.partnerships-affiliations-header {
  display: flex;
  justify-content: space-between;
  gap: 0rem;
  margin-bottom: 1rem;
}

.partnerships-title-group {
  flex: 1;
}

.partnerships-title-group h3 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.1;
}

.partnerships-header-description {
  flex: 1;
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  align-self: flex-start;
}

.partnerships-affiliations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 5rem;
    row-gap: 3rem;
}

.partnerships-affiliation-block {
  display: flex;
  height: 100%;
}

.partnerships-bg-light-purple {
    background-color: #f3f0f7;
    padding: 2rem;
    padding-top: 1rem;
    padding-bottom: 0rem;
}

.partnerships-block-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

    .partnerships-block-image img {
        width: 95%;
        height: 93%;
        object-fit: cover;
    }

.partnerships-block-number {
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
}

.partnerships-block-divider {
  border: none;
  border-top: 2px solid #e0c9a6;
  width: 100%;
  margin: 1.5vh 0;
}

.partnerships-block-content h3 {
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  margin-bottom: 1rem;
}

@media (max-width: 576px) {
    .partnerships-main-content {
        max-width: 100%;
    }
    .partnerships-affiliation-block {
        flex-direction: column;
    }
    .partnerships-cards-container {
        flex-direction: column;
    }
    .partnerships-affiliations-header {
        flex-direction: column;
    }
    .partnerships-affiliations-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }

    .partnerships-quote-wrapper {
        display: grid;
    }
    .partnerships-quote-mark {
        margin-left: -3rem;
    }

    .partnerships-blockquote {
        width: 118%;
        margin-left: 0rem;
        margin-top: -3rem;
        font-size: 1rem;
    }

    .partnerships-attribution {
        margin-left: 0rem;
    }

    .partnerships-banner-image img {
        margin-top: -2rem;
    }

    .partnerships-affiliations-section {
        margin: -3rem auto;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .partnerships-affiliations-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }
    .partnerships-quote-wrapper {
        display: grid;
    }
    .partnerships-blockquote {
        width: 95%;
        margin-left: 2rem;
        margin-top: -3rem;
        font-size: 1.2rem;
    }
    .partnerships-attribution {
        margin-left: 22rem;
    }
    .partnerships-banner-image img {
        margin-top: -2rem;
    }
    .partnerships-affiliations-section {
        margin: -3rem auto;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .partnerships-affiliations-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }

    .partnerships-quote-mark {
        margin-bottom: 1rem;
        margin-top: -8rem;
        margin-left: -1rem;
    }

    .partnerships-blockquote {
        width: 200%;
        margin-left: 2rem;
        margin-top: -3rem;
        font-size: 1.2rem;
    }

    .partnerships-attribution {
        margin-left: 2rem;
    }

    .partnerships-banner-image img {
        margin-top: 10rem;
    }

    .partnerships-affiliations-section {
        margin: -3rem auto;
    }
}

@media (min-width: 1200px) and (max-width: 1366px) {
    .partnerships-affiliations-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }
    .partnerships-quote-mark {
        margin-bottom: 1rem;
        margin-top: -8rem;
        margin-left: -1rem;
    }
    .partnerships-blockquote {
        width: 200%;
        margin-left: 2rem;
        margin-top: -2rem;
    }
    .partnerships-attribution {
        margin-left: 2rem;
    }
    .partnerships-banner-image img {
        margin-top: 10rem;
    }
    .partnerships-affiliations-section {
        margin: -3rem auto;
    }
}

/*-------------------------------------------------------------------------------*/

/*------------------*/
/*Community Page....*/
/*------------------*/

.community-banner {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 500px;
  background: url("../images/communitylastpage.jpg") no-repeat center center;
  background-size: cover;
  display: flex;
}

.community-overlay {
  background: rgba(0, 0, 0, 0.55);
  width: 100%;
  display: flex;
  align-items: center;
  padding: 20px;
}

.community-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.community-content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.community-info-card {
  background: white;
  padding: 30px;
  width: 100%;
  max-width: 100%;
  border-top: 6px solid #e5a524;
}

.community-title {
  color: #000;
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 750;
  line-height: 1.1;
  text-transform: uppercase;
}

.community-description {
  margin: 10px;
  font-size: 1rem;
  line-height: 1.5;
  color: #333;
}

.community-program-list {
  width: 100%;
}

.community-list-item {
  color: #fff;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.95rem;
}

@media (min-width: 992px) {
  .community-content-wrapper {
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
  }

  .community-info-card {
    max-width: 450px;
  }

  .community-program-list {
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .community-banner {
    height: auto;
    min-height: 60vh;
    padding: 40px 0;
  }

  .community-overlay {
    align-items: flex-start;
  }
}

@media (min-width: 2000px) {
  .community-container {
    max-width: 1800px;
  }
  .community-info-card {
    max-width: 600px;
    padding: 60px;
  }
  .community-program-list {
    max-width: 600px;
  }
}

/* 1. GLOBAL RESET & FOUNDATION */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;800&display=swap");


:root {
  --gold: #e5a524;
  --purple: #4a148c;
  --teal: #008080;
  --white: #ffffff;
  --black: #000000;
  --fluid-padding: clamp(1.25rem, 6vw, 10rem);
}
.community-main {
  width: 100%;
  padding: 2rem var(--fluid-padding);
}

.section-label {
  font-size: clamp(0.9rem, 1.2vw, 1.2rem);
  color: #777;
  letter-spacing: 0.15em;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.8rem;
  margin-bottom: 3rem;
  font-weight: 800;
  text-transform: uppercase;
}

.edu-grid {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(clamp(280px, 20vw, 400px), 1fr)
  );
  gap: 2vw;
  margin-bottom: 8vh;
}

.edu-card {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.edu-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.edu-card:hover img {
  transform: scale(1.08);
}

.edu-card-content {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: clamp(1rem, 2vw, 2.5rem);
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  color: white;
}

.edu-card-content p {
  font-size: clamp(0.85rem, 1.1vw, 1.1rem);
  font-weight: 500;
}

.highlight-gold {
  color: var(--gold);
  font-weight: 700;
  border-bottom: 2px solid var(--gold);
}

.skill-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3rem;
  padding: 4vh 0 8vh;
}

.skill-item {
  flex: 1 1 300px;
  text-align: center;
  max-width: 450px;
  margin: 0 auto;
}

.skill-icon-circle {
  width: clamp(80px, 10vw, 130px);
  height: clamp(80px, 10vw, 130px);
  background: var(--purple);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.skill-icon-circle img {
  width: 45%;
  filter: brightness(0) invert(1);
}

.skill-item p {
  font-size: clamp(0.9rem, 1vw, 1.1rem);
  color: #444;
}

:root {
  --black: #000000;
  --white: #ffffff;
  --gold: #d4af37;
  --teal: #00a88f;
  --text-gray: #b0b0b0;
  --fluid-padding: 5vw;
}

.empower-section {
  background: var(--black);
  color: var(--white);
  padding: clamp(2rem, 5vh, 5rem) var(--fluid-padding);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  /* Allowing height to grow with content but stay at least full screen if needed */
  min-height: 70vh;
}

.empower-container {
  display: flex;
  width: 100%;
  max-width: 1600px; /* Limits growth on ultra-wide screens */
  gap: clamp(2rem, 5vw, 6rem);
  align-items: stretch; /* Ensures collage and text area share height */
}

/* --- DYNAMIC COLLAGE --- */
.empower-collage {
  flex: 1.2; /* Takes up more width than text */
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1%; /* Percentage gap for fluid scaling */
  position: relative;
  padding: 1.5%; /* Space for the white border */
  /* Maintains the shape of the collage regardless of width */
  aspect-ratio: 4 / 3;
}

/* The White Border Frame */
.empower-collage::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 5%; /* Stops before the end of the collage as per image */
  bottom: 5%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  pointer-events: none;
  z-index: 5;
}

.main-img,
.side-imgs {
  height: 100%;
}

.side-imgs {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 2%;
}

.empower-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- DYNAMIC CONTENT --- */
.empower-content {
  flex: 0.8;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.empower-content h2 {
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.text-gold {
  color: var(--gold);
}

.teal-divider {
  width: 15%; /* Dynamic width */
  min-width: 50px;
  height: 4px;
  background: var(--teal);
  margin: 1.5rem 0 2rem 0;
}

.empower-content p {
  font-size: clamp(0.9rem, 1.1vw, 1.2rem);
  line-height: 1.6;
  color: var(--text-gray);
  margin-bottom: 1rem;
  max-width: 90%; /* Prevents text from hitting the edge */
}

/* Responsive: Stack vertically on small screens */
@media (max-width: 992px) {
  .empower-container {
    flex-direction: column;
  }

  .empower-collage {
    width: 100%;
    aspect-ratio: 1 / 1;
  }

  .empower-content {
    width: 100%;
    padding-top: 2rem;
  }
}

@media (min-width: 2500px) {
  :root {
    --fluid-padding: 15vw;
  }
  .community-main {
    font-size: 1.25rem;
  }
}

@media (max-width: 768px) {
  .community-main {
    padding: 1rem 1.5rem;
  }
  .empower-collage {
    height: 40vh;
  }
  .empower-content {
    text-align: left;
  }
}

.communitypage-banner {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 400px;
  background-image: url("../images/communitymainpage.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.communitybanner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.7) 10%,
    rgba(0, 0, 0, 0.3) 100%
  );
  display: flex;
  align-items: center;
  padding-left: 10%;
}

.communitybanner-content h1 {
  color: #ffffff;
  font-weight: 700;
  margin: 0;
  line-height: 1.1;
  display: inline;

  background: linear-gradient(
    to bottom,
    transparent 45%,
    rgba(67, 133, 118, 0.8) 45%,
    rgba(67, 133, 118, 0.8) 85%,
    transparent 85%
  );
  box-decoration-break: clone;
  --webkit-box-decoration-break: clone;
}

.communitypage-banner::after {
  content: "";
  position: absolute;
  bottom: 10%;
  left: 5%;
  right: 5%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.4);
}
.communityprogramhighlight {
  color: gold !important;
  font-weight: bold;
}

@media (min-width: 1800px) {
  .communitybanner-content h1 {
    font-size: 6rem;
  }
  .communitypage-banner {
    height: 60vh;
  }
}

@media (max-width: 1799px) {
  .communitybanner-content h1 {
    font-size: 4.5rem;
  }
}

@media (max-width: 1024px) {
  .communitybanner-content h1 {
    font-size: 3.5rem;
  }
  .communitybanner-overlay {
    padding-left: 7%;
  }
}

@media (max-width: 767px) {
  .communitypage-banner {
    height: 50vh;
  }
  .communitybanner-overlay {
    padding-left: 20px;
    padding-right: 20px;
    background: rgba(0, 0, 0, 0.5);
  }
  .communitybanner-content h1 {
    font-size: 2.2rem;
    line-height: 1.4;
  }
  .communitypage-banner::after {
    bottom: 15%;
    width: 90%;
  }
}
