:root {
  --uet-green: #104861;     /* Main theme color */
  --uet-accent: #f4a261;    /* Keep warm accent for highlights */
  --uet-dark: #1a252f;
  --text-light: #ffffff;    /* White text for dark backgrounds */
}
@media only screen and (max-width: 768px) {
.top-50{
top:50% !important
}
}
body {
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.7;
  color: #333;
}

.navbar {
  background: rgba(16, 72, 97, 0.97) !important;   /* #104861 with opacity */
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
 
}
.navbar .nav-link {
  color: var(--text-light) !important;           /* White text */
  font-weight: 500;
}

.navbar .nav-link:hover {
  color: #f4a261 !important;                     /* Accent color on hover */
  opacity: 0.9;
}

.navbar-brand {
  color: var(--text-light) !important;
}

.navbar-brand small {
  color: rgba(255,255,255,0.85) !important;
}

.logo {
  height: 100px;
}

.hero {
  height: 100vh;
  min-height: 680px;
  position: relative;
  overflow: hidden;
}

.hero video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  /*background: linear-gradient(rgba(0,0,0,0.45), rgba(16,72,97,0.75));  Updated overlay */
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: var(--text-light);
  text-align: center;

}
.top-50{
top:50% !important;
}

.section-title {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--uet-green);
  position: relative;
  display: inline-block;
  margin-bottom: 2.5rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 70px;
  height: 5px;
  background: var(--uet-accent);
  border-radius: 3px;
}

/* Announcement List */
.announcement-list {
    max-height: 450px;
    overflow-y: auto;
    overflow-x: hidden;
}

.announcement-item {
    display: flex;
    align-items: center;
    padding: 18px 25px;
    border-bottom: 1px solid #f1f1f1;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.announcement-item:hover {
    background-color: #f8fff8;
    transform: translateX(6px);
}

.announcement-item:last-child {
    border-bottom: none;
}

.announcement-item .icon {
    width: 48px;
    height: 48px;
    /* border: 2.5px solid var(--uet-green); */
    color: var(--uet-green);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 18px;
    flex-shrink: 0;
    background: transparent;
}

.announcement-item .icon i {
    font-size: 23px;
}

.announcement-item .content {
    flex: 1;
    min-width: 0;
}

.announcement-item .content h6 {
    font-size: 15.5px;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.35;
}

.announcement-item .date {
    font-size: 13px;
    color: #6c757d;
    background: #f1f1f1;
    padding: 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
    margin-left: auto;
    margin-right: 15px;
}

.announcement-item .bi-arrow-right {
    font-size: 22px;
    color: var(--uet-green);
}

.announcement-item:hover .bi-arrow-right {
    transform: translateX(4px);
}

.card {
  border: none;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: all 0.4s ease;
  overflow: hidden;
  height: 100%;
}

.card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(16, 72, 97, 0.18);   /* Updated with new color */
}

.no-hover:hover {
    transform: none !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08) !important;
}

.card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.program-card .icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.announcement-card {
  border-left: 6px solid var(--uet-green);
  transition: all 0.3s;
}

.announcement-card:hover {
  transform: scale(1.03);
}

.footer {
  background: var(--uet-dark);
  color: #ddd;
}

.footer h5 {
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.form-control {
  border-radius: 10px;
  border: 1px solid #ccc;
}

.form-control:focus {
  border-color: var(--uet-green);
  box-shadow: 0 0 0 0.2rem rgba(16, 72, 97, 0.15);
}

/* Button Updates */
.btn-success {
  background-color: var(--uet-green);
  border-color: var(--uet-green);
}

.btn-success:hover {
  background-color: #0d3e52;
  border-color: #0d3e52;
}