/* ==========================================================================
   1. GLOBAL RESET & BASE STYLES
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: #f8fafc;
  color: #2d3748;
  line-height: 1.6;
}

/* ==========================================================================
   2. SECTION A: TOP NAVIGATION BAR
   ========================================================================== */
.navbar {
  background-color: #00134d;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-links {
  display: flex;
  list-style: none;
  overflow-x: auto;
  white-space: nowrap;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links {
  -ms-overflow-style: none;  
  scrollbar-width: none;  
}

.nav-links a {
  display: block;
  padding: 18px 16px;
  color: #e2e8f0;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-links li:hover a,
.nav-links li.active a {
  color: #ffffff;
  background-color: #00238c;
}

.nav-links li.active a {
  pointer-events: none;
}

/* ==========================================================================
   3. SECTION B: HERO LAYOUT BANNER & COUNTERS
   ========================================================================== */
.hero-layout {
  min-height: 450px;

  background:
    linear-gradient(
      rgba(0, 19, 77, 0.65),
      rgba(0, 35, 140, 0.65)
    ),
    url('../assets/img/overview 1.jpg');

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
  color: #ffffff;
  padding: 60px 20px;
}

.stats-container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
}


.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.stat-card {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);

  border: 1px solid rgba(255,255,255,0.20);

  border-radius: 15px;

  padding: 45px 25px;

  transition: all .3s ease;
}

.stat-card:hover{
  transform: translateY(-8px);
  background: rgba(255,255,255,0.18);
}
.stat-card h2 {
  font-size: 32px;
  color: #ffaa44;
  margin-bottom: 8px;
}

.stat-card p {
  font-size: 14px;
  color: #f7fafc;
}

/* ==========================================================================
   4. MODERN CARD GRIDS (Overview, Services & Journals)
   ========================================================================== */
.content-section {
  max-width: 1200px;
  margin: 0 auto 80px auto;
  padding: 0 20px;
}

.section-title {
  color: #00134d;
  font-size: 26px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  margin: 60px 0 45px 0;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 4px;
  background-color: #ffaa44;
  border-radius: 2px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.info-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 19, 77, 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 19, 77, 0.12);
}

.card-img-box {
  width: 100%;
  height: 190px;
  overflow: hidden;
}

.card-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.info-card:hover .card-img-box img {
  transform: scale(1.08);
}

.card-body {
  padding: 22px;
  flex-grow: 1;
}

.card-body h3 {
  color: #00134d;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.card-body p {
  color: #4a5568;
  font-size: 14px;
  line-height: 1.6;
}

/* ==========================================================================
   5. GRID TABLE STYLING (ROWS AND COLUMNS BORDERS)
   ========================================================================== */
.grid-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
}

/* Kattam visual rules for rows & columns */
.grid-table th, 
.grid-table td {
  border: 1px solid #cbd5e1; /* Clear Visible Grid Lines */
  padding: 12px 16px;
  text-align: center;
  vertical-align: middle;
  font-size: 14px;
}

.grid-table th {
  background-color: #00134d;
  color: #ffffff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.grid-table tbody tr:nth-child(even) {
  background-color: #f8fafc;
}

.grid-table tbody tr:hover {
  background-color: #f1f5f9;
}

.bold-name {
  font-weight: 600;
  color: #00134d;
}

.bold-designation {
  font-weight: 500;
  color: #1e293b;
}

/* ==========================================================================
   6. CLEAN MINUTES OF MEETING GRID
   ========================================================================== */
.mom-grid-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.mom-year-card {
  text-decoration: none;
  width: 180px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 30px 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.mom-year-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,19,77,0.15);
  border-color: #00134d;
}

.mom-year-text {
  color: #00134d;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   7. SECTION F: BACK TO HOME BUTTON
   ========================================================================== */
.btn-container {
  width: 100%;
  text-align: center;
  margin-top: 70px;
  margin-bottom: 30px;
}

.back-home-btn {
  display: inline-block;
  padding: 14px 42px;
  background: #00134d;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 30px;
  box-shadow: 0 6px 18px rgba(0, 19, 77, 0.2);
  transition: all 0.3s ease;
}

.back-home-btn:hover {
  background: #00238c;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 19, 77, 0.3);
}

/* ==========================================================================
   8. RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 768px) {

  .hero-layout{
    min-height:320px;
    padding:40px 15px;
  }

  .stats-grid{
    grid-template-columns: repeat(2,1fr);
  }

  .section-title{
    font-size:22px;
  }

  .mom-year-card{
    width:140px;
    padding:20px 10px;
  }

  .mom-year-text{
    font-size:16px;
  }

}