@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,900;1,700&family=Inter:wght@400;500;600;700&display=swap');
:root {
      --teal-dark: #130102;
      --teal-mid:  #c9292e;
      --teal-light:#eeeeee;
      --rust:      #c0392b;
      --rust-light:#fdf3f2;
      --gold:      #b94d51;
      --text-dark: #1a1a2e;
      --text-muted:#5a6470;
      --border:    #d9e6e9;
      --white:     #ffffff;
      --sidebar-w: 280px;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }

    body {
   
      color: var(--text-dark);
      background: #f7fafb;
      margin: 0;
    }
/* ── HERO BANNER ── */
.dept-banner {
  min-height: 480px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Force the img tag to cover the section background cleanly */
.dept-banner img.banner-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}


.bnner-hdd_commn {
  position: absolute;
  z-index: 2;
  left: 78px;
  width: calc(100% - 98px);
  padding-right: 20px;
}

.dept-banner .eyebrow {
  font-size: 18px;
  letter-spacing: 0.18em;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
}

.dept-banner h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  line-height: 1.15;
  margin: 8px 0 14px;
}

.dept-banner h1 span { 
  color: #fff; 
}

.dept-banner p {
  color: #b2d8de;
  font-size: 0.92rem;
  max-width: 500px;
  line-height: 1.7;
}

.yrll {
  font-size: 14px;
  flex: none;
}

/* ── RESPONSIVE FIXES ── */
@media (max-width: 991.98px) {
  .dept-banner {
    min-height: 320px;
  }
  
  .dfy5 {
    font-size: 14px;
  }
  
  .bnner-hdd_commn {
    position: absolute;
    z-index: 2;
    left: 20px; /* Safe padding from left edge on mobile */
    width: calc(100% - 40px);
  }
  
  .dept-banner .eyebrow {
    font-size: 13px;
  }
   .bnner-hdd_commn {
    padding-left: 0px; /* Reset desktop left offset on tablets/mobiles */
  }
  
  .yrll {
    font-size: 13px;
    padding: 9px 16px !important;
  }
}


@media (max-width: 576px) {
  .dept-banner {
    min-height: 190px;
    padding: 30px 15px;
  }

  .dept-banner h1 {
    font-size: 1.75rem;
  }

  .dept-banner p {
    font-size: 0.88rem;
  }
}

    /* ── INFO BAR ── */
    .info-bar {
          background: linear-gradient(340deg, #9f4e4e 3%, #0d5384 17%, #005d9f 37%);
      border-top: 3px solid var(--gold);
    }
    .info-item {
      text-align: center;
      padding: 18px 12px;
      border-right: 1px solid rgba(255,255,255,.1);
    }
    .info-item:last-child { border-right: none; }
    .info-item .label {
      font-size: 16px;
      letter-spacing: 0.14em;
      color: #fff;
      text-transform: uppercase;
      font-weight: 600;
      display: block;
      margin-bottom: 4px;
    }
    .info-item .value {
      font-size: 0.95rem;
      color: #fff;
      font-weight: 600;
    }
    .info-item .icon-wrap {
      font-size: 1.3rem;
      color: #b2d8de;
      margin-bottom: 6px;
      display: block;
    }

    /* ── BREADCRUMB ── */
    .breadcrumb-bar {
      background: #fff;
      border-bottom: 1px solid var(--border);
      padding: 10px 0;
    }
    .breadcrumb-bar .breadcrumb {
      margin: 0;
      font-size: 0.8rem;
    }
    .breadcrumb-item a { color: var(--teal-mid); text-decoration: none; }
    .breadcrumb-item.active { color: var(--text-muted); }
    .breadcrumb-item+.breadcrumb-item::before { color: var(--text-muted); }

    /* ── LAYOUT ── */
    .page-body { padding: 40px 0 80px; }
    .sidebar {
      position: sticky;
      top: 70px;
      width: var(--sidebar-w);
      flex-shrink: 0;
    }

    /* ── SIDE NAV ── */
    .side-nav {
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 2px 12px rgba(13,74,82,.07);
    }
    .side-nav-title {
      background: #e41e26;
      color: #fff;
      font-size: 0.75rem;
      letter-spacing: 0.14em;
      font-weight: 700;
      text-transform: uppercase;
      padding: 12px 18px;
    }
    .side-nav a {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 11px 18px;
      font-size: 16px;
      color: var(--text-dark);
      text-decoration: none;
      border-left: 3px solid transparent;
      border-bottom: 1px solid var(--border);
      transition: all .2s;
      font-weight: 500;
    }
    .side-nav a:last-of-type { border-bottom: none; }
    .side-nav a i { color: var(--teal-mid); font-size: 1rem; }
    .side-nav a:hover,
    .side-nav a.active {
      border-left-color: var(--rust);
      background: var(--rust-light);
      color: var(--rust);
    }
    .side-nav a:hover i,
    .side-nav a.active i { color: var(--rust); }

    /* ── ENQUIRY FORM ── */
    .enquiry-box {
      background: var(--teal-dark);
      border-radius: 0 0 8px 8px;
      padding: 18px 18px 20px;
      margin-top: 0;
    }
    .enquiry-box .eq-title {
      font-size: 17px;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: #fff;
      margin-bottom: 12px;
    }
    .enquiry-box .form-control,
    .enquiry-box .form-select {
      font-size: 0.8rem;
      padding: 8px 12px;
      border-radius: 4px;
      border: 1px solid rgba(255,255,255,.2);
      background: rgba(255,255,255,.1);
      color: #fff;
      margin-bottom: 8px;
    }
    .enquiry-box .form-control::placeholder { color: rgba(255,255,255,.5); }
    .enquiry-box .form-control:focus {
      background: rgba(255,255,255,.18);
      border-color: var(--gold);
      box-shadow: none;
      color: #fff;
    }
    .enquiry-box .btn-submit {
      background: var(--rust);
      color: #fff;
      border: none;
      width: 100%;
      padding: 9px;
      font-size: 0.82rem;
      font-weight: 700;
      letter-spacing: 0.06em;
      border-radius: 4px;
      text-transform: uppercase;
      transition: background .2s;
    }
    .enquiry-box .btn-submit:hover { background: #a93226; }

    /* ── MAIN CONTENT ── */
    .main-content { min-width: 0; }

    .content-section {
      background: #fff;
      border-radius: 10px;
      padding: 40px 44px;
      margin-bottom: 28px;
      border: 1px solid var(--border);
      box-shadow: 0 2px 10px rgba(13,74,82,.04);
    }

    .section-eyebrow {
      font-size: 15px;
      letter-spacing: 0.18em;
      color: var(--rust);
      font-weight: 700;
      text-transform: uppercase;
      margin-bottom: 6px;
    }
    .section-title {
      font-family: 'Playfair Display', serif;
  font-size: 35px;
  color: #000;
  margin-bottom: 6px;
  line-height: 1.2;
  font-weight: bold;
    }
    .title-rule {
      width: 40px;
      height: 3px;
      background: var(--gold);
      border-radius: 2px;
      margin-bottom: 24px;
    }
    .section-lead {
      font-size: 0.96rem;
      color: var(--text-muted);
      line-height: 1.8;
    }

    /* Objectives */
    .obj-list { list-style: none; padding: 0; margin: 0; }
    .obj-list li {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      padding: 12px 0;
      border-bottom: 1px solid var(--border);
      font-size: 16px;
      color: var(--text-dark);
      line-height: 29px;
    }
    .obj-list li:last-child { border-bottom: none; }
    .obj-list li .obj-num {
      min-width: 30px; height: 30px;
      background: var(--teal-light);
      color: var(--teal-dark);
      border-radius: 50%;
      font-size: 0.75rem;
      font-weight: 700;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
    }

    /* Competencies */
    .comp-card {
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 20px;
      height: 100%;
      transition: box-shadow .2s, border-color .2s;
    }
    .comp-card:hover {
      box-shadow: 0 4px 18px rgba(13,74,82,.1);
      border-color: var(--teal-mid);
    }
    .comp-card .c-icon {
      width: 46px; height: 46px;
      background: var(--teal-light);
      border-radius: 8px;
      display: flex; align-items: center; justify-content: center;
      margin-bottom: 14px;
      font-size: 1.35rem;
      color: var(--teal-dark);
    }
    .comp-card h6 {
      font-size: 17px;
      font-weight: 700;line-height: 28px;
      color: var(--teal-dark);
      margin-bottom: 8px;
    }
    .comp-card p {
      font-size: 0.82rem;
      color: var(--text-muted);
      line-height: 1.6;
      margin: 0;
    }

    /* Eligibility / Fee */
    .elig-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
    }
    .elig-box {
      background: var(--teal-light);
      border-radius: 8px;
      padding: 24px;
      border-left: 4px solid var(--teal-mid);
    }
    .elig-box h6 {
      font-size: 18px;
      font-weight: 700;
      letter-spacing: 0.1em;
      color: var(--teal-dark);
      text-transform: uppercase;
      margin-bottom: 14px;
    }
    .fee-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
    .fee-table th {
      background: var(--teal-dark);
      color: #fff;
      padding: 10px 14px;
      font-weight: 600;
      font-size: 0.8rem;
      letter-spacing: 0.05em;
    }
    .fee-table td {
      padding: 10px 14px;
      border-bottom: 1px solid var(--border);
      color: var(--text-dark);
    }
    .fee-table tr:last-child td { border-bottom: none; }
    .fee-table tr:nth-child(even) td { background: var(--teal-light); }
    .fee-total td { font-weight: 700; background: #fff8f0 !important; color: var(--gold) !important; }

    /* Syllabus */
    .syllabus-tabs .nav-link {
      font-size: 0.82rem;
      font-weight: 600;background: #177281;
      color: var(--text-muted);
      border: 1px solid var(--border);
      border-radius: 4px 4px 0 0;
      margin-right: 4px;
      padding: 8px 18px;
    }
    .syllabus-tabs .nav-link.active {
      background: var(--teal-dark);
      border-color: var(--teal-dark);
      color: #fff !important;
    }
    .syllabus-body {
      border: 1px solid var(--border);
      border-radius: 0 4px 4px 4px;
      padding: 24px;
    }
    .syllabus-subject {
      display: flex; 
      align-items: center;
      gap: 12px;
      padding: 10px 0;
      border-bottom: 1px dashed var(--border);
      font-size: 16px;
    }
    .syllabus-subject:last-child { border-bottom: none; }
    .subj-dot {
      width: 8px; height: 8px;
      background: var(--teal-mid);
      border-radius: 50%;
      flex-shrink: 0;
    }
    .subj-credit {
      margin-left: auto;
      font-size: 0.75rem;
      background: var(--teal-light);
      color: var(--teal-dark);
      padding: 2px 10px;
      border-radius: 20px;
      font-weight: 600;
    }

    /* HOD Message */
    .hod-card {
      display: flex;
      gap: 32px;
      align-items: flex-start;
    }
    .hod-photo {
      width: 130px; height: 160px;
      border-radius: 8px;
      object-fit: cover;
      flex-shrink: 0;
      border: 3px solid var(--teal-light);
    }
    .hod-photo-placeholder {
      width: 130px; height: 160px;
      border-radius: 8px;
      background: var(--teal-light);
      flex-shrink: 0;
      display: flex; flex-direction: column;
      align-items: center; justify-content: center;
      gap: 8px;
      color: var(--teal-mid);
      font-size: 2.2rem;
      border: 3px solid var(--border);
    }
    .hod-quote {
      font-family: 'Playfair Display', serif;
      font-size: 1.05rem;
      color: var(--teal-dark);
      line-height: 1.7;
      font-style: italic;
      position: relative;
      padding-left: 22px;
    }
    .hod-quote::before {
      content: '\201C';
      position: absolute; left: 0; top: -8px;
      font-size: 3rem;
      color: var(--gold);
      line-height: 1;
      font-family: 'Playfair Display', serif;
    }
    .hod-name {
      font-size: 0.92rem;
      font-weight: 700;
      color: var(--teal-dark);
      margin-top: 16px;
      margin-bottom: 2px;
    }
    .hod-designation {
      font-size: 0.8rem;
      color: var(--text-muted);
    }

    /* Mobile sticky nav toggle */
    .mobile-nav-toggle {
      display: none;
      position: fixed;
      bottom: 24px; left: 16px;
      background: var(--teal-dark);
      color: #fff;
      border: none;
      border-radius: 50px;
      padding: 10px 18px;
      font-size: 0.82rem;
      font-weight: 600;
      box-shadow: 0 4px 16px rgba(13,74,82,.35);
      z-index: 1050;
      gap: 8px;
      align-items: center;
    }

    /* ── FOOTER ── */
    .site-footer {
      background: var(--teal-dark);
      color: #b2d8de;
      padding: 48px 0 24px;
      font-size: 0.85rem;
    }
    .site-footer h6 {
      color: #fff;
      font-weight: 700;
      font-size: 0.8rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      margin-bottom: 16px;
    }
    .site-footer a { color: #b2d8de; text-decoration: none; }
    .site-footer a:hover { color: var(--gold); }
    .footer-divider {
      border-color: rgba(255,255,255,.1);
      margin: 32px 0 20px;
    }
    .footer-copy { font-size: 0.78rem; color: rgba(255,255,255,.4); }

    /* ── RESPONSIVE ── */
    @media (max-width: 991.98px) {
      .sidebar { position: static; width: 100%; }
      .elig-grid { grid-template-columns: 1fr; }
      .hod-card { flex-direction: column; }
      .hod-photo-placeholder { width: 100%; height: 140px; flex-direction: row; }
      .content-section { padding: 28px 22px; }
      .mobile-nav-toggle { display: flex; }
      .sidebar-offcanvas { position: fixed; top: 0; left: -300px; height: 100vh; width: 280px; z-index: 1055; background: #fff; overflow-y: auto; transition: left .3s ease; }
      .sidebar-offcanvas.open { left: 0; box-shadow: 4px 0 20px rgba(0,0,0,.2); }
      .sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 1054; }
      .sidebar-overlay.open { display: block; }
      .dept-banner::after { display: none; }

    }
    @media (max-width: 575.98px) {
      .info-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
      .info-item:last-child { border-bottom: none; }
      .section-title { font-size: 1.3rem; }
    }

   .dfy5{
    font-size: 14px;
  
   }