/* =========================================
   iistudent.css  (put in css/iistudent.css)
   Uses your variables: --navy, --gold, --transition (fallbacks included)
   The banner CSS (.page-banner ...) stays in your global stylesheet.
   ========================================= */

:root{
  --iv-navy: var(--navy, #0b2352);
  --iv-gold: var(--gold, #e1a80b);
  --iv-line: #eceef3;
  --iv-text: #5a6272;
}

/* ---------- Layout (content left, sidebar right) ---------- */
.ivisit-section{
  padding: 40px 0 60px;
  background: #f7f8fb;
}

.ivisit-layout{
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 30px;
  align-items: start;
}

/* ---------- Sidebar menu ---------- */
.ivisit-sidebar{
  position: sticky;
  top: 20px;
}

.sidebar-menu{
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,.05);
}

.sidebar-menu h3{
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 20px;
  background: var(--iv-navy);
  margin: 0;
}

.sidebar-menu ul{
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-menu ul li a{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  color: var(--iv-navy);
  font-size: 14px;
  font-weight: 500;
  background: #fff;
  border-top: 1px solid #f0f0f0;
  text-decoration: none;
  transition: background var(--transition, .2s), color var(--transition, .2s);
}

.sidebar-menu ul li a i:first-child{
  color: var(--iv-navy);
  width: 18px;
  text-align: center;
}

.sidebar-menu ul li a:hover{
  background: #f5f7fb;
}

.sidebar-menu ul li.active a{
  background: var(--iv-navy);
  color: var(--iv-gold);
  font-weight: 700;
}

.sidebar-menu ul li.active a i:first-child{ color: var(--iv-gold); }

.sidebar-menu ul li a .arrow{
  margin-left: auto;
  font-size: 11px;
  color: var(--iv-gold);
}

/* ---------- "Global Collaboration" box ---------- */
.collab-box{
  background: #eaf0fa;
  border-radius: 10px;
  padding: 22px 22px 24px;
}

.collab-icon{
  font-size: 34px;
  color: var(--iv-navy);
  margin-bottom: 10px;
}

.collab-box h4{
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--iv-navy);
}

.collab-box p{
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--iv-text);
}

.collab-btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--iv-navy);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 20px;
  transition: background .2s, color .2s;
}

.collab-btn:hover{
  background: var(--iv-gold);
  color: var(--iv-navy);
}

/* ---------- Content ---------- */
.ivisit-cover{
  height: 92px;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
}

.ivisit-cover img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ivisit-heading{
  margin: 14px 0 14px;
  font-size: 30px;
  font-weight: 700;
  color: var(--iv-navy);
}

.year-block{
  background: #fff;
  border: 1px solid var(--iv-line);
  border-radius: 10px;
  padding: 18px 22px 22px;
  margin-bottom: 22px;
  box-shadow: 0 6px 18px rgba(0,0,0,.04);
}

/* Year title with gold lines on both sides */
.year-title{
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.year-title h3{
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: var(--iv-gold);
}

.year-line{
  flex: 1;
  height: 1px;
  background: var(--iv-gold);
}

/* Two-column staff list */
.staff-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 30px;
}

.staff-item{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 8px;
  border-radius: 8px;
  transition: background .2s;
}

.staff-item:hover{ background: #f5f7fb; }

.staff-avatar{
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e6ecf6;
  color: var(--iv-navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.staff-info h4{
  margin: 0 0 3px;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--iv-navy);
}

.staff-info p{
  margin: 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--iv-text);
}

/* ================= PAGE BANNER ================= */


.page-banner {
    position: relative;
    width: 100%;
    height: 315px;
    overflow: hidden;
    background: #0b2352;
}

.banner-flex {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 1300px;
    margin: 0 auto;
}


/* =========================
   FULL HERO IMAGE
========================= */

.banner-media {
    position: absolute;
    top: 0;
    right: 0;
    width: 82%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.banner-photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}


/* =========================
   LEFT DARK / BLURRED AREA
========================= */

.banner-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 45%;
    height: 100%;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 40px 40px 70px;
    background: rgba(11, 35, 82, 0.88);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}


/* Slanted transition */

.banner-text::after {
    content: "";
    position: absolute;
    top: 0;
    right: -100px;
    width: 150px;
    height: 100%;
    background: rgba(11, 35, 82, 0.88);
    clip-path: polygon(
        35% 0,
        100% 0,
        65% 100%,
        0 100%
    );
    backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
    z-index: -1;
}


/* =========================
   TITLE
========================= */

.banner-text h1 {
    margin: 0 0 22px 0;
    color: #ffffff;
    font-size: 36px;
    line-height: 1.35;
    font-weight: 800;
    letter-spacing: 1px;
}


/* =========================
   BREADCRUMB
========================= */

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 14px;
}

.breadcrumb a {
    color: #ffffff;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #e1a80b;
}

.breadcrumb .sep {
    color: #ffffff;
}

.breadcrumb .current {
    color: #e1a80b;
    font-weight: 600;
}

.banner-subtitle {
    color: #ffffff !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px){
  .ivisit-layout{ grid-template-columns: 1fr; }
  .ivisit-sidebar{ position: static; }
}

@media (max-width: 640px){
  .staff-list{ grid-template-columns: 1fr; }
  .year-block{ padding: 16px; }
  .year-title h3{ font-size: 22px; }
  .ivisit-heading{ font-size: 24px; }
}