:root{
    --brand-900:#0b1f3a;    /* deep blue */
    --brand-700:#123a66;
    --accent:#1aa37a;       /* eco teal/green */
    --lightyellow:#fce49a;       /* eco teal/green */
    --lightgreen:#70dfbe;       /* eco teal/green */
    --soft:#f5f7fb;
    --text:#0f172a;
    --muted:#64748b;
    --card:#ffffff;
    --stroke:rgba(15,23,42,.08);
    --shadow: 0 10px 30px rgba(2,6,23,.08);
    --radius: 18px;
  }
  /* Ensure Bootstrap Icons render */
  .bi{
  font-family: "bootstrap-icons" !important;
  font-style: normal !important;
  font-weight: normal !important;
  display: inline-block;
  line-height: 1;
  }
  .icon-badge{
  color: var(--brand-700);
  }

  p {font-size: 13px;}

  body{
    font-family: system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
    color: var(--text);
    background: #fff;
  }

  /* Utility topbar */
  .topbar{
    background: var(--brand-900);
    color: rgba(255,255,255,.85);
    font-size: .9rem;
  }
  .topbar a{ color: rgba(255,255,255,.85); text-decoration: none; }
  .topbar a:hover{ color:#fff; }

  /* Navbar */
  .navbar{
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--stroke);
  }
  .navbar-brand{
    font-weight: 800;
    letter-spacing: .2px;
    color: var(--brand-900) !important;
  }
  .nav-link{
    color: rgba(15,23,42,.78) !important;
    font-weight: 600;
  }
  .nav-link:hover{ color: var(--brand-700) !important; }
  /* Make pill buttons perfectly centered */
  .btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  line-height: 1;              /* fixes text sitting high */
  padding: .75rem 1.25rem;     /* consistent vertical rhythm */
  min-height: 46px;            /* consistent height */
  border-radius: 999px;
  }
  .btn-brand{
  background: var(--brand-900);
  border: none;
  color:#fff;
  font-weight: 700;
  border-radius: 999px;
  padding: .65rem 1rem;
  box-shadow: 0 8px 18px rgba(11,31,58,.18);
  }
  .btn-brand:hover{ background: #08172b; color:#fff; }
  .btn-accent{
  background: var(--accent);
  border: 1px solid transparent;
  color:#fff;
  font-weight: 500;
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
  box-shadow: 0 10px 20px rgba(26,163,122,.18);
  border-radius: 25px;
  }

  .btn-accent:hover,
  .btn-accent:focus{
  background: #168d6a; /* slightly darker, looks premium */
  color:#fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(26,163,122,.24);
  }
  .btn-accent:active{
  transform: translateY(0);
  background: #137a5c;
  }
  /* Outline button: keep text centered */
  .btn-outline-secondary{
  transition: background .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
  }
  .btn-outline-secondary:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(2,6,23,.08);
  }

  .dept-header {
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid var(--stroke);
  }
  .dept-header .brand-row{
  padding: 14px 0;
  }
  .brand-left{
  display:flex;
  align-items:center;
  gap:14px;
  }
  .logo-seal{
  width: 62px;
  height: 62px;
  object-fit: contain;
  }
  .logo-iit60{
  width: 92px;
  height: 62px;
  object-fit: contain;
  }
  .dept-title{
  line-height: 1.15;
  }
  .dept-title .inst{
  font-size: .75rem;
  color: rgba(15,23,42,.65);
  font-weight: 700;
  }
  .dept-title .dept{
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -.3px;
  color: var(--brand-900);
  }
  .dept-nav{
  border-top: 1px solid var(--stroke);
  background: rgba(245,247,251,.6);
  }
  .dept-nav .nav-link{
  padding: .9rem .85rem;
  font-weight: 700;
  font-size: 13px;
  }
  .dept-nav .nav-link.active{
  color: var(--brand-900) !important;
  position: relative;
  }
  .dept-nav .nav-link.active::after{
  content:"";
  position:absolute;
  left:.85rem;
  right:.85rem;
  bottom:.35rem;
  height:2px;
  background: var(--accent);
  border-radius: 999px;
  }
  .search-wrap{
  min-width: 320px;
  }
  .search-wrap .form-control{
  border-radius: 999px 0 0 999px;
  border-right: 0;
  line-height: 1.2;
  font-size: 13px;
  }
  .search-wrap .btn{
  border-radius: 0 999px 999px 0;
  line-height: 1.2;
  font-size: 13px;
  }
  @media (max-width: 991px){
  .search-wrap{ min-width: 100%; }
  .logo-iit60{ width: 80px; }
  .dept-title .dept{ font-size: 1.25rem; }
  }

  /* Hero */
  .hero{
    position: relative;
    background:
      radial-gradient(1200px 500px at 10% 20%, rgba(26,163,122,.12), transparent 60%),
      radial-gradient(1200px 500px at 90% 10%, rgba(18,58,102,.10), transparent 60%),
      linear-gradient(180deg, #ffffff 0%, var(--soft) 100%);
    padding: 72px 0 48px;
    overflow: hidden;
  }
  .hero h1{
    font-weight: 700;
    letter-spacing: -.6px;
    line-height: 1.08;
    color: var(--brand-900);
    font-size: 24px;
  }
  .hero p{
    color: var(--muted);
    font-size: .85rem;
  }
  .hero-card{
    background: rgba(255,255,255,.92);
    border: 1px solid var(--stroke);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
  }
  .hero-card .banner{
    height: 140px;
    background:
      linear-gradient(90deg, rgba(11,31,58,.92), rgba(26,163,122,.88)),
      url('https://images.unsplash.com/photo-1520607162513-77705c0f0d4a?auto=format&fit=crop&w=1200&q=60');
    background-size: cover;
    background-position: center;
  }

  /* Visual Banner Section */
  .visual-banner {
    padding: 0;
    margin: 0;
  }

  .banner-wrapper {
    position: relative;
    height: 420px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
  }

  .banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.45));
  }

  .banner-title {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: -.4px;
    max-width: 640px;
  }

  .banner-sub {
    max-width: 600px;
    color: rgba(255,255,255,.9);
  }

  .banner-pill {
    display: inline-block;
    padding: .4rem .75rem;
    border-radius: 999px;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.35);
    font-weight: 700;
    font-size: .85rem;
  }

  @media (max-width: 991px) {
    .banner-wrapper {
      height: 360px;
    }
    .banner-title {
      font-size: 1.75rem;
    }
  }
  .pill{
    display:inline-flex;
    align-items:center;
    gap:.5rem;
    padding:.38rem .7rem;
    background: rgba(26,163,122,.10);
    border: 1px solid rgba(26,163,122,.68);
    color: var(--accent);
    border-radius: 999px;
    font-weight: 700;
    font-size: .85rem;
  }

  .pill2{
    display:inline-flex;
    align-items:center;
    gap:.5rem;
    padding:.38rem .7rem;
    background: rgba(11, 95, 70, 0.1);
    border: 1px solid rgba(145, 244, 214, 0.68);
    color: var(--lightgreen);
    border-radius: 999px;
    font-weight: 700;
    font-size: .85rem;
  }

  /* Sections */
  section{ padding: 64px 0; }
  .section-title{
    font-weight: 900;
    font-size: 21px;
    letter-spacing: -.4px;
    color: var(--brand-900);
  }
  .section-sub{
    color: var(--muted);
    max-width: 720px;
  }

  /* Cards */
  .ui-card:hover{
    transform: translateY(-4px);
    box-shadow: 0 16px 38px rgba(2,6,23,.10);
  }
  .icon-badge{
    width: 46px;
    height: 46px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius: 14px;
    background: rgba(18,58,102,.08);
    color: var(--brand-700);
  }
  .chip{
    display:inline-block;
    padding:.25rem .55rem;
    border-radius: 999px;
    border: 1px solid var(--stroke);
    font-size: .8rem;
    color: rgba(15,23,42,.75);
    background: rgba(255,255,255,.7);
  }

  /* Faculty */
  .avatar{
    width: 52px;
    height: 52px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--stroke);
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .avatar img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Optional: subtle hover polish */
  .ui-card:hover .avatar{
    box-shadow: 0 6px 14px rgba(0,0,0,.12);
  }

  /* News list */
  .news-item{
    padding: 14px 0;
    border-bottom: 1px dashed var(--stroke);
    font-size: 13px;
  }
  .news-item .fw-bold {font-size: 15px;}
  .news-item:last-child{ border-bottom: none; }
  .meta{
    color: var(--muted);
    font-size: .86rem;
  }

  /* Footer */
  footer{
    background: var(--brand-900);
    color: rgba(255,255,255,.86);
    padding: 56px 0 24px;
  }
  footer a{ color: rgba(255,255,255,.86); text-decoration: none; }
  footer a:hover{ color:#fff; }
  .footer-title{
    color:#fff;
    font-weight: 800;
    margin-bottom: .9rem;
  }
  .hr-soft{
    border-color: rgba(255,255,255,.12);
  }

  /* Small polish */
  .soft-bg{ background: var(--soft); }
  .shadow-soft{ box-shadow: var(--shadow); }
  .rounded-xxl{ border-radius: var(--radius); }

  /* Reduce motion */
  @media (prefers-reduced-motion: reduce){
    *{ scroll-behavior: auto !important; transition: none !important; }
  }

  .dropdown-menu {
    border-radius: 14px;
    border: 1px solid var(--stroke);
    box-shadow: 0 18px 36px rgba(2,6,23,.12);
  }

  .dropdown-item {
    font-weight: 600;
  }

  .ui-card {
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .ui-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
  }

  .icon-badge {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0b2545;
  }

  .meta {
    font-size: 0.85rem;
    color: #6b7280;
  }
  /* Image-backed highlight cards */
.bg-card {
position: relative;
height: 220px;
border-radius: var(--radius);
overflow: hidden;
background-size: cover;
background-position: center;
box-shadow: 0 16px 40px rgba(2,6,23,.25);
}

.bg-card::before {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(
  180deg,
  rgba(2,6,23,.25),
  rgba(2,6,23,.65)
);
}

.bg-card-content {
position: absolute;
inset: 0;
z-index: 2;
padding: 24px;
display: flex;
flex-direction: column;
justify-content: flex-end;
color: #fff;
}

.bg-card .big-number {
font-size: 18px;
font-weight: 700;
line-height: 1;
}

.bg-card .label {
font-weight: 700;
letter-spacing: .3px;
}

.bg-card .sub {
font-size: .9rem;
opacity: .9;
}

/* Faculty Page CSS */
/* ================= VIEW TOGGLE ================= */

.view-toggle button{
    border-radius: 999px;
    font-weight: 600;
  }
  
  /* ================= SECTION TITLE ================= */
  
  .faculty-section-title{
    font-weight: 900;
    color: var(--brand-900);
    margin-bottom: 1.5rem;
  }
  
  /* ==================================================
     LIST VIEW (Academic Horizontal Layout)
  ================================================== */
  
  .faculty-list-row{
    padding: 28px 0;
    border-bottom: 1px solid #e6e6e6;
    width: 100%;
    background: transparent;
  }
  
  .faculty-list-row:last-child{
    border-bottom: none;
  }
  
  .faculty-img{
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid #ddd;
  }
  
  .faculty-name{
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #1f2937;
    letter-spacing: .3px;
  }
  
  .faculty-details{
    font-size: 0.95rem;
    line-height: 1.8;
    color: #4b5563;
  }
  
  .label{
    font-size: .85rem;
    font-weight: 400;
    color: #e8ecd7;
  }
  
  /* Email styling */
  .faculty-details a{
    color: #1d4ed8;
    text-decoration: none;
  }
  
  .faculty-details a:hover{
    text-decoration: underline;
  }
  
  /* ==================================================
     GRID VIEW (Card Style Layout)
  ================================================== */
  
  .faculty-card{
    border: 1px solid #e6e6e6;
    border-radius: 20px;
    padding: 25px;
    background: #fff;
    height: 100%;
    transition: 0.25s ease;
  }
  
  .faculty-card:hover{
    box-shadow: 0 18px 40px rgba(0,0,0,.07);
    transform: translateY(-4px);
  }
  
  .faculty-grid-img{
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid #ddd;
  }
  
  .faculty-grid-name{
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 12px;
    text-align: left;
    color: #1f2937;
  }
  
  .faculty-grid-details{
    font-size: 0.9rem;
    line-height: 1.7;
    color: #4b5563;
  }

  /* faculty Deatailed page */
  .section-heading{
    font-weight:800;
    font-size:1.5rem;
    margin-bottom:20px;
    color:#111827;
  }
  
  /* =========================
     PROFILE HEADER
  ========================= */
  
  .profile-header{
    background:#ffffff;
    border-radius:18px;
    padding:40px;
    margin-bottom:40px;
    box-shadow:0 8px 25px rgba(0,0,0,0.04);
  }
  
  .profile-img{
    width:220px;
    height:260px;
    object-fit:cover;
    border-radius:18px;
    border:1px solid #e5e7eb;
  }
  
  .profile-name{
    font-size:2rem;
    font-weight:800;
    color:#111827;
    margin-bottom:8px;
  }
  
  .profile-meta{
    font-size:1rem;
    color:#4b5563;
    margin-bottom:10px;
  }
  
  .profile-meta strong{
    color:#111827;
  }
  
  .profile-contact div{
    margin-bottom:6px;
    font-size:0.95rem;
    color:#4b5563;
  }
  
  /* =========================
     TABS
  ========================= */
  
  .faculty-tabs{
    border-bottom:1px solid #e5e7eb;
    margin-bottom:30px;
  }
  
  .faculty-tabs .nav-link{
    border:none;
    background:transparent;
    color:#4b5563;
    font-weight:600;
    padding:12px 18px;
    border-bottom:3px solid transparent;
    transition:0.2s ease;
  }
  
  .faculty-tabs .nav-link:hover{
    color:#111827;
  }
  
  .faculty-tabs .nav-link.active{
    color:#111827;
    border-bottom:3px solid #111827;
  }
  
  /* =========================
     EDUCATION TIMELINE
  ========================= */
  
  .education-timeline{
    border-left:3px solid #e5e7eb;
    padding-left:20px;
  }
  
  .edu-item{
    margin-bottom:30px;
  }
  
  .edu-year{
    font-weight:700;
    color:#111827;
    margin-bottom:5px;
  }
  
  .edu-content{
    color:#4b5563;
    font-size:0.95rem;
  }
  
  /* =========================
     AWARDS
  ========================= */
  
  .award-box{
    background:#ffffff;
    padding:25px;
    border-radius:14px;
    border:1px solid #e5e7eb;
    font-size:0.95rem;
    color:#4b5563;
  }
  
  /* =========================
     R&D / RESEARCH SECTION
  ========================= */
  
  .simple-list{
    padding-left:18px;
  }
  
  .simple-list li{
    margin-bottom:8px;
    font-size:0.95rem;
    color:#4b5563;
  }



/* New Css for faculty */
  .faculty-card{
    background:#fff;
    padding:20px;
    border-radius:6px;
    height:100%;
    }
    
    .faculty-photo{
    width:100%;
    height:260px;
    object-fit:cover;
    border-radius:6px;
    margin-bottom:15px;
    }
    
    .faculty-name{
    font-size:18px;
    font-weight:600;
    margin-bottom:4px;
    }
    
    .faculty-designation{
    color:#777;
    font-size:14px;
    margin-bottom:10px;
    }
    
    .faculty-phone,
    .faculty-email{
    font-size:14px;
    margin-bottom:6px;
    }
    
    .faculty-phone i,
    .faculty-email i{
    margin-right:6px;
    color:#444;
    }

    .faculty-list-img{
      width:70px;
      height:70px;
      object-fit:cover;
      border-radius:8px;
      }
      
      .faculty-list-row{
      font-size:16px;
      }
      
      /* GRID VIEW IMAGE */
      .faculty-grid-img{
      width:100%;
      height:260px;
      object-fit:cover;
      border-radius:8px;
      }


      /* About Us css */

      /* Page Title */
.page-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
}

/* Container Card */
.about-card {
  background: #ffffff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

/* Paragraph Styling */
.about-text {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* Highlight Box */
.highlight-box {
  background: #fff4ef;
  border-left: 4px solid #b05a3c;
  padding: 15px 20px;
  margin: 25px 0;
  border-radius: 6px;
  font-weight: 500;
}

/* Links */
.about-links a {
  display: block;
  margin-bottom: 10px;
  color: #b05a3c;
  text-decoration: none;
  font-weight: 500;
}

.about-links a:hover {
  text-decoration: underline;
}

/* Section spacing */
.section-space {
  padding: 60px 15px;
}

.section-sub {
  color: var(--muted);
  max-width: 700px;
}

.about-text {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
}

.highlight-box {
  background: #fff4ef;
  border-left: 4px solid var(--accent);
  padding: 14px 18px;
  border-radius: 6px;
  margin-top: 15px;
  font-weight: 500;
}

/* Side Box */
.about-side-box {
  background: #fafafa;
  padding: 20px;
  border-radius: 10px;
  height: 100%;
  border: 1px solid #eee;
}

.side-title {
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--brand-900);
}

.about-links a {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  text-decoration: none;
}

.about-links a:hover {
  text-decoration: underline;
}

.about-mini {
  padding-left: 18px;
  margin: 0;
}

.about-mini li {
  margin-bottom: 6px;
  font-size: 14px;
}

/* Stats */
.stat-box {
  background: #fff;
  padding: 18px;
  border-radius: 10px;
  border: 1px solid #eee;
}

.stat-box h3 {
  margin: 0;
  color: var(--brand-900);
  font-weight: 700;
}

.stat-box p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}


/* Vision page CSS */
/* Section subtitle */
.section-sub {
  color: var(--muted);
  max-width: 700px;
}

/* Icon Box */
.icon-box {
  width: 50px;
  height: 50px;
  background: #f1f3f5;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 22px;
  color: var(--brand-900);
}

/* Mission List */
.mission-list {
  padding-left: 18px;
  margin: 0;
}

.mission-list li {
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.6;
  color: #444;
}

/* history page */
/* Timeline Highlight */
.timeline-highlight {
  background: #f8f9fa;
  padding: 12px 16px;
  border-left: 4px solid var(--accent);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.timeline-highlight span {
  color: var(--brand-900);
  font-weight: 700;
  margin: 0 6px;
}

/* program page */

/* Tabs */
.custom-tabs .nav-link {
  border: none;
  color: #666;
  font-weight: 500;
}

.custom-tabs .nav-link.active {
  color: var(--brand-900);
  border-bottom: 2px solid var(--accent);
  background: transparent;
}

/* Program List */
.program-list {
  padding-left: 18px;
  margin-top: 10px;
}

.program-list li {
  margin-bottom: 8px;
  font-size: 15px;
  color: #444;
}

/* faculty detailed page css */
/* ================= GLOBAL ================= */

/* ================= HERO ================= */
.hero-section {
  padding: 70px 0;
  background: linear-gradient(135deg, #f8f9fa, #eef2f5);
}

.hero-img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.hero-name {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 5px;
}

.hero-role {
  color: #8a4b34;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 12px;
}

.hero-section p {
  color: #555;
  line-height: 1.7;
}

.hero-description h5 {
  color: var(--brand-900);
  border-left: 3px solid var(--accent);
  padding-left: 10px;
}

/* ================= SIDEBAR ================= */
.sidebar {
  font-size: 14px;
  line-height: 1.7;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.sidebar b {
  color: #000;
}

/* ================= VIDEO ================= */
.video-strip {
  position: relative;
  overflow: hidden;
}

.video-strip iframe {
  width: 100%;
  height: 360px;
  transition: 0.4s;
}

.video-strip:hover iframe {
  transform: scale(1.05);
}

/* overlay */
.video-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.7), transparent);
}

.video-overlay {
  position: absolute;
  top: 50%;
  left: 40px;
  transform: translateY(-50%);
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  max-width: 400px;
}

/* ================= ANGLED ================= */
.angled {
  position: relative;
  background: #f5f5f5;
  padding: 80px 0;
  overflow: hidden;
}

/* background layer */
.angled::before {
  content: "";
  position: absolute;
  top: -80px;
  left: 0;
  width: 100%;
  height: 150px;
  background: #f5f5f5;
  transform: skewY(-3deg);
  z-index: 0;
}

/* CONTENT ABOVE */
.angled .container {
  position: relative;
  z-index: 2;
}

.angled .container h4 {
  font-weight: bold;
}

/* ================= TEXT LIST ================= */
.two-col {
  column-count: 2;
  column-gap: 50px;
}

.two-col li {
  margin-bottom: 10px;
  transition: 0.2s;
}

.two-col li:hover {
  color: #8a4b34;
  transform: translateX(5px);
}

/* ================= CARDS ================= */
.card-box {
  background: #fff;
  padding: 18px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  margin-bottom: 15px;
}

/* ================= MEDIA ================= */
.media-links a {
  display: block;
  padding: 10px;
  border-left: 3px solid transparent;
  transition: 0.3s;
  color: #8a4b34;
}

.media-links a:hover {
  background: #f5f5f5;
  border-left: 3px solid #8a4b34;
  color: #000;
}

.section-space .container h4 {
  font-weight: bold;
}


/* SEARCH PAGE UPGRADE */

.search-page {
  background: linear-gradient(to bottom, #f8f9fa, #ffffff);
}

/* HEADER */
.search-header h1 {
  font-weight: 700;
}

.search-header p {
  color: #666;
}

/* SEARCH BOX */
.search-box {
  border-radius: 12px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.05);
}

.search-box input {
  height: 50px;
  font-size: 15px;
}

/* RESULT CARDS */
.result-card-modern {
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 6px 25px rgba(0,0,0,0.05);
  transition: 0.3s;
  position: relative;
}

.result-card-modern:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* TITLE */
.result-card-modern h5 {
  margin: 8px 0;
}

.result-card-modern h5 a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.result-card-modern h5 a:hover {
  text-decoration: underline;
}

/* TEXT */
.result-card-modern p {
  font-size: 14px;
  color: #555;
}

/* TAG */
.result-tag {
  font-size: 11px;
  background: #dffff5;
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 20px;
}

/* HIGHLIGHT */
mark {
  background: #fff3cd;
  padding: 2px 5px;
  border-radius: 3px;
}

/* PAGINATION */
.custom-pagination .page-link {
  border-radius: 6px;
  margin: 0 4px;
  color: #1aa37a;
}

.custom-pagination .active .page-link {
  background: #1aa37a;
  border-color: #1aa37a;
  color: #fff;
}

img {
    width: 100%;
}

p {
    color: #444;
    line-height: 1.8;
    font-size: 16px;
}

/* News page CSS */
/* NEWS PAGE */

.news-page {
  background: linear-gradient(to bottom, #f8f9fa, #ffffff);
}

/* CARD */
.news-card {
  background: #fff;
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: 0.3s;
  position: relative;
}

/* HOVER */
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* TAG */
.news-tag {
  font-size: 11px;
  background: #f3e9e4;
  color: #8a4b34;
  padding: 4px 10px;
  border-radius: 20px;
  width: fit-content;
  margin-bottom: 10px;
}

/* TITLE */
.news-title {
  font-weight: 600;
  color: #333;
  line-height: 1.4;
  margin-bottom: 8px;
}

/* DATE */
.news-date {
  font-size: 12px;
  color: #888;
  margin-bottom: 10px;
}

/* TEXT */
.news-text {
  font-size: 13px;
  color: #555;
  flex-grow: 1;
}

/* READ MORE */
.news-link {
  text-decoration: none;
  color: #8a4b34;
  font-size: 13px;
  font-weight: 500;
  margin-top: 10px;
}

.news-link:hover {
  text-decoration: underline;
}

/* PAGINATION */
.news-pagination .page-link {
  border-radius: 6px;
  margin: 0 4px;
  color: #1aa37a;
}

.news-pagination .active .page-link {
  background: #1aa37a;
  border-color: #1aa37a;
  color: #fff;
}

.news-tag.award { background: #e6f4ea; color: #1e7e34; }
.news-tag.event { background: #fff3cd; color: #856404; }
.news-tag.news { background: #e8f1ff; color: #2b6cb0; }

.news-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  overflow: hidden;
}


.news-card {
  border-left: 3px solid transparent;
}

.news-card:hover {
  border-left: 3px solid #1aa37a;
}

/* ===========================
   FIX: FACULTY DETAIL BREAK
=========================== */

/* FIX multiple hero-section conflict */
.hero-section {
  padding: 70px 0 !important;
  background: linear-gradient(135deg, #f8f9fa, #eef2f5) !important;
}

/* FIX sidebar consistency */
.sidebar {
  background: #fff !important;
  padding: 20px !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08) !important;
}

/* ===========================
   FIX: EDUCATION BREAK (IMPORTANT)
=========================== */

/* REMOVE column conflict */
.two-col {
  column-count: unset !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

@media (max-width: 768px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

/* ===========================
   FIX: FACULTY CARD DUPLICATE
=========================== */

.faculty-card {
  border-radius: 16px !important;
  padding: 20px !important;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06) !important;
}

/* ===========================
   FIX: TEXT ALIGN ISSUE (YOUR CURRENT PROBLEM)
=========================== */

.hero-section .col-lg-6 p {
  margin-bottom: 14px;
  line-height: 1.7;
}

/* make content visually balanced */
.hero-section .col-lg-6 {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ===========================
   FIX: SECTION SUB DUPLICATE
=========================== */

.section-sub {
  font-size: 14px !important;
  color: var(--muted) !important;
}

/* ===========================
   FIX: LABEL CONFLICT
=========================== */

.label {
  color: var(--muted) !important;
  font-size: 13px !important;
}

/* ===========================
   FIX: IMAGE OVERFLOW
=========================== */

.profile-img,
.hero-img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* ===========================
   FIX: VIDEO OVERLAY ISSUE
=========================== */

.video-overlay {
  z-index: 3 !important;
}

/* ===========================
   FIX: GENERAL SPACING
=========================== */

.section-space {
  padding: 60px 0 !important;
}


/* News Detail Page */

.news-detail-header {

  padding: 50px 0 20px;

}

.news-detail-title {

  font-size: 32px;

  font-weight: 700;

  color: var(--brand-900);

}

.news-detail-meta {

  font-size: 13px;

  color: #777;

  margin-top: 10px;

}

.news-banner {

  width: 100%;

  height: 360px;

  object-fit: cover;

  border-radius: 12px;

  margin: 20px 0;

}

.news-content {

  font-size: 15px;

  line-height: 1.8;

  color: #444;

}

.news-content h4 {

  margin-top: 30px;

  font-weight: 700;

  color: var(--brand-900);

}

.quote-box {

  background: #f8f9fa;

  border-left: 4px solid var(--accent);

  padding: 15px 20px;

  margin: 20px 0;

  border-radius: 6px;

  font-style: italic;

}

/* Sidebar */

.related-news a {

  display: block;

  padding: 10px;

  border-bottom: 1px solid #eee;

  text-decoration: none;

  color: #333;

  font-size: 14px;

}

.related-news a:hover {

  color: var(--accent);

}

/* Share Buttons */

.share-btns a {

  margin-right: 10px;

  font-size: 18px;

  color: #555;

}

.share-btns a:hover {

  color: var(--accent);

}

/* QUICK LINKS FIX */

.quick-links-box {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

.quick-title {
  font-weight: 700;
  color: var(--brand-900);
  margin-bottom: 15px;
  position: relative;
}

.quick-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--accent);
  margin-top: 6px;
  border-radius: 2px;
}

/* GRID */
.quick-links-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

/* CARD */
.quick-link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f8f9fa;
  text-decoration: none;
  color: #333;
  transition: 0.25s ease;
  font-size: 14px;
  font-weight: 500;
}

/* LEFT ICON + TEXT */
.quick-link-card span {
  flex-grow: 1;
  margin-left: 10px;
}

/* ICON STYLE */
.quick-link-card i:first-child {
  font-size: 18px;
  color: var(--accent);
}

/* RIGHT ARROW */
.quick-link-card i:last-child {
  color: #aaa;
  font-size: 14px;
}

/* HOVER */
.quick-link-card:hover {
  background: #eef2f5;
  transform: translateX(4px);
  color: var(--brand-900);
}
