/* Fonts */
@import url("fonts.css");

:root {
  --default-font:
    "Roboto", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial,
    "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Roboto", sans-serif;
  --nav-font: "Poppins", sans-serif;
}

:root {
  --head-color: #0040bf;
  --accent-color: #0040bf;
  --surface-color: #fdfae7;
  --default-color: #0f1d29;
  --contrast-color: #0f1d29;
  --background-color: #ffffff;
  --bar-color: #fdfae7;
  --accordion-open-bg: #0040bf;
  --accordion-close-bg: #374151;
  --glass-hover-shadow: #113e4249;
  --nav-color: #ffffff;
  --nav-hover-color: #fbbf24;
  --nav-reuse-color: #0040bf;
  --footer-bg-color: rgb(0, 64, 191, 0.8);
}
/* --- DARK MODE OVERRIDES --- */
[data-theme="dark"] {
  --head-color: #d1d5db;
  --accent-color: #fbbf24;
  --surface-color: #111827;
  --default-color: #e5e7eb;
  --contrast-color: #ffffff;
  --background-color: #353b49;
  --bar-color: #fdfae7;
  --accordion-open-bg: #fbbf24;
  --accordion-close-bg: #c2c2c2;
  --glass-hover-shadow: #837f7f66;
  --nav-color: #e5e7eb;
  --nav-hover-color: #fbbf24;
  --nav-reuse-color: #020617;
  --footer-bg-color: #5c5c5c;
}
/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}
/* --- New Theme Switch Styling (Outside Nav) --- */
.header-social-links {
  padding: 0 15px;
  z-index: 10; /* Ensures it stays above other elements */
}

.theme-switch-btn {
  background: none;
  border: none;
  font-size: 20px;
  color: var(--nav-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  padding: 5px;
}

.main {
  min-height: 60vh;
}
#theme-icon {
  color: var(--nav-color); /* Kept your Gold color */
  transition: transform 0.4s ease;
}

.theme-switch-btn:hover #theme-icon {
  transform: scale(1.2) rotate(15deg);
}

/* --- Mobile Specific Adjustment --- */
@media (max-width: 1199px) {
  .header-social-links {
    order: 2; /* Positions it between Logo and Hamburger */
    margin-left: auto; /* Pushes it to the right */
    margin-right: 15px;
  }

  .mobile-nav-toggle {
    order: 3; /* Hamburger comes last */
  }
}
/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  position: relative;
  transition: all 0.3s ease;
}
* {
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    border 0.3s ease;
}
body::before {
  background: radial-gradient(
    circle at top right,
    rgba(2, 132, 199, 0.05),
    transparent
  );
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
a {
  text-decoration: none !important;
}
a:hover {
  color: color-mix(in srgb, var(--surface-color), transparent 25%);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading-font);
}
.section-heading {
  font-size: 32px;
  /* margin-bottom: 60px; */
  position: relative;
  color: var(--head-color);
  font-weight: 700;
}
.section-heading:after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
  height: 3px;
  width: 60px;
  background-color: var(--head-color);
}
/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  background-color: var(--nav-reuse-color);
  padding: 15px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border: 1px solid var(--bar-color);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
}
.header .sitename {
  /* Ensure this class matches the h1 inside the logo */
  font-size: 24px;
  font-weight: 700;
  color: var(--nav-color);
  margin: 0;
  display: inline-block; /* Helps with alignment */
  flex-shrink: 0; /* Prevents the text from squishing */
  letter-spacing: 0.5px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Professional Hover State */
.header .logo:hover {
  transform: translateY(-2px);
}

.header .logo:hover .sitename {
  color: var(--bar-color);
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .btn-getstarted {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 20px;
  }

  . .navmenu {
    order: 3;
  }
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
  --background-color: rgba(0, 0, 0, 0.8);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 16px;
    font-family: var(--nav-font);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 15px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover > a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-reuse-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover > a {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown:hover > ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: 100%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover > ul {
    opacity: 1;
    top: 0;
    left: 100%;
    visibility: visible;
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-reuse-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu a,
  .navmenu a:focus {
    padding: 10px 20px;
    font-family: var(--nav-font);
    color: var(--nav-color);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-reuse-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown > .dropdown-active {
    display: block;
    background-color: rgba(122, 139, 156, 0.37) !important;
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu > ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  position: relative;
  color: var(--surface-color);
  font-size: 14px;
  background: var(--footer-bg-color);
  border-top: 5px solid var(--bar-color);
}

/* soft glow behind footer */

/* ===============================
   FOOTER TOP
================================ */

.footer .footer-top {
  padding-top: 1.5rem;
}

/* ===============================
   FOOTER LOGO
================================ */

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 25px;
}

.footer .footer-about .logo span {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--nav-color);
}

.footer .footer-about p {
  font-size: 14px;
  color: var(--nav-color);
}

/* ===============================
   SOCIAL ICONS
================================ */

.footer .social-links a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--nav-color);
  font-size: 16px;
  color: var(--nav-color);
  margin-right: 10px;
  transition: all 0.35s ease;
}

.footer .social-links a:hover {
  color: var(--nav-reuse-color);
  background: var(--nav-color);
  border: 1px solid var(--nav-color);
  transform: translateY(-4px) scale(1.05);
}

/* ===============================
   SECTION HEADINGS
================================ */

.footer h4 {
  font-size: 16px;
  font-weight: 600;
  padding-bottom: 12px;
  color: var(--nav-color);
}

/* ===============================
   QUICK LINKS
================================ */

.footer .footer-links ul {
  column-count: 2;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul li {
  padding: 9px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: var(--nav-color);
  line-height: 1;
  transition: all 0.3s ease;
}

.footer .footer-links ul a:hover {
  color: var(--nav-color);
}

/* ===============================
   CONTACT INFO
================================ */

.footer .footer-contact p {
  color: var(--nav-color);
}

.footer .footer-contact a {
  color: var(--nav-color);
  text-decoration: none;
  position: relative;
  display: inline-block;
}

.footer .footer-contact a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: var(--nav-color);
  transition: width 0.3s ease-in-out;
}

.footer .footer-contact a:hover::after {
  width: 100%;
}

.footer .footer-contact a:hover {
  color: var(--nav-color) !important;
}

/* ===============================
   COPYRIGHT SECTION
================================ */

.footer .copyright {
  /* width: 100%; */
  /* margin-top: 40px; */
  padding: 1rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid var(--contrast-color);
}

.footer .copyright p {
  margin-bottom: 0;
  color: var(--nav-color);
}

.footer .credits {
  font-size: 13px;
  color: var(--nav-color);
}

/* 1. Base style for footer credit links */
.footer .credits a {
  color: var(--nav-color);
  text-decoration: none !important; /* Forces no default underline */
  position: relative;
  display: inline-block;
  transition: color 0.3s ease;
}

/* 2. Create the custom "Slide-in" underline */
.footer .credits a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1px; /* Thinner line for the footer is more elegant */
  bottom: -1px;
  left: 0;
  background-color: var(--nav-color);
  visibility: hidden;
  transition: all 0.3s ease-in-out;
}

/* 3. The Hover Effect */
.footer .credits a:hover {
  /* Using your color-mix for a soft fade */
  color: color-mix(in srgb, var(--nav-color), transparent 20%) !important;
}

/* 4. Trigger the slide-in */
.footer .credits a:hover::after {
  visibility: visible;
  width: 100%;
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  color: var(--default-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--surface-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  position: relative;
}

.page-title .heading {
  padding: 80px 0;
  border-top: 1px solid
    color-mix(in srgb, var(--default-color), transparent 90%);
}

.page-title .heading h1 {
  font-size: 38px;
  font-weight: 700;
}

.page-title nav {
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
  padding: 20px 0;
}

.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.page-title nav ol li + li {
  padding-left: 10px;
}

.page-title nav ol li + li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 90px;
  overflow: clip;
  position: relative;
}

@media (max-width: 1199px) {
  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  position: relative;
  color: var(--accent-color);
}

.section-title h2:before,
.section-title h2:after {
  content: "";
  width: 50px;
  height: 2px;
  background: #fff;
  display: inline-block;
}

.section-title h2:before {
  margin: 0 15px 10px 0;
}

.section-title h2:after {
  margin: 0 0 10px 15px;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/

/* Announcement Bar */
.announcement-bar {
  overflow: hidden;
  white-space: nowrap;
  background: var(--bar-color);
  color: var(--nav-reuse-color);
  font-size: 18px;
  font-weight: 600;
  padding: 8px;
  border-radius: 5px;
}

.scroll-text {
  display: inline-block;
  padding-left: 100%;
  animation: scroll-left 25s linear infinite;
}

@keyframes scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.hero {
  padding: 0;
}

h2 span {
  display: inline-block;
  overflow: hidden;
}

@keyframes blinkCursor {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.hero .hero-container {
  position: relative;
  padding: 0;
  z-index: 3;
}

.hero .hero-container .content-col {
  padding: 3rem 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

@media (max-width: 992px) {
  .hero .hero-container .content-col {
    padding: 3rem 2rem;
  }
}

@media (max-width: 768px) {
  .hero .hero-container .content-col {
    padding: 2.5rem 1.5rem;
  }
}

.hero .hero-container .content-col .content-wrapper {
  max-width: 570px;
}
.hero .hero-container .content-col .content-wrapper .name {
  color: var(--accent-color);
}

.hero .hero-container .content-col .status-badge {
  display: inline-block;
  background-color: color-mix(in srgb, var(--accent-color), transparent 75%);
  color: var(--accordion-open-bg);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.hero .hero-container .content-col h2 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
}

@media (max-width: 1200px) {
  .hero .hero-container .content-col h2 {
    font-size: 3rem;
  }
}

@media (max-width: 992px) {
  .hero .hero-container .content-col h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .hero .hero-container .content-col h2 {
    font-size: 2.2rem;
  }
}

.hero .hero-container .content-col p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .hero .hero-container .content-col p {
    font-size: 1rem;
  }
}

.hero .hero-container .content-col .btn-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (max-width: 992px) {
  .hero .hero-container .content-col .btn-group {
    flex-direction: column;
    width: 100%;
  }

  .hero .hero-container .content-col .btn-group .btn {
    width: 100%;
    text-align: center;
  }
}

.hero .hero-container .content-col .btn-group .btn {
  padding: 1rem 2rem;
  margin: 0;
  line-height: 1;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 4px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .hero-container .content-col .btn-group .btn.btn-book {
  background-color: var(--accent-color);
  color: var(--surface-color);
  border: transparent;
}

.hero .hero-container .content-col .btn-group .btn.btn-book:hover {
  background-color: color-mix(in srgb, var(--accent-color), black 20%);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.hero .hero-container .content-col .btn-group .btn.btn-menu {
  background-color: transparent;
  color: var(--accordion-open-bg);
  border: 2px solid var(--accordion-open-bg);
}

.hero .hero-container .content-col .btn-group .btn.btn-menu:hover {
  background-color: transparent;
  color: var(--default-color);
  transform: translateY(-3px);
  border-color: var(--default-color);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.hero .hero-container .content-col .social-links {
  display: flex;
  gap: 1rem;
}

.hero .hero-container .content-col .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--accent-color), transparent 70%);
  color: var(--contrast-color);
  transition: all 0.3s ease;
}

.hero .hero-container .content-col .social-links a:hover {
  background-color: var(--contrast-color);
  color: var(--surface-color);
  transform: translateY(-3px);
}

.hero .hero-container .content-col .social-links a i {
  font-size: 1.2rem;
}

.hero .hero-container .hero-swiper {
  position: relative;
}

.hero .hero-container .hero-swiper .swiper-slide {
  position: relative;
}

.hero .hero-container .hero-swiper .swiper-slide .img-container {
  position: relative;
  overflow: hidden;
  height: calc(100vh - 90px);
}

.hero .hero-container .hero-swiper .swiper-slide .img-container img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  inset: 0;
  border-radius: 0rem 2rem;
}

.hero .hero-container .hero-swiper .swiper-button-next,
.hero .hero-container .hero-swiper .swiper-button-prev {
  width: 50px;
  height: 50px;
  background-color: color-mix(in srgb, #000, transparent 70%);
  border-radius: 50%;
  color: var(--contrast-color);
  transition: all 0.3s ease;
}

.hero .hero-container .hero-swiper .swiper-button-next:after,
.hero .hero-container .hero-swiper .swiper-button-prev:after {
  font-size: 1.2rem;
  font-weight: bold;
}

.hero .hero-container .hero-swiper .swiper-button-next:hover,
.hero .hero-container .hero-swiper .swiper-button-prev:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.hero .hero-container .hero-swiper .swiper-button-next {
  right: 20px;
}

.hero .hero-container .hero-swiper .swiper-button-prev {
  left: 20px;
}

@media (max-width: 992px) {
  .hero .hero-container .content-col {
    order: 2;
  }

  .hero .hero-container .swiper-col {
    order: 1;
  }

  .hero .hero-container .hero-swiper .swiper-slide .img-container {
    position: relative;
    overflow: hidden;
    height: calc(100vh - 0px);
  }

  .hero .hero-container .hero-swiper .swiper-slide .img-container img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    inset: 0;
    border-radius: 0rem 2rem;
  }

  .hero .hero-container .hero-swiper .swiper-button-next,
  .hero .hero-container .hero-swiper .swiper-button-prev {
    width: 40px;
    height: 40px;
  }

  .hero .hero-container .hero-swiper .swiper-button-next:after,
  .hero .hero-container .hero-swiper .swiper-button-prev:after {
    font-size: 1rem;
  }
}
@media (max-width: 576px) {
  .hero .hero-container .hero-swiper .swiper-slide .img-container {
    height: calc(70vh - 80px);
  }
}
/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
/* --- Redesigned About Section Styling --- */

.about-section {
  padding: 60px 0;
  overflow: hidden;
}

/* Image Frame Styling */
.about-img-container {
  position: relative;
  padding: 20px;
  z-index: 1;
}

/* The decorative frame behind the image */
.img-accent-frame {
  position: absolute;
  top: 0;
  right: 0;
  width: 90%;
  height: 90%;
  border: 8px solid var(--head-color); /* Maroon/Gold */
  border-radius: 30px;
  z-index: -1;
  opacity: 1;
}

.main-profile-img {
  border-radius: 30px;
  box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s ease;
}

.about-img-container:hover .main-profile-img {
  transform: translateY(-10px);
}

/* Content Styling */
.about-content .subtitle {
  color: var(--accent-color);
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
}

.about-content .lead-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--default-color);
  opacity: 0.9;
}

/* Vision Quote Box */
.vision-quote {
  background: rgba(128, 0, 0, 0.03);
  border-left: 5px solid var(--head-color);
  padding: 1rem;
  border-radius: 20px 0 0 20px;
  position: relative;
}

.vision-quote i {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 2rem;
  opacity: 0.1;
  color: var(--head-color);
}

.vision-quote p {
  font-family: var(--heading-font);
  font-style: italic;
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: var(--head-color);
}

.quote-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--default-color);
}

/* Contact Grid */
.info-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px;
  background: var(--surface-color);
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}

.info-item i {
  width: 35px;
  height: 35px;
  background: var(--head-color);
  color: var(--surface-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.info-item:hover {
  border-color: var(--accent-color);
  transform: translateX(5px);
}
.info-item a {
  color: var(--head-color);
}

/* {{{{{{{{{{{{{{{{{{{{{{{{{  EDUCATION SECTION  START }}}}}}}}}}}}}}}}}}}}}}}}} */
/* --- Education Timeline Redesign --- */
.education {
  padding: 60px 0;
}

.timeline-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
}

/* The vertical line matching the About accent */
.main-timeline-line {
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--contrast-color), transparent);
  opacity: 0.3;
}

.timeline-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 40px;
}

/* The indicator dot */
.timeline-dot {
  position: absolute;
  left: 12px;
  top: 30px;
  width: 18px;
  height: 18px;
  border: 3px solid var(--contrast-color);
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 10px rgba(219, 196, 119, 0.603);
}

.edu-card {
  background: var(--surface-color);
  border: 1px solid var(--contrast-color) !important;
  padding: 1rem;
  border-radius: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.4s ease;
}

.edu-card:hover {
  transform: translateX(10px);
  border-color: var(--accent-color) !important;
  box-shadow: 0 10px 25px var(--glass-hover-shadow);
}
.edu-card:hover .edu-logo img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}
.edu-date {
  display: block;
  color: var(--head-color);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.edu-degree {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--head-color);
  margin-bottom: 5px;
}

.edu-institution {
  color: var(--default-color);
  opacity: 0.8;
  margin: 0;
}

.edu-logo img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: 0.4s;
}

@media (max-width: 768px) {
  .edu-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .edu-logo {
    margin-top: 20px;
  }
  .timeline-item {
    padding-left: 45px;
  }
}

/* {{{{{{{{{{{{{{{{{{{{{{{{{  EDUCATION SECTION  END }}}}}}}}}}}}}}}}}}}}}}}}} */

/* ================= GLASS EXPERIENCE SECTION ================= */
/* --- Professional Experience Styling --- */
.experience-modern {
  padding: 60px 0;
}

.experience-timeline {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.experience-item {
  display: flex;
  align-items: flex-start;
  gap: 50px;
  margin-bottom: 30px;
  position: relative;
}

/* Vertical Track */
.experience-item::before {
  content: "";
  position: absolute;
  left: 212px; /* Centered between date and card */
  top: 0;
  bottom: -10px;
  width: 2px;
  background: var(--contrast-color);
  opacity: 0.5;
}

/* Date Label */
.exp-meta {
  flex: 0 0 180px;
  padding-top: 15px;
  text-align: right;
}

.exp-date-badge {
  color: var(--contrast-color);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

/* Card Styling */
.exp-card {
  flex: 1;
  background: var(--surface-color);
  border: 1px solid var(--contrast-color);
  border-radius: 16px;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 25px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.exp-card:hover {
  transform: translateX(12px);
  border-color: var(--accent-color);
  box-shadow: 0 10px 25px var(--glass-hover-shadow);
}

.exp-logo-wrapper img {
  width: 65px;
  height: 65px;
  object-fit: contain;
  border-radius: 10px;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: 0.4s;
}
.exp-card:hover .exp-logo-wrapper img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}
.exp-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--head-color);
  margin-bottom: 4px;
}

.exp-role {
  margin: 0;
  color: var(--default-color);
  opacity: 0.8;
  line-height: 1.5;
}

/* Mobile Responsive */
@media (max-width: 992px) {
  .experience-item {
    flex-direction: column;
    gap: 10px;
  }
  .experience-item::before {
    display: none;
  }
  .exp-meta {
    text-align: left;
    flex: none;
  }
  .exp-card {
    width: 100%;
  }
}
/* {{{{{{{{{{{{{{{{{{{{{{{{{  EXPERIENCE SECTION  END }}}}}}}}}}}}}}}}}}}}}}}}} */

/* {{{{{{{{{{{{{{{{{{{{{{{{{  RESEARCH SECTION  START }}}}}}}}}}}}}}}}}}}}}}}}} */
.research-glass-section {
  padding: 60px 0;
}

.research-card {
  background: var(--surface-color);
  border: 1px solid var(--contrast-color);
  border-radius: 24px;
  padding: 1rem;
  text-align: center;
  height: 100%;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.research-card:hover {
  /* background: rgba(255, 255, 255, 0.07); */
  transform: translateY(-15px);
  border-color: var(--accent-color);
  box-shadow: 0 10px 25px var(--glass-hover-shadow);
}

.research-icon {
  width: 70px;
  height: 70px;
  background: var(--surface-color);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}
.research-icon img {
  width: 55px;
  height: 55px;
  object-fit: contain;
  filter: brightness(0); /* Black in Light Mode */
  transition: filter 0.3s ease;
}

/* If you want it to be white in Dark Mode */
[data-theme="dark"] .research-icon img {
  filter: brightness(0) invert(1);
}

.research-card:hover .research-icon {
  transform: rotateY(180deg);
  /* If --accent-color is #740532 */
  box-shadow: 0 10px 25px rgb(from var(--accent-color) r g b / 0.27);
}

.research-card h4 {
  color: var(--contrast-color);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.research-card p {
  color: var(--contrast-color);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}
/*--------------------------------------------------------------
# STUDENT Section
--------------------------------------------------------------*/
/* {{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{ Professional Profile START }}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}} */
#phd h5 {
  color: var(--accent-color) !important;
}
#post_doc h5 {
  color: var(--accent-color) !important;
}
#m_tech h5,
h3 {
  color: var(--accent-color) !important;
}
#team h5 {
  color: var(--accent-color) !important;
}
/* {{{{{{{{{{{{{{{{{{{{{{{ CurrentGroupMembers {{{{{{{{{{{{{{}}}}}}}}}}}}}} */
#CurrentGroupMembers h1 {
  padding-top: 100px;
}
.CurrentGroupMembers h5 {
  color: var(--accent-color) !important;
}
/* @@@@@ GROUP PAGE SECTION @@@@@@ */
.gallery_img img {
  border: 4px solid #333;
  /* border: 4px solid #6c493b; */
  transition: transform 0.5s ease;
}
.memberss-card {
  position: relative;
  border-radius: 50px;
  transition: all 0.3s ease;
}
.member-top {
  background: var(--surface-color);
  border-radius: 1rem 1rem 0 0;
}

.member-top .small {
  color: var(--contrast-color);
}

.member-bottom {
  /* background: #ffffff; */
  border-radius: 0 0 1rem 1rem;
}

.bi-paperclip {
  position: absolute;
  top: -25px;
  right: -15px;
  font-size: 40px;
  color: var(--accent-color);
  transform: rotate(220deg);
  opacity: 0.8;
  transition: 0.3s ease;
}

.memberss-card:hover .bi-paperclip {
  transform: rotate(580deg) scale(1.2);
  transition:
    transform 0.7s ease,
    color 0.7s ease;
  color: var(--contrast-color);
}
.memberss-card h5 {
  font-weight: 600;
}

.memberss-card:hover {
  box-shadow: 0 10px 25px var(--glass-hover-shadow);
}

.memberss-img {
  width: 150px;
  height: 170px;
  object-fit: cover;
  transition:
    transform 0.4s ease,
    border-radius 0.4s ease;
}

.memberss-card:hover .memberss-img {
  transform: rotate(-2deg) scale(1.04);
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  filter: brightness(1.05);
  cursor: zoom-in;
}

.glightbox-container .gdesc {
  display: none !important;
}

#PastGroupMembers a:hover {
  color: #0d6efd;
}
/* Make sure the container is the reference point */
.member-bottom.position-relative {
  position: relative;
}

.linkedin-float {
  position: absolute;
  top: 15px; /* Adjust for padding */
  right: 15px; /* Adjust for padding */
  font-size: 1.5rem;
  color: #0077b5;
  transition: all 0.3s ease;
  z-index: 5;
  text-decoration: none;
}

.linkedin-float:hover {
  color: var(--accent-color);
  transform: translateY(-3px); /* Subtle lift effect */
}
/* Update this specific section to prevent overlap */
.member-bottom.position-relative p:first-of-type {
  padding-right: 30px; /* Creates a 'dead zone' for the icon */
}
/* {{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{ Professional Profile END }}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}} */
.project-card-modern.flip-box {
  perspective: 2000px; /* Perspective is required for 3D depth */
  position: relative;
  width: 100%;
}

.flip-inner {
  position: relative;
  width: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
}

.flip-box.active .flip-inner {
  transform: rotateY(180deg);
}

.flip-front {
  /* display: block; */
  /* overflow-y: auto; */
  backface-visibility: hidden;
}

.flip-back {
  position: absolute;
  inset: 0; /* Ensures full width and height */
  backface-visibility: hidden;
  border-radius: 10px;
  background: var(--surface-color);
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transform: rotateY(180deg);
  display: block;
  align-content: center;
}

.flip-front img {
  max-height: 220px; /* Constrain height so it doesn't break the layout */
  width: auto;
  object-fit: contain; /* Keeps aspect ratio */
  display: block;
  margin: 0 auto;
  border: 1px solid var(--contrast-color);
}

/* Container to keep the button at the bottom left */
.back-btn-container {
  background: var(--accent-color);
}
.sponsor-img {
  max-height: 120px;
  object-fit: contain;
  padding: 8px;
}
.flip-btn {
  position: absolute;
  bottom: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: var(--accent-color);
  color: white;
}
/* Position the button absolutely inside the sponsor-container */
.flip-btn.flip-open {
  position: absolute;
  right: 0;
  bottom: 0;
  /* Override previous positioning if it was set elsewhere */
  margin: 0;
}
.flip-open {
  right: 20px;
}
.flip-close {
  left: 20px;
}
/* ===== RESEARCH PAGE SECTION ===== */

.funding-panel {
  position: sticky;
  top: 100px; /* distance from top navbar */
  background: var(--surface-color);
  border: 1px solid var(--contrast-color);
  padding: 1rem;
  border-radius: 18px;
}

.funding-panel h3 {
  font-size: 1.4rem;
  margin-bottom: 25px;
  color: var(--head-color);
}

.funding-stat {
  margin-bottom: 22px;
}

.stat-value {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--head-color);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--contrast-color);
}

/* Project List */
.project-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* Card */
.project-card-modern {
  position: relative;
  background: var(--surface-color);
  border: 1px solid var(--default-color);
  border-radius: 16px;
  padding: 20px;
  transition: all 0.35s ease;
  overflow: visible;
  display: flex;
  flex-direction: column;
  height: 100%; /* Ensures all cards in a row are the same height */
  /* padding-bottom: 20px; */
}
/* Hover */
.project-card-modern:hover {
  transform: translateY(-6px);
  border: 1px solid var(--accent-color);
  box-shadow: 0 10px 25px var(--glass-hover-shadow);
}
.project-card-modern:hover .project-accent {
  background: var(--default-color);
}
/* The container that holds both the text and the button */
.sponsor-ribbon {
  position: absolute;
  bottom: 15px;
  right: -10px; /* Slight overhang */
  background: var(--accent-color);
  color: var(--surface-color);
  display: flex;
  align-items: center;
  padding: 5px 5px 5px 15px; /* Add space on the left */
  box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.2);
}
.sponsor-text {
  font-size: 0.85rem;
  font-weight: 600;
  margin-right: 10px;
}
/* The button integrated into the ribbon */
.flip-btn-integrated {
  width: 40px;
  height: 35px;
  border-radius: 5px;
  border: none;
  background: color-mix(in srgb, var(--surface-color), transparent 80%);
  color: var(--surface-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s;
}

.flip-back .flip-btn-integrated {
  width: 100%;
  height: 35px;
  border-radius: 5px;
  border: none;
  background: var(--accent-color);
  color: var(--surface-color);
  /* align-items: center; */
  /* justify-content: center; */
  cursor: pointer;
  transition: transform 0.2s;
}

.flip-back .flip-btn-integrated:hover {
  transform: scale(1.02);
}
/* The "Folded Corner" triangle */
.sponsor-ribbon::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 10px 0 0;
  border-color: var(--accent-color) transparent transparent transparent;
}

/* Title */
.project-card-modern p {
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--head-color);
}

/* Alignment for the bottom right */
.project-footer {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: flex-end; /* Aligns items to the right */
}

/* Description */
.project-PI {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--head-color);
  /* padding-left: 5px; */
}

/* Meta */
.project-meta {
  /* margin-top: 12px; */
  margin-bottom: 12px;
}
/* --- RESPONSIVENESS --- */
@media (max-width: 768px) {
  .project-card-modern {
    padding: 20px;
    /* More space for the badge on tablet */
  }

  .flip-front .col-12 {
    margin-bottom: 15px; /* Adds space between text and image stack */
  }

  /* Make sure the ribbon stays visible after stacking */
  .sponsor-ribbon {
    position: relative; /* Change from absolute to relative on mobile */
    bottom: auto;
    right: auto;
    margin-top: 10px;
  }
}

@media (max-width: 576px) {
  /* Prevent the -10px right margin from causing horizontal scroll on the whole page */
  /* .project-list {
    padding-right: 12px;
    overflow-x: hidden;
  } */

  .project-card-modern h4 {
    font-size: 1.1rem;
    /* Ensure title doesn't hit the ribbon if it's long */
    padding-right: 10px;
  }
  .project-footer {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 10px;
  }
  .project-card-modern {
    padding: 15px;
  }

  /* Reduce ribbon size on tiny screens */
  .sponsor-ribbon {
    /* padding: 3px 3px 3px 10px; */
  }

  .sponsor-text {
    /* font-size: 0.7rem; */
  }
}

.budget {
  background: var(--head-color);
  color: var(--surface-color);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-right: 8px;
}

.extra {
  font-size: 0.8rem;
  color: var(--accent-color);
}
.total-budget-badge {
  color: var(--default-color);
}
/* Tags */

.project-tags span {
  display: inline-block;
  color: var(--contrast-color);
  border: 1px solid var(--contrast-color);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.9rem;
  margin: 4px 4px 0 0;
}
/* Collaboration */

.collaboration {
  margin-top: 8px;
  font-size: 0.8rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.65);
}

.stats-dashboard {
  position: sticky;
  top: 100px;
  z-index: 20;
  background: var(--default-color);
  border-radius: 20px;
  border: 1px solid var(--contrast-color);
  box-shadow: 0 10px 25px var(--card-shadow);
  width: 90%;
  min-height: 70px;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Title inside dashboard */
.stats-dashboard h2 {
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  margin: 0;
  font-weight: 600;
}

/* -=========================== SURVEY SECTION Table ==================================*/
.glass-table-container {
  background: var(--surface-color);
  border: 2px solid var(--contrast-color);
  border-radius: 16px;
  padding: 2rem;
}
.glass-table-container:hover {
  border: 1px solid var(--accent-color);
  box-shadow: 0 10px 25px var(--glass-hover-shadow);
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
}

/* Headers: Using your Amber/Gold Color */
.custom-table thead th {
  color: var(--contrast-color);
  font-family: var(--heading-font);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  padding: 15px;
  border-bottom: 2px solid var(--contrast-color);
  text-align: left;
}

.custom-table tbody td {
  padding: 1rem;
  color: var(--head-color);
  border-bottom: 1px solid var(--contrast-color);
  font-size: 0.95rem;
  vertical-align: middle;
}

/* Row Numbers (#) */
.custom-table .text-center {
  color: var(--contrast-color);
  font-family: var(--nav-font);
}

/* Project Title: Make it Bold and Bright */
.project-title {
  color: var(--head-color);
  font-weight: 600;
  line-height: 1.5;
}

/* Agency Tag: Darker background, Bright Text */
.agency-tag {
  color: var(--contrast-color); /* Amber Text */
  padding: 5px 12px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.8rem;
  border: 1px solid var(--default-color);
}

/* Budget: Highlighting the value */
.budget-value {
  font-weight: 700;
}

/* Duration Icon and Text */
.duration-box {
  color: var(--head-color);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
/* Title */
.All-card-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--contrast-color);
  text-transform: uppercase;
  margin: 10px 0;
  text-align: center;
}

/* Tabs */
.research-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.tab-btn {
  padding: 10px 18px;
  border-radius: 25px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
}

.tab-btn:hover {
  background: #00e0ff;
  color: #000;
}
.tab-btn.active {
  background: linear-gradient(135deg, #1a8aec, #0cc6cf);
  border-color: transparent;
  color: white;
  font-weight: 600;
}
/* ========================= PUBLICATION SECTION ================ */
#publicationHeading {
  text-align: center;
}

.pub-count {
  font-size: 16px;
  font-weight: 500;
  margin-top: 6px;
  color: var(--accent-color);
}
.research_publication-section .research-card {
  background: var(--surface-color);
  border-radius: 18px;
  border: 1px solid var(--default-color);
  text-align: left;
}
.research_publication-section .research-card:hover {
  border: 1px solid var(--accent-color);
  box-shadow: 0 10px 25px var(--glass-hover-shadow);
}
.research_publication-section p {
  color: var(--contrast-color);
}
/* Scroll container */
.publication-scroll {
  max-height: 420px;
  overflow-y: auto;
  padding-right: 10px;
  counter-reset: publication-counter; /* 👈 important */
}

/* publication item */
.publication-item {
  padding: 10px 0;
  border-bottom: 1px dashed var(--contrast-color) !important;
  counter-increment: publication-counter;
  position: relative;
  padding-left: 35px; /* space for number */
}
.publication-item::before {
  content: counter(publication-counter) ".";
  position: absolute;
  left: 0;
  top: 10px;

  font-weight: 700;
  color: var(--accent-color);
}

.publication-item:last-child {
  border-bottom: none !important;
}

/* title */
.publication-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--head-color);
}

/* authors */
.publication-item .authors {
  font-size: 14px;
  color: var(--contrast-color);
  margin-bottom: 10px;
}

/* journal */
.publication-item .journal {
  font-size: 14px;
  color: var(--head-color);
  margin-bottom: 0;
}

/* year */
.publication-item .date {
  font-size: 13px;
  color: var(--contrast-color);
}
/* DOI */
.publication-item .DOI {
  font-size: 14px;
  color: var(--head-color) !important;
}
.publication-item .DOI a {
  font-size: 14px;
  color: var(--head-color) !important;
  text-decoration: underline !important;
}
/* scrollbar styling */
.publication-scroll::-webkit-scrollbar {
  width: 6px;
}

.publication-scroll::-webkit-scrollbar-thumb {
  background: var(--head-color);
  border-radius: 10px;
}
/* &&&&&&&&&&&&&&&&&&&&&&&&& PATENTS Layout &&&&&&&&&&&&&&& */
.paitent-section .research-card {
  padding: 1.5rem;
  /* text-align: left; */
  align-items: flex-start;
}
/* Title */
.patent-research-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--head-color) !important;
}
.patent-research-authors {
  color: var(--contrast-color) !important;
}
.patent-reserch-file {
  color: var(--head-color) !important;
}
.patent-research-meta {
  color: var(--contrast-color) !important;
}
.patent-research-source {
  color: var(--head-color) !important;
}

/* {{{{{{{{{{{{{{{{{{{ BOOK CHAPTER SECTION }}}}}}}}}}}}}}}}}}} */
.book-section .research-card {
  text-align: left;
  align-items: flex-start;
}
.course-scroll {
  max-height: 420px;
  overflow-y: auto;
  padding-right: 10px;
}
.course-item {
  padding: 12px 0;
  border-bottom: 1px dashed var(--contrast-color);
}

.course-item:last-child {
  border-bottom: none;
}

.course-grid {
  display: grid;
  grid-template-columns: 40px 2fr 1.5fr 1fr 1.2fr 1fr;
  gap: 10px;
  align-items: center;

  font-size: 14px;
  color: var(--head-color);
}
.course-header {
  background: var(--background-color);
  border-radius: 8px;
  padding: 10px;
  font-size: 13px;
}
.book-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--head-color) !important;
}
.book-authors {
  color: var(--contrast-color) !important;
}
.book-file {
  color: var(--head-color) !important;
}
.book-meta {
  color: var(--contrast-color) !important;
}
.book-source {
  color: var(--head-color) !important;
}
/* {{{{{{{{{{{{{{{{{{{ WORKSHOP SECTION }}}}}}}}}}}}}}}}}}} */
.workshop-section {
  padding: 60px 0;
}

.workshop-list {
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* card */

.workshop-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;

  padding: 20px;

  border-radius: 1rem;

  background: var(--surface-color);

  border: 1px solid var(--contrast-color);

  transition: all 0.35s ease;

  position: relative;
  overflow: hidden;
}

.workshop-card .workshop-content p {
  text-align: justify;
}

@media (max-width: 768px) {
  .workshop-card {
    display: inline-grid;
    gap: 15px;
  }
}

/* hover lift */

.workshop-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-color);
  box-shadow: 0 10px 25px var(--glass-hover-shadow);
}

/* date badge */

.workshop-date {
  min-width: 150px;
  text-align: center;
  background: var(--background-color);
  border: 1px solid var(--contrast-color);
  border-radius: 12px;
  padding: 0.5rem;
  color: var(--head-color);
}

.workshop-date i {
  font-size: 22px;
  display: block;
  margin-bottom: 6px;
}

.workshop-date span {
  font-size: 18px;
  font-weight: 700;
  display: block;
}

.workshop-date small {
  font-size: 12px;
  opacity: 0.8;
}

/* content */

.workshop-content p {
  /* font-size: 18px; */
  margin-bottom: 6px;
  color: var(--head-color);
}
.workshop-content a {
  color: var(--head-color);
}
.workshop-content a:hover {
  text-decoration: underline !important;
}

/* .workshop-content p {
  font-size: 14px;
  line-height: 1.6;

  color: #cfcfcf;
  margin: 0;
} */

/* 1. STATE: CLOSED (Default) */
.workshop-section .accordion-button.collapsed {
  background-color: var(--accordion-close-bg);
  color: var(--surface-color);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

/* 2. STATE: OPEN (Expanded) */
.workshop-section .accordion-button:not(.collapsed) {
  background-color: var(--accordion-open-bg);
  color: var(--surface-color);
}

/* This changes the SVG arrow color when OPEN */
.workshop-section .accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
  /* The filter above turns the black arrow into #0d6efd blue */
}

/* This changes the SVG arrow color when CLOSED */
.workshop-section .accordion-button.collapsed::after {
  filter: brightness(0) invert(1); /* Keeps it neutral when closed */
}

[data-theme="dark"] .workshop-section .accordion-button:not(.collapsed)::after {
  filter: brightness(0);
}

[data-theme="dark"] .workshop-section .accordion-button.collapsed::after {
  filter: brightness(0);
}

/* &&&&&&&&&&&&&&&&&&&&&&&&& Conference Card Layout &&&&&&&&&&&&&&& */
.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}
/* OUTER CARD (no scroll here) */
.conference-scroll-card {
  border-radius: 16px;
  border: 1px solid var(--accent-color);
  background: var(--surface-color);
  box-shadow: 0 10px 25px var(--glass-hover-shadow);
  padding: 1rem;
  overflow: hidden;
}

/* INNER SCROLL AREA */
.conference-scroll-inner {
  max-height: 500px;
  overflow-y: auto;
  padding: 10px;
}
/* Chrome / Edge / Safari */
.conference-scroll-inner::-webkit-scrollbar {
  width: 6px;
}

.conference-scroll-inner::-webkit-scrollbar-track {
  background: transparent;
}

.conference-scroll-inner::-webkit-scrollbar-thumb {
  background: var(--head-color);
  border-radius: 20px;
}
.accordion-item {
  border: none;
  margin-bottom: 15px;
}

.accordion-button {
  background: var(--accordion-close-bg);
  color: var(--surface-color);
}
.accordion-button:focus {
  box-shadow: none !important;
}
.accordion-button:not(.collapsed) {
  background: var(--accordion-open-bg);
  color: var(--surface-color);
  box-shadow: none;
}

/* Default (Light Mode) - Black Arrow */
.accordion-button::after {
  filter: brightness(0) invert(1);
}

/* Dark Mode - White Arrow */
[data-theme="dark"] .accordion-button::after {
  filter: brightness(0);
}
.accordion-body {
  background: var(--background-color);
  /* border: 1px solid var(--accent-color); */
  border-top: none;
  border-radius: 0 0 16px 16px;
  /* padding: 5px 20px; */
  box-shadow: 0 10px 25px var(--glass-hover-shadow);
}
.accordion-item {
  background: transparent;
  border: none;
  margin-bottom: 15px;
}
#conference .accordion-body {
  counter-reset: conf-counter;
}
#conference .publication-item {
  counter-increment: conf-counter;
  position: relative;
  padding-left: 35px;
  border-bottom: 1px dashed var(--default-color) !important;
}
#conference .publication-item::before {
  content: counter(conf-counter) ".";
  position: absolute;
  left: 0;
  top: 10px;
  font-weight: 700;
  color: var(--accent-color);
}
#conference .publication-item .DOI,
.DOI a {
  color: var(--default-color) !important;
}

#conference .publication-item:last-child {
  border-bottom: none !important;
}

.publication-item h3 {
  font-size: 16px;
  margin-bottom: 5px;
  color: var(--default-color);
}

#conference .authors {
  font-size: 14px;
  color: var(--default-color) !important;
}

.confer_journal {
  font-size: 14px;
  font-weight: 600;
  color: var(--default-color);
}

#conference .date {
  font-size: 13px;
  /* color: #c0c0c0; */
  font-weight: 700;
  color: var(--default-color);
}

/* &&&&&&&&&&&&&&&&&&&&&&&&& Teaching Layout &&&&&&&&&&&&&&& */

.teaching-year {
  margin-bottom: 50px;
}

.year-title {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: var(--contrast-color);
  border-left: 4px solid var(--default-color);
  /* text-decoration: underline dashed; */
  padding-left: 12px;
}

.teaching-card {
  background: var(--surface-color);
  border: 1px solid var(--contrast-color);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 18px;
  transition: all 0.3s ease;
}

.teaching-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-color);
  box-shadow: 0 10px 25px var(--glass-hover-shadow);
}

.teaching-card h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--head-color);
}

.course-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.badge-level {
  background: var(--surface-color);
  color: var(--contrast-color);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--surface-color);
}

.badge-type.new {
  color: var(--contrast-color);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--default-color);
}
.badge-type.exist {
  background: var(--surface-color);
  color: var(--default-color);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--default-color);
}

.semester {
  background: var(--accordion-open-bg);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--surface-color);
  font-weight: 600;
  border: 1px solid var(--surface-color);
}

.award {
  color: var(--default-color);
  font-size: 0.85rem;
  margin-bottom: 8px;
}
/* {{{{{{{{{{{ Miscellaneous SECTION}}}}}}}}}}} */
/* {{{{{{{{{{{{{{{{{{{{{{{{{  AWARDS SECTION  START }}}}}}}}}}}}}}}}}}}}}}}}} */

/* ===== GLASS AWARDS SECTION ===== */

/* Glass Card */
.award-card {
  background: var(--surface-color);
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  height: 100%;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--contrast-color);
  transition: all 0.4s ease;
}

/* Soft Glass Glow Effect */
.award-card::before {
  content: "";
  position: absolute;
  width: 150%;
  height: 150%;
  top: -50%;
  left: -50%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.15),
    transparent,
    rgba(255, 255, 255, 0.15)
  );
  transform: rotate(25deg);
  opacity: 0;
  transition: 0.6s;
}

/* Hover Effects */
.award-card:hover {
  transform: translateY(-12px);
  border: 1px solid var(--accent-color);
  box-shadow: 0 10px 25px var(--glass-hover-shadow);
}

.award-card:hover::before {
  opacity: 1;
  left: 100%;
}

/* Image Styling */
.award-img {
  width: 150px;
  height: 150px;
  margin: 0 auto 20px;
  border-radius: 0.5rem 0.5rem;
  overflow: hidden;
  /* background: rgba(255, 255, 255, 0.1); */
  /* padding: 10px; */
  transition: 0.4s;
}

.award-img img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}
.award-img:hover img {
  cursor: zoom-in;
}

.award-card .award-img:hover {
  border: 1px solid var(--accent-color);
  transform: scale(1.04);
}

/* Heading */
.award-card h4 {
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--head-color);
}

/* Description */
.award-card p {
  font-size: 14px;
  color: var(--contrast-color);
  line-height: 1.7;
  font-weight: 600;
}

/* {{{{{{{{{{{{{{{{{{{{{{{{{  AWARDS SECTION  END }}}}}}}}}}}}}}}}}}}}}}}}} */

/* {{{{{{{{[[[[[[[[[[[[[[[ NEWS SETION START ]]]]]]]]]]]]]]]}}}}}}}}
 */
.course-section {
}
/* Header Styling */
.course-badge {
  background: rgba(255, 238, 0, 0.1);
  color: var(--contrast-color);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  border: 1px solid var(--accent-color);
}
.course-text {
  color: var(--contrast-color);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 1px;
  /* border: 1px solid rgba(0, 210, 255, 0.3); */
}
.course-section h4 {
  color: var(--head-color) !important;
  font-weight: 600;
  text-decoration: underline;
}
.course-section h5 {
  /* color: var(--contrast-color) !important; */
}
.course-description-text {
  color: var(--head-color) !important;
  text-align: justify;
}
.modern-instructor p {
  color: var(--head-color);
  font-size: 0.9rem;
  font-weight: 600;
  margin: 5px;
}
/* Glass Containers */
.course-info-glass {
  border: 1px solid var(--head-color);
  border-radius: 20px;
  overflow: hidden;
  background: var(--background-color);
}

.video-glass-frame {
  border: 1px solid var(--default-color);
  border-radius: 24px;
  overflow: hidden;
  background: var(--background-color);
}

.course-info-glass,
.video-glass-frame :hover {
  box-shadow: 0 10px 25px var(--glass-hover-shadow);
}

.enroll-btn-modern {
  display: inline-block;
  background: var(--accent-color);
  color: var(--surface-color);
  padding: 10px 20px;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.enroll-btn-modern:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px var(--glass-hover-shadow);
}

/* {{{{{{{{{{{{{{{{{{{{{{{{{ TECHNICAL TALK SECTION }}}}}}}}}}}}}}}}}}}}}}}}} */
.technical-talks-section {
  padding: 60px 0;
}

.talks-glass-card {
  max-height: 450px;
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--surface-color);
  border: 1px solid var(--contrast-color);
  border-radius: 1rem;
  padding: 1rem;
}

/* scrollbar */

.talks-glass-card::-webkit-scrollbar {
  width: 6px;
}

/* 2. The Background of the scrollbar area */
.talks-glass-card::-webkit-scrollbar-track {
  border-radius: 10px;
  margin: 10px 0; /* Keeps the scrollbar from touching the top/bottom edges */
}

.talks-glass-card::-webkit-scrollbar-thumb {
  background: var(--contrast-color);
  border-radius: 10px;
  transition: 0.3s;
}

.talks-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.talks-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 15px;
  margin-bottom: 10px;
  border-radius: 10px;
  font-size: 16px;
  line-height: 1.6;
  transition: all 0.25s ease;
  color: var(--contrast-color);
}

.talks-list i {
  font-size: 18px;
  color: var(--contrast-color);
  margin-top: 3px;
}

.talks-list li:hover {
  background: rgba(255, 217, 0, 0.192);
  transform: translateX(6px);
  border-left: 3px solid var(--accent-color);
}

/*#################  Development Section Styling  $###################*/
.project-showcase {
  background: var(--surface-color);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid var(--contrast-color);
}
.lead {
  color: var(--contrast-color);
}
.project-image {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.project-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--surface-color);
  color: var(--contrast-color);
  padding: 5px 15px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
}

/* Milestone Timeline */
.milestone-timeline {
  border-left: 2px solid var(--head-color);
  padding-left: 20px;
  margin-top: 20px;
}

.milestone-item {
  position: relative;
  margin-bottom: 20px;
  color: var(--contrast-color);
}

.milestone-item::before {
  content: "";
  position: absolute;
  left: -27px;
  top: 5px;
  width: 12px;
  height: 12px;
  background: var(--head-color);
  border-radius: 50%;
}

.m-tag {
  display: inline-block;
  font-weight: 700;
  color: var(--head-color);
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.tech-abstract-list {
  background: var(--surface-color);
  padding: 40px;
  border-radius: 12px;
  border: 1px solid var(--contrast-color);
}

.abstract-item {
  display: flex;
  gap: 25px;
  padding: 30px 0;
  border-bottom: 1px solid
    color-mix(in srgb, var(--default-color), transparent 90%);
  transition: all 0.3s ease;
}

.abstract-item:first-child {
  padding-top: 0;
}
.abstract-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.abs-icon {
  flex-shrink: 0;
  width: 45px;
  height: 45px;
  background: var(--accent-color);
  color: var(--surface-color) !important;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: 0.3s ease;
}

/* Hover Effect */
.abstract-item:hover {
  /* background: rgba(255, 255, 255, 0.02); */
  transform: translateX(10px);
}
.abs-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--contrast-color);
  margin-bottom: 0;
}

.abs-content strong {
  color: var(--head-color);
  font-weight: 600;
}

/* Sub-list styling */
.abs-sub-list {
  list-style: none;
  padding: 15px 0 0 0;
  margin: 0;
}

.abs-sub-list li {
  font-size: 0.95rem;
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--contrast-color);
  opacity: 0.9;
}

.abs-sub-list i {
  color: var(--contrast-color);
  font-size: 0.8rem;
}

/* {{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{ CONTRIBUTION SECTION }}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}} */
/* --- Professional Service Section --- */
.contribution-subtitle {
  font-family: var(--heading-font);
  color: var(--head-color);
  font-size: 1.5rem;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--contrast-color);
  padding-bottom: 15px;
  font-weight: 700;
}

/* Timeline Style (Left) */
.contribution-list {
  border-left: 2px solid
    color-mix(in srgb, var(--contrast-color), transparent 80%);
  padding-left: 20px;
}

.contribution-item {
  position: relative;
  margin-bottom: 30px;
}

.contribution-item::before {
  content: "";
  position: absolute;
  left: -27px;
  top: 5px;
  width: 12px;
  height: 12px;
  background: var(--contrast-color);
  border-radius: 50%;
}

.c-date {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--contrast-color) !important;
  /* opacity: 0.9; */
}

.contribution-item h4 {
  font-size: 1.2rem;
  color: var(--head-color);
  margin: 5px 0;
}
.contribution-item p {
  color: var(--contrast-color) !important;
}

/* Grid Style (Right) */
.contribution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
/* --- External Contributions Styling --- */
.external-contributions-box {
  background: var(--surface-color);
  padding: 40px;
  border-radius: 16px;
  border: 1px solid var(--contrast-color);
  box-shadow: 0 10px 25px var(--glass-hover-shadow);
}

.abstract-item {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid
    color-mix(in srgb, var(--contrast-color), transparent 92%);
  transition: all 0.3s ease;
  align-items: center;
}

.abstract-item:last-child {
  border-bottom: none;
}

.abs-content p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--contrast-color) !important;
}

.abs-content strong {
  color: var(--head-color);
  font-weight: 600;
}

/* Special Highlighting for major IEEE roles */
.highlight-ieee {
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--accent-color), transparent 97%),
    transparent
  );
  padding-left: 15px;
}

/* Hover Effect */
.abstract-item:hover {
  transform: translateX(8px);
}
/* ================= GALLERY SECTION ================= */

.gallery-wrapper {
  padding: 0 1rem;
  position: relative;
  transition: all 0.4s ease;
}
.gallery-wrapper::before {
  content: "";
  position: absolute;
  inset: -1px;

  border-radius: 20px;

  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.05)
  );

  opacity: 0.6;
  pointer-events: none;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
}

.gallery-item a {
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.6s ease,
    filter 0.4s ease;
}

/* Large image */
.gallery-item.large {
  height: 100%;
}

/* Hover Effect */
.gallery-item:hover img {
  transform: scale(1.08);
  filter: brightness(0.8);
}

/* Soft overlay */

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1),
    rgba(0, 0, 0, 0.55)
  );
  opacity: 0;
  transition: 0.4s;
  pointer-events: none;
}

.gallery-item:hover::after {
  opacity: 1;
}
/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ Lab Section Styling &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&*/
.lab-brand-card {
  background: var(--surface-color);
  border-radius: 24px;
  border: 1px solid var(--contrast-color);
}
.lab-brand-card:hover {
  box-shadow: 0 10px 25px var(--glass-hover-shadow);
}
.lab-info p.lead {
  font-weight: 400 !important;
  color: var(--contrast-color) !important;
  opacity: 0.8;
}
.btn-linkedin {
  background-color: #0077b5;
  color: white;
  transition: all 0.3s ease;
  border: none;
}

.btn-linkedin:hover {
  background-color: #005a8a;
  color: white;
  transform: translateY(-2px);
}
/* Ensure the Fancybox link fills the container */
.lab-facility-card a {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden; /* Keeps the zoom effect contained */
}
/* Facility Card Styling */
.lab-facility-card {
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
  transition: all 0.4s ease;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  /* margin-bottom: 5px; */
  /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); */
}
.lab-facility-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition:
    transform 0.4s ease,
    filter 0.3s ease;
}
.lab-facility-card:hover img {
  /* transform: translateY(-8px); */
  /* box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15); */
  transform: scale(1.08);
  cursor: zoom-in;
  filter: brightness(0.8);
}

.facility-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
/* The Main White Container for Facilities */
.facilities-white-card {
  background: #ffffff;
  border-radius: 0.5rem;
  /* border: 1px solid var(--contrast-color); */
}
.lab-facility-card:hover .facility-img {
  transform: scale(1.1);
}

/* Floating Caption at Bottom Left */
.facility-caption {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 2;
  right: 12px; /* Ensures it doesn't overflow on small cards */
  /* A subtle dark tint at the bottom of the image */
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
  backdrop-filter: blur(4px);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  width: fit-content;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); /* Extra safety for readability */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  pointer-events: none; /* Allows hover through to the card */
}

@media (max-width: 768px) {
  .facility-caption {
    font-size: 0.75rem;
    padding: 4px 8px;
    bottom: 8px;
    left: 8px;
  }
}
/* &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& */
.stats-section {
  background-color: var(--surface-color); /* Or a dark version of it */
  color: var(--default-color);
  padding: 60px 0;
}

.stat-card {
  padding: 20px;
  transition: transform 0.3s ease;
}

.stat-icon {
  font-size: 2.5rem;
  opacity: 0.8;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
}

/* Add a "+" suffix if you want (Optional) */
.stat-number::after {
  content: "+";
  font-size: 2rem;
  margin-left: 2px;
  vertical-align: top;
}
/* $$$$$$$$$$$$$$$$$$$$$$$ eMasters  Section   $$$$$$$$$$$$$$$$$$$$$  */
.eMasters-section .research-card {
  text-align: left;
  align-items: flex-start;
}
.eMasters-section .research-card .DOI a:hover {
  text-decoration: none !important;
}

/* $$$$$$$$$$$$$$$$$$$$$$$ NPTEL  Section   $$$$$$$$$$$$$$$$$$$$$  */
.nptel-section .research-card {
  text-align: left;
  align-items: flex-start;
}
.nptel-section .research-card .DOI a:hover {
  text-decoration: none !important;
}
