/* =========================================
   SCHOOL BASE – COMMON STRUCTURE
   Used by ALL school pages
========================================= */

/* ===============================
   HERO (COMMON TEXT STYLES)
================================ */

.school-hero{
    padding: 110px 0 90px;
    color: #fff;
    text-align: center;
}

.school-hero .gmrit-title{
    font-size: 44px;
    margin-bottom: 10px;
}

.school-hero .hero-subtitle{
    font-size: 18px;
    opacity: 0.9;
    max-width: 720px;
    margin: 0 auto;
}

/* ===============================
   SCHOOL TABS
================================ */

.school-tabs-wrapper{
    background:#ffffff;
    border-bottom:1px solid #e5e5e5;
}

.school-tabs{
    list-style:none;
    display:flex;
    justify-content:center;
    gap:32px;
    padding:18px 0;
    margin:0;
    flex-wrap:wrap;
}

.school-tabs li{
    font-weight:600;
    color:var(--school-primary);
    cursor:pointer;
    position:relative;
    padding-bottom:6px;
    transition:color .25s ease;
}

.school-tabs li::after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:0;
    height:3px;
    background:var(--school-accent);
    transition:width .3s ease;
}

.school-tabs li.active,
.school-tabs li:hover{
    color:var(--school-accent);
}

.school-tabs li.active::after,
.school-tabs li:hover::after{
    width:100%;
}

/* ===============================
   TAB CONTENT
================================ */

.school-tab-content{
    padding:60px 0;
}

.tab-pane{
    display:none;
    width:100%;
}

.tab-pane.active{
    display:block;
    animation: fadeUp .35s ease;
}

/* ===============================
   ABOUT / HIGHLIGHT BOX
================================ */

.highlight-box{
    background:#fff;
    border-left:5px solid var(--school-highlight);
    border-radius:12px;
    padding:28px 26px;
    box-shadow:0 10px 30px rgba(0,0,0,.12);
}

.highlight-box h5{
    font-weight:700;
    color:var(--school-primary);
    margin-bottom:14px;
}

.highlight-box ul{
    padding-left:18px;
    margin:0;
}

.highlight-box li{
    margin-bottom:10px;
    font-weight:500;
    color:#444;
}

/* ===============================
   SECTION BACKGROUND
================================ */

.school-section{
    background:linear-gradient(
        180deg,
        var(--school-light),
        #ffffff
    );
}

/* ===============================
   DEPARTMENT CARDS
================================ */

.school-card{
    background:#ffffff;
    border-radius:16px;
    padding:34px 28px;
    height:100%;
    text-align:center;
    box-shadow:0 8px 24px rgba(0,0,0,.1);
    transition:all .35s ease;
    position:relative;
    overflow:hidden;
}

.school-card::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:4px;
    background:linear-gradient(
        to right,
        var(--school-primary),
        var(--school-highlight)
    );
    opacity:0;
    transition:opacity .3s ease;
}

.school-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 45px rgba(0,0,0,.18);
}

.school-card:hover::before{
    opacity:1;
}

.school-card .icon{
    font-size:38px;
    color:var(--school-primary);
    margin-bottom:16px;
    transition:transform .35s ease,color .35s ease;
}

.school-card:hover .icon{
    transform:scale(1.15);
    color:var(--school-highlight);
}

.school-card h5{
    font-weight:700;
    margin-bottom:10px;
    color:var(--school-primary);
}

.school-card p{
    font-size:14.8px;
    color:#555;
    line-height:1.6;
}

/* =========================
PROGRAMS SECTION
========================= */

.programs-section{
background:linear-gradient(135deg,#f6f9ff,#eef3fb);
}

/* CARD */

.program-card{
background:#ffffff;
padding:30px;
border-radius:14px;
box-shadow:0 10px 30px rgba(0,0,0,0.08);
transition:all .35s ease;
border-top:5px solid #1b75bc;
display:flex;
flex-direction:column;
position:relative;
overflow:hidden;
}

/* hover lift */

.program-card:hover{
transform:translateY(-10px);
box-shadow:0 20px 45px rgba(0,0,0,0.15);
}

/* gradient overlay */

.program-card::before{
content:"";
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:linear-gradient(120deg,#1b75bc,#00a8ff);
opacity:0;
transition:.4s;
}

.program-card:hover::before{
opacity:0.05;
}

/* ICON */

.program-icon{
width:55px;
height:55px;
border-radius:12px;
background:#1b75bc;
display:flex;
align-items:center;
justify-content:center;
color:white;
font-size:24px;
margin-bottom:15px;
}

/* TITLE */

.program-title{
font-size:20px;
font-weight:700;
color:#003366;
margin-bottom:10px;
}

/* DESCRIPTION */

.program-desc{
font-size:14px;
color:#555;
line-height:1.6;
flex-grow:1;
}

/* META */

.program-meta{
font-size:13px;
color:#777;
margin-top:10px;
}

/* LINK */

.program-link{
margin-top:12px;
font-weight:600;
color:#1b75bc;
font-size:14px;
}
/* ===============================
   RESEARCH BOXES
================================ */

.research-box{
    background:linear-gradient(135deg,#ffffff,#f2f6fb);
    border-radius:14px;
    padding:24px;
    font-weight:600;
    color:var(--school-primary);
    text-align:center;
    box-shadow:0 8px 22px rgba(0,0,0,.1);
    transition:all .3s ease;
}

.research-box:hover{
    background:linear-gradient(
        135deg,
        var(--school-primary),
        #1f2a6b
    );
    color:#fff;
    transform:translateY(-6px);
}

/* ===============================
   LEADERSHIP CARDS
================================ */

.leader-card{
    background:#fff;
    border-radius:14px;
    padding:26px;
    box-shadow:0 10px 28px rgba(0,0,0,.12);
    transition:all .3s ease;
}

.leader-card h5{
    font-weight:700;
    color:var(--school-primary);
    margin-bottom:6px;
}

.leader-card p{
    font-size:14.5px;
    color:#555;
}

.leader-card:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 40px rgba(0,0,0,.18);
}

/* ===============================
   ANIMATIONS
================================ */

@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(16px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width:768px){

    .school-hero{
        padding:80px 0 70px;
    }

    .school-hero .gmrit-title{
        font-size:30px;
    }

    .school-hero .hero-subtitle{
        font-size:15.5px;
    }

    .highlight-box{
        margin-top:10px;
    }
}
.leader-card {
  background: #fff;
  border-radius: 12px;
}

.leader-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
}
.leader-row {
  background: #ffffff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.leader-photo {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
}

.leader-content h4 {
  font-weight: 600;
}

@media (max-width: 768px) {
  .leader-row {
    text-align: center;
  }

  .leader-content {
    margin-top: 20px;
  }

  .leader-content,
  .text-md-end {
    text-align: center !important;
  }
}
.leader-content .btn {
  padding: 8px 20px;
  border-radius: 20px;
}
.section-strip {
  width: 100%;
}

.light-strip {
  background-color: #f8f9fa;
}

/* Ensure containers stay centered */
.section-strip > .container {
  max-width: 1140px;
}
/* TRUE FULL-WIDTH STRIPS */
.full-strip {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}



/* Leadership color */
.leadership-strip {
  background-color: #f7f7f7; /* neutral light grey */
}

/* Cards stay white */
.full-strip .card,
.leader-row {
  background: #ffffff;
  
}
.leader-content p {
  text-align: left;
}
.card ul {
  padding-left: 1.2rem;
}

.card ul li {
  margin-bottom: 8px;
}
.dept-quick-links {
  position: sticky;
  top: 80px; /* below header */
  z-index: 10;
}
/* ===== Department Popup ===== */
.dept-modal-body {
  min-height: 60vh;          /* 👈 fixes blank look */
  max-height: 70vh;          /* 👈 scroll limit */
  overflow-y: auto;          /* 👈 enable scrollbar */
  padding: 30px;
}

/* Make scrollbar subtle */
.dept-modal-body::-webkit-scrollbar {
  width: 6px;
}
.dept-modal-body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}
.dept-modal-body > * {
  animation: fadeIn .25s ease-in;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: none; }
}
.modal-header {
  background: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
}

.modal-title {
  font-weight: 600;
}
.modal-body h6 {
  margin-top: 20px;
  letter-spacing: 0.2px;
}
.modal-body .btn {
  min-width: 110px;
}
.modal-body p {
  line-height: 1.6;
}/* SDG popup list */
.modal-body .list-group-item {
  padding: 14px 16px;
  border-radius: 8px;
  margin-bottom: 8px;
}
/* ===== Department Popup – Global ===== */
.modal-content {
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,.15);
  border: 0;
}
/* ===== Department Popup – Global ===== */
.modal-content {
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,.15);
  border: 0;
}
.dept-modal-body {
  min-height: 60vh;
  max-height: 70vh;
  overflow-y: auto;
  padding: 30px;
  background: #fff;
}
.dept-modal-body h5 {
  font-weight: 600;
  margin-bottom: 24px;
}

.dept-modal-body h6 {
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 12px;
  letter-spacing: .2px;
}
.dept-modal-body .btn {
  min-width: 110px;
  border-radius: 8px;
}
.dept-modal-body p {
  line-height: 1.6;
  color: #4b5563;
}
.dept-modal-body .list-group-item {
  border-radius: 10px;
  margin-bottom: 8px;
  border: 1px solid #e5e7eb;
}
.spinner-border {
  width: 3rem;
  height: 3rem;
}
.dept-modal-body h5 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 28px;
  margin-bottom: 14px;
  color: #1f2937;
  border-left: 4px solid #2563eb;
  padding-left: 10px;
}
.school-card {
  transition: transform .2s ease, box-shadow .2s ease;
}

.school-card.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,.12);
}
/* ===== Department Breadcrumb Bar ===== */
.dept-breadcrumb-bar {
  background: #0d2c6c; /* dark university blue */
  padding: 8px 0;
}

.dept-breadcrumb {
  font-size: 0.9rem;
  color: #fff;
}

.dept-breadcrumb a {
  color: #dbe7ff;
  text-decoration: none;
}

.dept-breadcrumb a:hover {
  text-decoration: underline;
}

.dept-breadcrumb span {
  margin: 0 6px;
}

.dept-breadcrumb .current {
  color: #ffffff;
  font-weight: 600;
}
/* Program card hover */
.program-box {
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  padding: 24px;
  background: #fff;
  transition: all 0.25s ease;
}

.program-box.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
  border-color: #0d2c6c;
}
/* ===============================
   PROGRAM HERO
================================ */
.program-hero {
  background:
    linear-gradient(rgba(13,44,108,.65), rgba(13,44,108,.65)),
    url('../images/default-program-banner.jpg') center/cover no-repeat;
  padding: 110px 0;
  color: #fff;
}

.program-hero .hero-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* ===============================
   PROGRAM META STRIP
================================ */
.program-meta-strip {
  background: #f6f8fc;
  padding: 16px 0;
  border-bottom: 1px solid #e5eaf5;
}

.meta-pill {
  background: #0d2c6c;
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* ===============================
   CONTENT CARD
================================ */
.content-card {
  background: #fff;
  padding: 40px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}
.program-hero {
  padding: 120px 0;
  color: #fff;
  text-align: center;
}
.program-hero .hero-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
}

.program-level-heading{
border-left:5px solid #1b75bc;
padding-left:12px;
font-size:22px;
}
.school-card,
.program-box,
.leader-row{
transition:all .35s ease;
}

.school-card:hover,
.program-box:hover{
transform:translateY(-8px);
box-shadow:0 20px 40px rgba(0,0,0,0.1);
}


/* =========================
LEADERSHIP SECTION
========================= */

.leadership-section{
background:#f8fbff;
}

/* PHOTO CARD */

.leader-photo-card{
position:relative;
display:inline-block;
border-radius:14px;
overflow:hidden;
box-shadow:0 15px 35px rgba(0,0,0,0.1);
transition:all .35s ease;
}

.leader-photo{
width:100%;
max-width:280px;
border-radius:14px;
transition:transform .4s ease;
}

.leader-photo-card:hover .leader-photo{
transform:scale(1.07);
}

/* CONTENT */

.leader-content{
background:#fff;
padding:30px;
border-radius:14px;
box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

/* NAME */

.leader-name{
font-size:22px;
font-weight:700;
color:#003366;
margin-bottom:5px;
}

/* DESIGNATION */

.leader-designation{
color:#f15a24;
font-weight:600;
margin-bottom:15px;
}

/* MESSAGE */

.leader-message{
color:#555;
line-height:1.7;
text-align:justify;
}

/* BUTTON */

.leader-btn{
display:inline-block;
margin-top:15px;
padding:8px 18px;
border:2px solid #1b75bc;
color:#1b75bc;
text-decoration:none;
border-radius:6px;
font-weight:600;
transition:.3s;
}

.leader-btn:hover{
background:#1b75bc;
color:#fff;
}

/* ROW SPACING */

.leader-row{
margin-bottom:60px;
}


/* =========================
LEADERSHIP SECTION
========================= */

.leadership-strip{
background:linear-gradient(135deg,#f6f9ff,#eef3fb);
}

/* leader row spacing */

.leader-row{
margin-bottom:70px;
}

/* leader photo */

.leader-photo{
width:100%;
max-width:260px;
border-radius:14px;
box-shadow:0 15px 35px rgba(0,0,0,0.15);
transition:transform .4s ease, box-shadow .4s ease;
}

.leader-photo:hover{
transform:scale(1.05);
box-shadow:0 20px 45px rgba(0,0,0,0.25);
}

/* content card */

.leader-content{
background:#ffffff;
padding:30px;
border-radius:14px;
box-shadow:0 10px 30px rgba(0,0,0,0.08);
border-left:5px solid #1b75bc;
transition:all .35s ease;
}

.leader-content:hover{
transform:translateY(-6px);
}

/* leader name */

.leader-content h4{
font-size:22px;
font-weight:700;
color:#003366;
}

/* designation */

.leader-content .text-muted{
color:#f15a24 !important;
font-weight:600;
margin-bottom:15px;
}

/* message */

.leader-content p{
line-height:1.7;
color:#555;
text-align:justify;
}

/* button */

.leader-content .btn{
border-radius:6px;
padding:6px 16px;
font-weight:600;
transition:all .3s;
}

.leader-content .btn:hover{
background:#1b75bc;
color:#fff;
border-color:#1b75bc;
}
/* ========================
DEPARTMENTS SECTION
======================== */

.departments-section{
background:linear-gradient(135deg,#f8fbff,#eef3fb);
}

/* CARD */

.dept-card{
background:#fff;
padding:30px;
border-radius:14px;
box-shadow:0 10px 30px rgba(0,0,0,0.08);
transition:all .35s ease;
position:relative;
overflow:hidden;
border-top:5px solid #1b75bc;
display:flex;
flex-direction:column;
}

/* hover animation */

.dept-card:hover{
transform:translateY(-10px);
box-shadow:0 20px 45px rgba(0,0,0,0.15);
}

/* gradient hover overlay */

.dept-card::before{
content:"";
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:linear-gradient(120deg,#1b75bc,#00a8ff);
opacity:0;
transition:.4s;
z-index:0;
}

.dept-card:hover::before{
opacity:0.05;
}

/* ICON */

.dept-icon{
width:55px;
height:55px;
border-radius:12px;
background:#1b75bc;
display:flex;
align-items:center;
justify-content:center;
color:white;
font-size:24px;
margin-bottom:15px;
}

/* TITLE */

.dept-title{
font-size:20px;
font-weight:700;
color:#003366;
margin-bottom:10px;
}

/* DESCRIPTION */

.dept-desc{
font-size:14px;
line-height:1.6;
color:#555;
flex-grow:1;
}

/* LINK */

.dept-link{
font-size:14px;
font-weight:600;
color:#1b75bc;
margin-top:10px;
display:inline-block;
}
/* =============================
VISION & MISSION SECTION
============================= */

.vision-mission-section{
background:linear-gradient(135deg,#f8fbff,#eef3fb);
}

/* CARD */

.vm-card{
background:#fff;
padding:32px;
border-radius:14px;
box-shadow:0 10px 30px rgba(0,0,0,0.08);
transition:all .35s ease;
height:100%;
}

.vm-card:hover{
transform:translateY(-8px);
box-shadow:0 20px 40px rgba(0,0,0,0.12);
}

/* HEADER */

.vm-header{
display:flex;
align-items:center;
gap:12px;
margin-bottom:18px;
}

.vm-header i{
font-size:24px;
}

.vm-header h3{
margin:0;
font-weight:700;
color:#003366;
}

/* VISION COLOR */

.vision-card{
border-top:5px solid #1b75bc;
}

.vision-card .vm-header i{
color:#1b75bc;
}

/* MISSION COLOR */

.mission-card{
border-top:5px solid #f15a24;
}

.mission-card .vm-header i{
color:#f15a24;
}

/* TEXT */

.vm-card p{
text-align:justify;
line-height:1.7;
color:#555;
}

/* MISSION LIST */

.vm-card ul{
padding-left:0;
list-style:none;
}

.vm-card li{
display:flex;
gap:10px;
margin-bottom:10px;
text-align:justify;
line-height:1.7;
color:#555;
}

.vm-card li i{
color:#1b75bc;
margin-top:4px;
font-size:14px;
}
.vm-card::after{
content:"";
position:absolute;
right:-20px;
bottom:-20px;
font-size:120px;
opacity:0.03;
}
.program-infographic-section{
background:#f8fbff;
}

/* layout */

/* Section Container */
.program-infographic-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

/* Left Circular Structure */
.main-category-circle {
    position: relative;
    width: 220px;
    height: 220px;
    flex-shrink: 0;
}

.inner-circle {
    width: 100%;
    height: 100%;
    background: #ffcc99; /* Matches your peach color */
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 2;
    position: relative;
}

.inner-circle span {
    font-size: 2.5rem;
    font-weight: 800;
    color: #333;
    line-height: 1;
}

.inner-circle small {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

/* The Black Arc Line */
.arc-divider {
    position: absolute;
    right: -25px;
    top: 10%;
    height: 80%;
    width: 60px;
    border-right: 12px solid #222; /* Matches the black curved bar */
    border-radius: 0 150px 150px 0;
    z-index: 1;
}

/* Right Side Pills */
.program-pills-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex-grow: 1;
}

.infographic-pill-item {
    display: flex;
    align-items: center;
    text-decoration: none !important;
    transition: transform 0.3s ease;
}

.infographic-pill-item:hover {
    transform: translateX(10px);
}

.pill-number {
    width: 45px;
    height: 45px;
    background: #fff5eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #888;
    margin-right: -20px; /* Overlap effect */
    z-index: 3;
    border: 1px solid #eee;
}

.pill-content {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 50px;
    padding: 10px 25px 10px 35px;
    display: flex;
    align-items: center;
    width: 100%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.pill-icon {
    margin-right: 15px;
    font-size: 1.2rem;
    color: #333; /* You can change colors based on $index */
}

.pill-text {
    font-weight: 600;
    color: #444;
    font-size: 0.95rem;
}

/* Responsive for Mobile */
@media (max-width: 768px) {
    .program-infographic-wrapper {
        flex-direction: column;
    }
    .arc-divider { display: none; }
}
/* 1. Resetting the Main Circle to GMR Colors based on Program Type */

/* For UG Programs - Navy Blue */
.program-infographic-wrapper:nth-of-type(1) .inner-circle {
    background-color: #003974 !important;
}
.program-infographic-wrapper:nth-of-type(1) .type-label,
.program-infographic-wrapper:nth-of-type(1) .type-sub {
    color: #ffffff !important;
}

/* For PG Programs - Red */
.program-infographic-wrapper:nth-of-type(2) .inner-circle {
    background-color: #ED1C24 !important;
}
.program-infographic-wrapper:nth-of-type(2) .type-label,
.program-infographic-wrapper:nth-of-type(2) .type-sub {
    color: #ffffff !important;
}

/* For PhD Programs - Orange/Yellow */
.program-infographic-wrapper:nth-of-type(3) .inner-circle {
    background-color: #FAAB53 !important;
}
.program-infographic-wrapper:nth-of-type(3) .type-label,
.program-infographic-wrapper:nth-of-type(3) .type-sub {
    color: #ffffff !important;
}

/* 2. Styling the Text inside the Circles */
.inner-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.type-label {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
}

.type-sub {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    font-size: 0.75rem;
    opacity: 0.9;
}

/* 3. Keeping the Arc Divider consistent with your screenshot */
.arc-divider {
    border-right: 12px solid #222 !important; /* Keeping it black as per original image */
}
/* Update text inside the main circles to white */
.inner-circle .type-label {
    color: #ffffff !important;
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
    margin: 0;
}

.inner-circle .type-sub {
    color: rgba(255, 255, 255, 0.9) !important; /* Slightly transparent white for a modern look */
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    font-size: 0.75rem;
}

/* Optional: If you want the pill numbers to stay gray but the circle labels white */
.pill-number {
    color: #888 !important; /* Keeps the numbers 01, 02, etc., as per original style */
}