:root {
  --green: #0b5d1e;
  --green-dark: #004225;
  --yellow: #f4c430;
  --maroon: #6a1b1a;
  --light-bg: #f8f9fa;
  --text-dark: #222;
}
/* ===============================
   REMOVE ALL UNDERLINES
   =============================== */
#mainHeader a,
#mainHeader a:link,
#mainHeader a:visited,
#mainHeader a:hover,
#mainHeader a:active {
  text-decoration: none !important;
}

/* ===============================
   MAIN MENU ITEMS
   =============================== */
.menu > li > a {
  position: relative;
  padding: 15px 18px;
  color: #004225;
  font-weight: 600;
  border-bottom: 3px solid transparent;
}

/* Hover + Active */
.menu > li > a:hover,
.menu > li:hover > a {
  color: #6a1b1a;
  border-bottom: 3px solid #f4c430;
}

/* ===============================
   DROPDOWN LINKS
   =============================== */
.submenu li a {
  border-bottom: 2px solid transparent;
  padding: 10px 20px;
  color: #222;
  font-weight: 500;
}

/* Dropdown hover effect */
.submenu li a:hover {
  background: #f8f9fa;
  color: #004225;
  border-bottom: 2px solid #f4c430;
}

/* ===============================
   SUB-SUB MENU
   =============================== */
.sub-submenu li a {
  border-bottom: 2px solid transparent;
}

.sub-submenu li a:hover {
  background: #f8f9fa;
  border-bottom: 2px solid #6a1b1a;
}

/* ===============================
   MOBILE FIX (NO BOTTOM BORDER)
   =============================== */
@media (max-width: 900px) {
  .menu > li > a:hover,
  .menu > li:hover > a {
    border-bottom: none;
  }

  .submenu li a:hover,
  .sub-submenu li a:hover {
    border-bottom: none;
    background: #f1f1f1;
  }
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'EB Garamond', serif;
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

h1, h2, h3, h4, h5 {
  font-weight: 600;
}
.topbar {
  background: var(--green-dark);
  color: #fff;
  font-size: 14px;
  padding: 8px 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.topbar a {
  color: var(--yellow);
  font-weight: 500;
}

@media (max-width: 768px) {
  .topbar {
    text-align: center;
    justify-content: center;
    gap: 6px;
  }
}
#mainHeader {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 999;
}

/* ===== MAIN HEADER ===== */
#mainHeader {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 999;
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ===== LOGO ===== */
.logo img {
  height: 60px;
}

/* ===== MENU ===== */
.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.menu > li {
  position: relative;
}

.menu > li > a {
  display: block;
  padding: 15px 18px;
  font-weight: 600;
  color: #004225;
}

.menu > li > a:hover {
  color: #6a1b1a;
}

/* ===== DROPDOWN ARROW ===== */
.arrow {
  font-size: 10px;
  margin-left: 5px;
}

/* ===== SUBMENU ===== */
.submenu {
  list-style: none;
  padding: 10px 0;
  margin: 0;
  background: #ffffff;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  display: none;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  border-top: 4px solid #f4c430;
  z-index: 999;
}

.submenu li {
  position: relative;
}

.submenu li a {
  display: block;
  padding: 10px 20px;
  font-weight: 500;
  color: #222;
  white-space: nowrap;
}

.submenu li a:hover {
  background: #f8f9fa;
  color: #004225;
}

/* ===== SUB-SUB MENU ===== */
.sub-submenu {
  list-style: none;
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 220px;
  background: #ffffff;
  display: none;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.submenu li:hover > .sub-submenu {
  display: block;
}

/* ===== SHOW DROPDOWN ON HOVER (DESKTOP) ===== */
.dropdown:hover > .submenu {
  display: block;
}

/* ===== MOBILE MENU ===== */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #004225;
}

/* ===== MOBILE STYLES ===== */
@media (max-width: 900px) {

  .menu-toggle {
    display: block;
  }

  .menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #ffffff;
    margin-top: 10px;
    border-top: 1px solid #ddd;
  }

  .menu > li {
    width: 100%;
  }

  .menu > li > a {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
  }

  /* Mobile dropdown */
  .submenu {
    position: static;
    box-shadow: none;
    border-top: none;
    display: none;
    padding-left: 15px;
  }

  .sub-submenu {
    position: static;
    box-shadow: none;
    padding-left: 15px;
  }

  .dropdown.open > .submenu {
    display: block;
  }

  .submenu li.open > .sub-submenu {
    display: block;
  }
}

.carousel-item img {
  height: 70vh;
  object-fit: cover;
}

.carousel-caption {
  background: rgba(0,0,0,0.55);
  padding: 25px;
  border-radius: 8px;
}

.carousel-caption h5 {
  font-size: 32px;
  color: var(--yellow);
}

.carousel-caption .btn-primary {
  background: var(--green);
  border: none;
}

.carousel-caption .btn-secondary {
  background: var(--maroon);
  border: none;
}

/* About Section with Gradient Background 
#about {
    background: linear-gradient(135deg, #006400 0%, #FFD700 100%); /* green to yellow diagonal gradient 
    padding: 60px 0;
    margin-top:20px;
}

/* Tiles styling */
#about .choose-tile {
    background: rgba(255, 255, 255, 0.95); /* semi-transparent white */
    border-left: 5px solid #FFD700; /* yellow accent */
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

#about .choose-tile:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.2);
}

/* Icons */
#about .choose-tile i {
    font-size: 40px;
    color: #006400; /* green */
    margin-bottom: 15px;
}

/* Tile headings */
#about .choose-tile h5 {
    color: #006400;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Tile paragraphs */
#about .choose-tile p {
    color: #333333;
    font-size: 14px;
    line-height: 1.6;
}

/* Responsive spacing */
@media (max-width: 767px) {
    #about .choose-tile {
        margin-bottom: 20px;
    }
}



.department-card img {
  height: 220px;
  object-fit: cover;
}

.department-card:hover {
  transform: translateY(-5px);
}

.department-card .btn {
  background: var(--green);
  border: none;
}

.news-card img {
  height: 200px;
  object-fit: cover;
}

.badge-custom {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 6px 12px;
  font-size: 12px;
}

footer {
  background: var(--green-dark);
  color: #fff;
  padding-top: 50px;
}

footer a {
  color: var(--yellow);
}

footer ul li {
  margin-bottom: 8px;
}

.footer-copy {
  padding: 15px 0;
  font-size: 14px;
}




/* ===== HERO ===== */
.department-hero{
  background:linear-gradient(rgba(0,66,37,0.85), rgba(0,0,0,0.7)),
  url('../images/new/01.jpg');
  background-size:cover;
  background-position:center;
  color:#fff;
  padding:120px 0;
  text-align:center;
}

.department-hero h1{
  font-size:48px;
  font-weight:bold;
}

/* ===== SECTION ===== */
.section-padding{
  padding:90px 0;
}

/* ===== HOD CARD (Previous Style Improved) ===== */
.hod-card{
  border:none;
  box-shadow:0 5px 25px rgba(0,0,0,0.1);
  padding:40px 20px;
  border-radius:12px;
  background:#fff;
  text-align:center;
  position:relative;
}

.hod-img{
  width:190px;
  height:190px;
  object-fit:cover;
  border-radius:50%;
  border:6px solid var(--primary);
  margin-top:-120px;
  background:#fff;
}

.hod-wrapper{
  margin-top:120px;
}

/* ===== COURSE CARD ===== */
.course-card{
  border:none;
  box-shadow:0 5px 20px rgba(0,0,0,0.08);
  transition:0.3s;
  border-radius:10px;
}
.course-card:hover{
  transform:translateY(-5px);
}

.badge-cert{
  background:var(--accent);
  color:#fff;
}

/* ===== TABLE ===== */
.table thead{
  background:var(--primary);
  color:#fff;
}

/* ===== NEW INTAKE BANNER STYLE ===== */
.intake-banner{
  background:linear-gradient(135deg, var(--primary), var(--dark));
  border-radius:20px;
  padding:60px 40px;
  color:#fff;
  position:relative;
  overflow:hidden;
}

.intake-banner::before{
  content:"";
  position:absolute;
  right:-60px;
  top:-60px;
  width:200px;
  height:200px;
  background:rgba(255,255,255,0.08);
  border-radius:50%;
}

.intake-badge{
  background:var(--accent);
  padding:8px 20px;
  border-radius:50px;
  font-weight:bold;
  display:inline-block;
  margin-bottom:15px;
}

.btn-premium{
  background:#fff;
  color:var(--primary);
  font-weight:600;
  border-radius:50px;
  padding:12px 28px;
}

.btn-premium:hover{
  background:var(--accent);
  color:#fff;
}
/* HERO */
.department-hero{
  background:linear-gradient(rgba(0,66,37,0.75), rgba(0,0,0,0.6)),
  url('../images/new/01.jpg');
  background-size:cover;
  background-position:center;
  min-height:400px;
  padding:100px 0;
}

/* HOD IMAGE */
.hod-img{
  width:180px;
  height:180px;
  object-fit:cover;
  border-radius:50%;
  border:5px solid #006400;
  margin-top:-90px;
  background:#fff;
}

/* INTAKE BANNER NEW STYLE */
.intake-banner{
  background:linear-gradient(135deg, #ff8c00, #ff6a00);
  border-radius:20px;
  padding:60px 40px;
  box-shadow:0 10px 30px rgba(0,0,0,0.15);
}
.course-level-card{
  transition:0.3s;
  border-left:5px solid #006400;
}

.course-level-card:hover{
  transform:translateY(-6px);
  box-shadow:0 10px 25px rgba(0,0,0,0.1);
}

.course-level-card .fa-calendar{
  color:#ff8c00;
}

