/* ==================================================
   GENERAL ADMINISTRATION PAGE
   ================================================== */

.ga-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 15px;
  font-family: 'Poppins', sans-serif;
  color: #333;
}

/* =====================
   PAGE TITLE
   ===================== */

.ga-title {
  text-align: center;
  font-size: 34px;
  font-weight: 700;
  color: #800020;
  margin-bottom: 30px;
  position: relative;
}

.ga-title::after {
  content: "";
  width: 60px;
  height: 4px;
  background: #D4AF37;
  display: block;
  margin: 12px auto 0;
  border-radius: 2px;
}

/* =====================
   CONTENT BOX
   ===================== */

.ga-box {
  background: #ffffff;
  padding: 22px;
  margin-bottom: 25px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.ga-box h3 {
  color: #800020;
  font-size: 22px;
  margin-bottom: 10px;
  font-weight: 600;
}

.ga-box p {
  font-size: 16px;
  line-height: 1.7;
}

/* =====================
   STAFF SECTION
   ===================== */

.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 20px;
}

.staff-card {
  background: #f4e5e8;
  padding: 22px 18px;
  border-radius: 14px;
  text-align: center;
  border: 1px solid #D4AF37;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.staff-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(128, 0, 32, 0.25);
}

/* PROFILE IMAGE */
.staff-image {
  width: 120px;
  height: 120px;
  margin: 0 auto 15px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #D4AF37;
  background: #fff;
}

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

/* STAFF TEXT */
.staff-card h4 {
  font-size: 18px;
  font-weight: 600;
  color: #800020;
  margin-bottom: 6px;
}

.staff-card .designation {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}

.staff-card .contact {
  font-size: 14px;
  margin-bottom: 4px;
}

/* =====================
   CONTACT DETAILS
   ===================== */

.ga-box p strong {
  color: #800020;
}

/* =====================
   DOWNLOADS
   ===================== */

.download-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.download-list li {
  margin-bottom: 10px;
}

.download-list a {
  color: #800020;
  font-weight: 600;
  text-decoration: none;
  padding-left: 20px;
  position: relative;
}

.download-list a::before {
  content: "📄";
  position: absolute;
  left: 0;
  top: 0;
}

.download-list a:hover {
  color: #D4AF37;
}

/* =====================
   EVENTS SECTION
   ===================== */

.ga-events {
  margin-top: 45px;
}

.ga-events h3 {
  color: #800020;
  font-size: 22px;
  margin-bottom: 20px;
}

/* EVENTS GRID */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

/* EVENT CARD */
.event-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #f0f0f0;
  box-shadow: 0 4px 15px rgba(128, 0, 32, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(128, 0, 32, 0.25);
  border-color: #D4AF37;
}

/* EVENT IMAGE */
.event-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  border-bottom: 3px solid #D4AF37;
}

/* EVENT INFO */
.event-info {
  padding: 15px;
  text-align: center;
}

.event-date {
  display: inline-block;
  background: #800020;
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}

.event-title {
  font-size: 18px;
  font-weight: 700;
  color: #800020;
  margin: 0;
}

.event-title a {
  color: inherit;
  text-decoration: none;
}

.event-title a:hover {
  color: #D4AF37;
}

/* =====================
   RESPONSIVE
   ===================== */

@media (max-width: 768px) {
  .ga-title {
    font-size: 28px;
  }

  .staff-image {
    width: 100px;
    height: 100px;
  }

  .event-image img {
    height: 160px;
  }
}

/* additional css for student affairs */
/* Student Affairs Division Additional CSS */

/* Hostel Table */
.hostel-table {
  width: 100%;
  border-collapse: collapse;
  margin: 15px 0;
  font-family: 'Poppins', sans-serif;
}

.hostel-table th,
.hostel-table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
}

.hostel-table th {
  background-color: #800020;
  color: #fff;
  font-weight: 600;
}

.hostel-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.hostel-table tr:hover {
  background-color: #ffe6e6;
}

/* Minor adjustments for staff grid */
.staff-grid .staff-card {
  min-width: 220px;
  text-align: center;
}

/* additional css for Rector office */
/* Rector Highlight Card */
.rector-highlight {
    background: #f9f2e7; /* Soft gold background */
    border-left: 6px solid #D4AF37; /* Gold accent */
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.12);
    text-align: center;
}

.rector-highlight h3 {
    color: #800000; /* Maroon heading */
    font-size: 26px;
    margin-bottom: 10px;
}

.rector-highlight .contact-line {
    font-size: 17px;
    color: #333;
    line-height: 1.7;
}

.staff-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.staff-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 6px;
    flex: 1 1 280px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}


/* rector photo */
/* Rector Highlight Card */
.rector-highlight {
    background: #f9f2e7; /* Soft gold background */
    border-left: 6px solid #D4AF37; /* Gold accent */
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.12);
    text-align: center;
    position: relative;
}

/* Rector Profile Photo */
.rector-photo {
    width: 140px;
    height: 140px;
    margin: 0 auto 15px auto;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #D4AF37; /* Gold border around photo */
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

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

.rector-highlight h3 {
    color: #800000; /* Maroon heading */
    font-size: 26px;
    margin-bottom: 10px;
}

.rector-highlight .contact-line {
    font-size: 17px;
    color: #333;
    line-height: 1.7;
}

/* Staff Cards Grid */
.staff-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.staff-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 6px;
    flex: 1 1 280px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
