* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: white;
    min-height: 100vh;
    font-weight: 400;
    overflow-x: auto;
}

main {
    display: grid;
    grid-template-columns: 350px 1fr;
    min-height: 100vh;
    gap: 2rem;
    padding: 2rem;
}

.dashboard-section {
  /* background: linear-gradient(135deg, #ffffff 0%, #d6d9dc 100%); */
  background:#F6F6F6;
  min-height: 100vh;
  padding-top: 1rem !important; /* Reduced from py-5 (3rem) */
  padding-bottom: 3rem !important;
}

/* Sidebar Container */
.dashboard-sidebar {
  /* background:   #d6d9dc; */
  border-radius: 1.5rem;
  padding: 2rem;
  /* box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid #f1f1f1; */
  height: fit-content;
  position: sticky;
  top: 2rem;
}

.sidebar-title {
  font-size: 2rem;
  font-weight: 600;
  background: linear-gradient(135deg, #0d0e39, #8ba3f8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  letter-spacing: 0.3px;
  text-shadow: 0.5px 0.5px rgba(0, 0, 0, 0.05);
}

/* Thin top header */
.ynos-powered-header {
  background-color: #003C2F; /* YNOS dark green */
  color: #fff;
  text-align: center;
  font-size: 13px;
  padding: 5px 10px;
  font-family: 'IBM Plex Sans', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

/* Logo style in the header */
.ynos-powered-header .ynos-logo {
  height: 18px;
  vertical-align: middle;
}


/* Description Text */
.sidebar-description {
  font-size: 1.05rem;
  color: #4a4a4a;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Controls */
.controls {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}


/* Buttons */   
.control-btn {
  background-color: #f4f6fb;
  border: none;
  color: #333;
  border-radius: 10px;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 0.1rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.02);
}

.control-btn:hover,
.control-btn.active {
  background-color: #4e54c8;
  color: #111010;
  box-shadow: 0 6px 20px rgba(78, 84, 200, 0.25);
  transform: translateY(-1px);
}

/* Tip Section */
.sidebar-tip {
  background: #f0f4ff;
  color: #444;
  border-left: 4px solid #4e54c8;
  padding: 1rem;
  margin-top: 1.8rem;
  font-size: 0.95rem;
  border-radius: 6px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.04);
  line-height: 1.6;
}










.section-title {
  font-size: 2rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  color: #1e1e2b;
  background: linear-gradient(135deg, #51b247, #4cae59);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.5px;
}

/* section.py-5 {
  background: rgba(81, 178, 71, 0.08);
  padding-top: 3rem;
  padding-bottom: 3rem;
} */

section.py-5.overflow-hidden {
  background: rgba(81, 178, 71, 0.08); /* Soft YNOS green */
  padding-top: 3rem;
  padding-bottom: 3rem;
}











.feedback-section {
  background: #f8fafc;
}

.feedback-container {
  background-color: #002C25;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.3;
}

.ynos-input {
  border-radius: 8px;
  border: none;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  background: #ffffff;
  color: #1e1e1e;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.ynos-input:focus {
  outline: none;
  border: 2px solid #51b247;
  box-shadow: 0 0 0 3px rgba(81, 178, 71, 0.2);
}

.ynos-btn-submit {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  background: linear-gradient(135deg, #51b247, #4cae59);
  color: white;
  padding: 0.75rem 1.2rem;
  border: none;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.ynos-btn-submit:hover {
  background: white;
  color: #002C25;
  border: 2px solid #51b247;
}


/* Footer Styling (YNOS theme) */
.ynos-footer {
  background: #002C25;
  color: #e4f4ec;
  padding: 2rem 1rem 1rem;
  font-family: 'Montserrat', sans-serif;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom {
  text-align: center;
  font-size: 0.95rem;
  color: #cbd5e1;
  margin-top: 1rem;
  line-height: 1.6;
}

.footer-bottom .creator-name {
  font-weight: 600;
  color: #51b247; /* YNOS green accent */
  transition: color 0.3s ease;
}

.footer-bottom .creator-name:hover {
  color: #8f94fb; /* optional accent on hover */
  cursor: pointer;
}
.institute-sphere {
    transition: all 0.3s ease-out;
    will-change: transform, background-color;
    display: block !important; /* Force display */
}

.dashboard {
    position: relative;
    overflow: visible;
}
/* Spheres - fixed positioning */
.institute-sphere {
    position: absolute;
    transition: background-color 0.6s ease;
    will-change: background-color;
}

/* Buttons - animated */
.institute-btn {
    transition: 
        left 0.8s cubic-bezier(0.34, 1.56, 0.64, 1),
        top 0.8s cubic-bezier(0.34, 1.56, 0.64, 1),
        transform 0.3s ease;
    will-change: left, top;
}


/* Add these animation classes */
.institute-btn {
  transition: all 0.5s ease-in-out;
}

.badge-enter {
  opacity: 0;
  transform: translateY(20px) scale(0.8);
}
.badge-enter-active {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.badge-exit {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.badge-exit-active {
  opacity: 0;
  transform: translateY(-20px) scale(0.8);
}

/* For the white panel text */
.center-panel {
  animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}














/* Responsive: Move aside to top for small screens */
@media (max-width: 991px) {
    .dashboard-aside {
        position: static;
        width: 100%;
        height: auto;
        box-shadow: none;
        border-right: none;
        border-bottom: 1px solid #eee;
    }
    .aside-inner {
        padding: 1.5rem 1rem;
    }
}

/* Optional: Add margin to main content to avoid being hidden behind aside */
@media (min-width: 992px) {
    main, .dashboard-container {
        margin-left: 340px;
    }
}

aside {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: fit-content;
    position: sticky;
    top: 2rem;
}

aside h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

aside p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.filters {
    margin-bottom: 2rem;
}

.controls {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.control-btn i {
  margin-right: 8px;
  font-size: 1.2em;
  vertical-align: middle;
}


.control-btn {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    padding: 0.875rem 1.25rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    color: #475569;
      font-family: 'Montserrat', sans-serif;
}

.control-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.control-btn.active {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-color: #10b981;
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.dashboard-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.dashboard-card {
    background: #f6f6f6;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 100%;
    max-width: 800px;
}



/* Rupee symbol fix */
/* .rupee::before {
    content: '₹';
    font-family: 'Times New Roman', serif;
} */


/* Update circular border to be responsive */
.circular-border {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(90vw, 600px);
    height: min(90vw, 600px);
    max-width: 600px;
    margin-bottom: 25%;
    max-height: 600px;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none; 
}

/* SVG positioning and scaling */
.circular-text-svg {
  position: absolute;
  width: 100%;
  height: 100%;
  transform: rotate(0deg); /* adjust to rotate the text if needed */
  z-index: 2;
  pointer-events: none;
}

/* Text styling */
.circular-text {
  font-size: 1rem;
  font-weight: 600;
  fill: #4e54c8;
  letter-spacing: 1px;
}


/* Update center panel with better responsive sizing */
/* .center-panel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(40vw, 280px);
    height: min(40vw, 280px);
    max-width: 280px;
    max-height: 280px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 1, 0.1);
    border: 3px solid #f1f5f9;
    z-index: 100;
    padding: 1rem;
} */


/* Update center panel with better responsive sizing */
.center-panel {
  position: fixed;
  max-width: 350px !important;
  max-height: 350px !important;
  width: 350px !important;
  height: 350px!important;
  background: white;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'IBM Plex Sans', sans-serif;
  text-align: center;
}


.center-panel.active {
    opacity: 1;
}











/* Institute Button Ranking Animation */
.institute-btn {
    position: absolute;
    width: clamp(30px, 5vw, 50px);
    height: clamp(30px, 5vw, 50px);
    border-radius: 50%;
    background: #ffffff !important;
    border: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 60;
    overflow: hidden;
    
    /* Key animation properties */
    transition: 
        left 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        top 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        opacity 0.5s ease,
        transform 0.3s ease,
        background-color 0.3s ease;
    
    /* Smooth repositioning */
    will-change: left, top, opacity, transform;
}

/* Ranking states */
.institute-btn.ranking-up {
    transform: scale(1.1);
    z-index: 70;
    box-shadow: 0 8px 24px rgba(81, 178, 71, 0.3);
    border-color: #51b247;
}

.institute-btn.ranking-down {
    transform: scale(0.9);
    opacity: 0.7;
    z-index: 50;
}

.institute-btn.hidden {
    opacity: 0;
    transform: scale(0.5);
    pointer-events: none;
}

.institute-btn.visible {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

/* Smooth entrance animation for new top 20 */
.institute-btn.entering {
    animation: enterRanking 0.6s ease-out;
}

@keyframes enterRanking {
    from {
        opacity: 0;
        transform: scale(0.3) rotate(180deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* Smooth exit animation for dropped buttons */
.institute-btn.exiting {
    animation: exitRanking 0.6s ease-in forwards;
}

@keyframes exitRanking {
    from {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
    to {
        opacity: 0;
        transform: scale(0.3) rotate(-180deg);
    }
}







/* -- FILTERS SECTION (YNOS-THEME, WHITE HOVER) -- */
.filters-section {
  width: 100%;
  font-family: 'Montserrat', sans-serif;
  
  margin-bottom: 1rem !important; /* Reduced from mb-4 (1.5rem) */
}

.filter-wrap {
  --round: 12px;
  --gap: 0.6rem;
  --w-label: 180px;
  padding: 0.75rem 1rem;
  background: rgba(81, 178, 71, 0.15); /* Soft green wash */
  border-radius: var(--round);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--gap);
  position: relative;
  margin-bottom: 1.2rem;
}

.filter-wrap input[type="radio"] {
  display: none;
}

.filter-wrap .control-btn,
.filter-wrap .label {
  font-size: 0.95rem;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  padding: 0.85rem 1.4rem;
  border-radius: 12px;
  border: 2px solid #d1d5db;
  background: #ffffff;
  color: #1e293b;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  position: relative;
  transition: all 0.35s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  z-index: 2;
}

/* Hover: WHITE with black text (YNOS-style) */
.filter-wrap .control-btn:hover,
.filter-wrap .label:hover {
  background-color: #ffffff;
  border-color: #51b247;
  color: #000000;
  transform: translateY(-1px);
}

/* Active (Selected or .active) */
.filter-wrap input:checked + .label,
.filter-wrap .control-btn.active {
  background: linear-gradient(135deg, #51b247, #4cae59);
  border-color: #51b247;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(81, 178, 71, 0.3);
}

/* Slide indicator (optional if using radio tabs) */
.filter-wrap .bar,
.filter-wrap .slidebar {
  position: absolute;
  height: calc(100% - 10px);
  width: var(--w-label);
  border-radius: var(--round);
  background: #d1d5db;
  z-index: 1;
  transition: transform 0.4s ease-in-out;
}

/* Transitions (radio-based tab index) */
.rd-1:checked ~ .bar,
.rd-1:checked ~ .slidebar {
  transform: translateX(0%);
}
.rd-2:checked ~ .bar,
.rd-2:checked ~ .slidebar {
  transform: translateX(calc(var(--w-label) + var(--gap)));
}
.rd-3:checked ~ .bar,
.rd-3:checked ~ .slidebar {
  transform: translateX(calc(2 * (var(--w-label) + var(--gap))));
}
.rd-4:checked ~ .bar,
.rd-4:checked ~ .slidebar {
  transform: translateX(calc(3 * (var(--w-label) + var(--gap))));
}

/* Focus accessibility */
.control-btn:focus,
.label:focus {
  outline: 2px solid #51b247;
  outline-offset: 2px;
}

/* Remove underline-yellow animation */
.filter-wrap .control-btn::before,
.filter-wrap .control-btn::after {
  display: none !important;
}






























/* Center panel content */
.center-panel .center-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 1rem;
    object-fit: cover;
    border: 2px solid #e2e8f0;
}

.center-panel .institute-stats {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    width: 100%;
}


.site-wrapper {
  min-width: 1200px;
  margin: 0 auto;
}









/* Responsive text sizing */
#center-icon {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
}

#institute-image {
    width: clamp(40px, 10vw, 80px);
    height: clamp(40px, 10vw, 80px);
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e2e8f0;
    margin-bottom: 1rem;
    opacity: 0;
    transition: all 0.3s ease;
}
#institute-image.visible {
    opacity: 1;
}

#institute-info {
    opacity: 0;
    transition: all 0.3s ease;
}

#institute-info.visible {
    opacity: 1;
}

/* #institute-name {
    font-size: clamp(0.8rem, 2.5vw, 1.1rem);
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.metric {
    font-size: clamp(0.6rem, 1.5vw, 0.8rem);
    color: #64748b;
    margin-bottom: 0.4rem;
    font-weight: 500;
} */

.metric span {
    color: #10b981;
    font-weight: 600;
}




#institute-name {
  font-size: clamp(0.8rem, 2.5vw, 1.1rem);
  font-weight: 800;
  font-family: 'Montserrat', sans-serif;
  color: #002C25; /* Deep green base */
  margin-bottom: 0.75rem;
  line-height: 1.3;
  /* letter-spacing: 0.5px; */
  text-shadow: 0.5px 0.5px rgba(0, 0, 0, 0.03);
}

.metric {
  font-size: clamp(0.6rem, 1.5vw, 0.8rem);
  font-weight: 500;
  color: #475569; /* Slate-like for secondary info */
  margin-bottom: 0.4rem;
  font-family: 'Montserrat', sans-serif;
  /* line-height: 1.6;
  display: flex;
  align-items: center;
  gap: 0.3rem; */
}

.metric span {
  color: #51b247; /* YNOS green accent */
  font-weight: 700;
  font-family: 'IBM Plex Sans', 'IBM Plex Serif', sans-serif;
}


.circular-border {
  margin-bottom: 5rem; /* Increase this value as needed */
}


.institute-layout-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px; /* diameter = 2 * radius */
  height: 500px;
  border-radius: 50%;
  border: 0px dashed #d1d5db; /* light gray dashed ring */
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
  overflow: visible;
}



/* Update institute buttons to stay within border */
.institute-btn {
    position: absolute;
    border-radius: 50%;
    background: var(--institute-color, #e0e7ef);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 60;
    border: 2px solid white;
    overflow: hidden;
    /* Responsive size based on sphere size */
    width: calc(8vw + 16px);
    height: calc(8vw + 16px);
    min-width: 40px;
    min-height: 40px;
    max-width: 80px;
    max-height: 80px;
}

.institute-btn .institute-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: opacity 0.3s ease;
    will-change: transform, opacity;
    transform-origin: center;
}


.institute-label-svg {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 50;
    width: 100%;
    height: 100%;
}

.institute-label {
    font-size: clamp(8px, 1.2vw, 14px);
    font-weight: 600;
    fill: #64748b;
    font-family: 'Inter', 'Monaco', 'Courier New', monospace;
    letter-spacing: 1px;
}

.direction-indicator {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 55;
}

.floating-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    pointer-events: none;
}

.floating-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.footer {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    text-align: center;
    color: #64748b;
    font-size: 0.875rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 2rem;
}

.tip {
    font-size: clamp(0.8rem, 1.8vw, 0.98rem);
    color: #64748b;
    line-height: 1.6;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid #10b981;
}

.tip b {
    color: #10b981;
}

/* Focus state for accessibility */
.control-btn:focus, .institute-btn:focus {
    outline: 2px solid #10b981;
    outline-offset: 2px;
}

/* Responsive main padding for extra small screens
@media (max-width: 480px) {
    main {
        padding: 0.5rem;
    }
} */



@media (max-width: 1200px) {
    main {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    aside {
        position: static;
    }

    .dashboard {
        height: 600px;
    }

    .circular-border {
        width: 500px;
        height: 500px;
    }

    .center-panel {
        width: 240px;
        height: 240px;
    }
}
/* Update the dashboard container */
.dashboard {
    position: relative;
    /* background: white; */
    width: 100%;
    max-width: 600px;
    height: 600px;
    margin: 0 auto;
    aspect-ratio: 1/1;
}

/* Update circular border to be responsive */
.circular-border {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(90vw, 600px);
    height: min(90vw, 600px);
    max-width: 600px;
    max-height: 600px;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* Update center panel with better responsive sizing */
.center-panel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(40vw, 280px);
    height: min(40vw, 280px);
    max-width: 280px;
    max-height: 280px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 1, 0.1);
    border: 3px solid #f1f5f9;
    z-index: 100;
    padding: 1rem;
}

/* Responsive text sizing */
#center-icon {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
}

#institute-image {
    width: clamp(40px, 10vw, 80px);
    height: clamp(40px, 10vw, 80px);
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e2e8f0;
    margin-bottom: 1rem;
    opacity: 0;
    transition: all 0.3s ease;
}

#institute-name {
    font-size:  clamp(0.8rem, 2.5vw, 1.1rem);
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    
}
       /* Swiper Slides */
.category-carousel .swiper-slide {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.category-carousel .swiper-slide:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

/* Slide Images */
.category-carousel img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

/* Navigation Buttons Container */
.swiper-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* Navigation Button Base */
.btn-nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(145deg, #51b247, #4cae59);
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(81, 178, 71, 0.25);
  transition: all 0.3s ease;
}

.btn-nav:hover {
  background: #ffffff;
  color: #1e1e2b;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transform: scale(1.05);
}

/* Active (Click) Effect */
.btn-nav:active {
  transform: scale(0.94);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.metric {
    font-size: clamp(0.6rem, 1.5vw, 0.8rem);
    color: #64748b;
    margin-bottom: 0.4rem;
    font-weight: 500;
}












.category-carousel img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #233903;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.category-carousel .swiper-slide:hover img {
  border-color: #51b247;
  transform: scale(1.05);
}











/* Update institute buttons to stay within border */
.institute-btn {
    position: absolute;
    width: clamp(30px, 5vw, 50px);
    height: clamp(30px, 5vw, 50px);
    border-radius: 50%;
    background: #ffffff !important;
    border: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.6s ease-in-out;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 60;
    overflow: hidden;
}

/* Responsive media queries */
@media (max-width: 768px) {

    .dashboard {
        height: min(80vw, 500px);
    }
    
    .circular-border {
        width: min(80vw, 400px);
        height: min(80vw, 400px);
    }
    
    .center-panel {
        width: min(35vw, 200px);
        height: min(35vw, 200px);
        padding: 0.5rem;
    }
}



@media (max-width: 1000px) {
            /* Override the viewport to force desktop view */
            html {
                min-width: 1200px;
                zoom: 0.4; /* Scale down the entire page */
                -moz-transform: scale(0.4);
                -moz-transform-origin: 0 0;
                -webkit-transform: scale(0.4);
                -webkit-transform-origin: 0 0;
                transform: scale(0.4);
                transform-origin: 0 0;
                zoom: 0.6; /* Scale down entire page */

            }

body {
                width: 250%; /* Compensate for the scaling */
                overflow-x: auto; /* Allow horizontal scrolling if needed */
            }
        }











@media (max-width: 425px) {



        .center-panel {
        width: min(45vw, 220px);
        height: min(45vw, 220px);
        padding: 0.8rem;
    }

        #institute-name {
        font-size: 1rem; /* Slightly smaller than desktop but still readable */
        margin-bottom: 0.5rem;
            word-wrap: break-word;
    overflow-wrap: break-word;
    }
        .metric {
        font-size: 0.8rem; /* Slightly smaller than desktop but still readable */
        margin-bottom: 0.3rem;
    }

    .dashboard {
        height: min(70vw, 350px);
    }
    
    .circular-border {
        width: min(70vw, 300px);
        height: min(70vw, 300px);
    }
    
    .center-panel {
        width: min(30vw, 150px);
        height: min(30vw, 150px);
        padding: 0.25rem;
    }
}

/* Responsive Design */
@media (max-width: 991px) {
  .dashboard-sidebar {
    position: static;
    margin-bottom: 2rem;
  }
  
  .dashboard {
    width: 95vw;
    height: 95vw;
    max-width: 98vw;
    max-height: 98vw;
    min-width: 180px;
    min-height: 180px;
  }
  
  .circular-border {
    max-width: 400px;
    max-height: 400px;
  }
  
  .center-panel {
    width: 240px;
    height: 240px;
  }
  
  .sidebar-title {
    font-size: 1.75rem;
  }
  
  .institute-btn {
    width: calc(12vw + 8px);
    height: calc(12vw + 8px);
    min-width: 32px;
    min-height: 32px;
    max-width: 60px;
    max-height: 60px;
  }
  
  .institute-label {
    font-size: clamp(7px, 1.5vw, 12px);
  }
}





@media (max-width: 600px) {
  .dashboard {
    width: 99vw;
    height: 99vw;
    min-width: 120px;
    min-height: 120px;
  }
  .institute-btn {
    width: calc(16vw + 4px);
    height: calc(16vw + 4px);
    min-width: 24px;
    min-height: 24px;
    max-width: 40px;
    max-height: 40px;
  }
  .institute-label {
    font-size: clamp(6px, 2vw, 10px);
  }
}