@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- Brand Identity System --- */
:root {
  --primary: #005AAB;         /* Endeavour Blue */
  --primary-rgb: 0, 90, 171;
  --secondary: #2E7D32;       /* Emerald Green */
  --secondary-rgb: 46, 125, 50;
  --accent: #F4B400;          /* Golden Yellow */
  --accent-rgb: 244, 180, 0;
  --bg-slate: #F8FAFC;        /* Light Slate Background */
  --white: #FFFFFF;
  --text-dark: #0F172A;       /* Slate 900 */
  --text-medium: #334155;     /* Slate 700 */
  --text-muted: #64748B;      /* Slate 500 */
  --border-light: #E2E8F0;    /* Slate 200 */
  
  --font-headings: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 80px;
}

/* --- Base & Reset Rules --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-slate);
  color: var(--text-medium);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

/* --- Utilities & Layouts --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-bg {
  background-color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--secondary);
  border-radius: 2px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  gap: 8px;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #004787;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: #215824;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--text-dark);
}

.btn-accent:hover {
  background-color: #d89f00;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Grid helper */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* --- Global Header & Navbar --- */
.header-wrapper {
  background-color: var(--white);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 1.4rem;
  font-family: var(--font-headings);
  box-shadow: var(--shadow-sm);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.logo-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  gap: 25px;
  align-items: center;
}

.nav-link {
  font-family: var(--font-headings);
  font-weight: 500;
  color: var(--text-medium);
  font-size: 0.95rem;
  padding: 8px 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  border: none;
  background: none;
  padding: 5px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* --- Hero Slider Section --- */
.hero-slider-section {
  position: relative;
  height: 600px;
  overflow: hidden;
  background-color: #000;
}

.slider-container {
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 30%, rgba(0, 0, 0, 0.3) 100%);
  z-index: 2;
}

.slide-content {
  position: relative;
  z-index: 3;
  color: var(--white);
  max-width: 800px;
  padding: 0 40px;
  margin-right: auto;
  animation: slideUp 0.8s ease forwards;
}

.slide h2 {
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.2;
}

.slide p {
  font-size: 1.25rem;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 30px;
  z-index: 4;
  pointer-events: none;
}

.slider-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  transition: var(--transition);
  backdrop-filter: blur(5px);
}

.slider-btn:hover {
  background-color: var(--primary);
  border-color: var(--primary);
}

.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 4;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background-color: var(--accent);
  transform: scale(1.25);
}

/* --- Splash Banner Section --- */
.splash-banner-section {
  padding: 40px 0;
  background-color: var(--white);
  border-bottom: 1px solid var(--border-light);
}

.splash-banner-container {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.splash-banner-container img {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  transition: var(--transition);
}

.splash-banner-container img:hover {
  transform: scale(1.02);
}

/* --- Cards, Grids & Features --- */
.card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 90, 171, 0.2);
}

.card-title {
  font-size: 1.35rem;
  margin-bottom: 15px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-accent-border {
  border-top: 4px solid var(--secondary);
}

.card-primary-border {
  border-top: 4px solid var(--primary);
}

/* Illustrated cards for vision/mission */
.illustrated-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: center;
}

.image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.image-card img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.image-card-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 25px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: var(--white);
}

/* --- Statistics Section (NEW) --- */
.statistics-section {
  background: linear-gradient(135deg, var(--primary), #003666);
  color: var(--white);
  padding: 60px 0;
  position: relative;
}

.stat-item {
  text-align: center;
  padding: 20px;
}

.stat-num {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 10px;
  font-family: var(--font-headings);
}

.stat-label {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.85);
}

/* --- Awards & Recognition (NEW) --- */
.awards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.award-card {
  display: flex;
  gap: 20px;
  background-color: var(--white);
  border-left: 5px solid var(--accent);
}

.award-icon {
  font-size: 2.5rem;
  color: var(--accent);
  display: flex;
  align-items: center;
}

.award-details h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: var(--primary);
}

.award-recipient {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 5px;
}

/* --- Publications, Tabs & Filter --- */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 24px;
  font-family: var(--font-headings);
  font-weight: 600;
  border-radius: 30px;
  border: 1px solid var(--border-light);
  background-color: var(--white);
  color: var(--text-medium);
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover, .tab-btn.active {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.item-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.list-item {
  background-color: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 24px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.list-item:hover {
  transform: translateX(5px);
  border-left: 4px solid var(--secondary);
  box-shadow: var(--shadow-md);
}

.list-item-type {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 20px;
  background-color: #E2E8F0;
  color: var(--text-medium);
}

.type-paper { background-color: #E0F2FE; color: #0369A1; }
.type-patent { background-color: #FEF3C7; color: #B45309; }
.type-design { background-color: #DCFCE7; color: #15803D; }

.list-item h4 {
  font-size: 1.25rem;
  line-height: 1.4;
}

.list-item-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.list-item-authors {
  font-weight: 500;
  color: var(--text-medium);
}

/* --- Timeline Layout (Activities) --- */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background-color: var(--border-light);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
}

.timeline-container {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.timeline-container::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: var(--white);
  border: 4px solid var(--secondary);
  top: 25px;
  border-radius: 50%;
  z-index: 1;
  transition: var(--transition);
}

.timeline-left {
  left: 0;
}

.timeline-right {
  left: 50%;
}

.timeline-right::after {
  left: -10px;
}

.timeline-content {
  padding: 20px 30px;
  background-color: var(--white);
  position: relative;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.timeline-content:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(46, 125, 50, 0.3);
}

.timeline-content:hover::parent::after {
  background-color: var(--secondary);
}

.timeline-date {
  font-weight: 700;
  color: var(--secondary);
  font-size: 0.95rem;
  margin-bottom: 8px;
  font-family: var(--font-headings);
}

/* --- Team Organogram (NEW) --- */
/* --- Premium Interactive Organogram --- */
.team-organogram-box {
  background-color: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 50px 40px;
  box-shadow: var(--shadow-md);
  margin-top: 50px;
  text-align: center;
}

.organogram-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin: 0 auto;
}

.organogram-parent {
  display: flex;
  justify-content: center;
  position: relative;
  width: 100%;
}

.organogram-node {
  display: flex;
  align-items: center;
  gap: 15px;
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  min-width: 270px;
  max-width: 320px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 5;
}

.node-chairperson {
  border: 1px solid var(--border-light);
  border-left: 5px solid var(--accent); /* Golden Yellow Strip */
  background-color: var(--white);
}

.node-committee {
  border-left: 5px solid var(--primary); /* Endeavour Blue Strip */
}

.organogram-node:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(46, 125, 50, 0.2);
}

.node-chairperson:hover {
  border-color: rgba(244, 180, 0, 0.4);
  background-color: var(--white);
}

/* Avatar Initials Circle */
.avatar-circle {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
  flex-shrink: 0;
}

.initials-mg { background: linear-gradient(135deg, var(--accent), #d89f00); }
.initials-gp, .initials-rs, .initials-sb, .initials-sub, .initials-rd, .initials-ss {
  background: linear-gradient(135deg, var(--secondary), #215824);
}

/* Node details */
.card-details {
  text-align: left;
}

.organogram-node h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
  text-align: left;
}

.organogram-node p {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: left;
}

/* Connector Line drawn between parent and children */
.organogram-connector-line {
  width: 2px;
  height: 40px;
  background-color: var(--border-light);
  position: relative;
}

/* Grid of Committee Members */
.organogram-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 30px;
  width: 100%;
  position: relative;
  justify-items: center;
}

/* Grid Top Horizontal Connector line */
.organogram-grid::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 16.6%;
  right: 16.6%;
  height: 2px;
  background-color: var(--border-light);
  z-index: 1;
}

/* Grid Top Vertical Drop line (from parent) */
.organogram-grid::after {
  content: '';
  position: absolute;
  top: -40px;
  left: 50%;
  width: 2px;
  height: 40px;
  background-color: var(--border-light);
  z-index: 1;
}

/* Individual vertical connector drops for grid items */
.organogram-grid .organogram-node::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  width: 2px;
  height: 20px;
  background-color: var(--border-light);
  z-index: 1;
}

/* Responsiveness for Organogram */
@media (max-width: 992px) {
  .organogram-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .organogram-grid::before {
    left: 25%;
    right: 25%;
  }
}

@media (max-width: 768px) {
  .organogram-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .organogram-grid::before {
    display: none;
  }
  .organogram-grid::after {
    top: -40px;
    bottom: 0;
    left: 50%;
    width: 2px;
    height: auto;
    background-color: var(--border-light);
  }
  .organogram-grid .organogram-node::before {
    display: none;
  }
}

/* --- Contact Page Form & Layout --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-info-item {
  display: flex;
  gap: 20px;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(0, 90, 171, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-info-text h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.contact-info-text p, .contact-info-text a {
  color: var(--text-medium);
}

.contact-form-box {
  background-color: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background-color: var(--bg-slate);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(0, 90, 171, 0.1);
}

.form-control.error {
  border-color: #EF4444;
  background-color: #FEF2F2;
}

.form-control.success {
  border-color: #10B981;
  background-color: #ECFDF5;
}

.map-embed {
  margin-top: 50px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 400px;
  border: 1px solid var(--border-light);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --- Global Footer --- */
.footer {
  background-color: #0B132B;
  color: #8F9BB3;
  padding: 80px 0 30px 0;
  border-top: 5px solid var(--secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-widget h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-widget h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 3px;
  background-color: var(--accent);
}

.footer-widget p {
  line-height: 1.8;
  font-size: 0.95rem;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #8F9BB3;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.footer-contact i {
  color: var(--accent);
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid #1E293B;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
}

/* --- Team Grid Details --- */
.team-member-card {
  text-align: center;
  padding: 30px 20px;
}

.member-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 90, 171, 0.1), rgba(46, 125, 50, 0.1));
  border: 3px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  font-size: 2.2rem;
  font-family: var(--font-headings);
  font-weight: 700;
  color: var(--primary);
  transition: var(--transition);
}

.team-member-card:hover .member-avatar {
  border-color: var(--secondary);
  background: linear-gradient(135deg, rgba(0, 90, 171, 0.2), rgba(46, 125, 50, 0.2));
  transform: scale(1.05);
}

.member-details h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.member-details p {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- Infrastructure Detail Elements --- */
.infra-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 80px;
}

.infra-detail-grid:nth-child(even) {
  grid-template-columns: 1.2fr 1fr;
}

.infra-detail-grid:nth-child(even) .infra-image {
  order: 2;
}

.infra-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.infra-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: var(--transition);
}

.infra-image:hover img {
  transform: scale(1.05);
}

.infra-text h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--primary);
}

.infra-text p {
  margin-bottom: 25px;
  font-size: 1.05rem;
}

.infra-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.infra-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
}

.infra-feature-item i {
  color: var(--secondary);
}

/* Animations */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .illustrated-grid, .contact-grid, .infra-detail-grid, .infra-detail-grid:nth-child(even) {
    grid-template-columns: 1fr;
  }
  .infra-detail-grid:nth-child(even) .infra-image {
    order: 0;
  }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .slide h2 { font-size: 2.25rem; }
  .timeline::after { left: 40px; }
  .timeline-container { width: 100%; padding-left: 70px; padding-right: 20px; }
  .timeline-container::after { left: 30px; right: auto; }
  .timeline-right { left: 0; }
  .awards-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--white);
    flex-direction: column;
    padding: 40px;
    gap: 30px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    align-items: flex-start;
  }
  .nav-menu.active {
    left: 0;
  }
  .menu-toggle {
    display: flex;
  }
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .slide h2 { font-size: 1.75rem; }
  .hero-slider-section { height: 500px; }
  .footer-grid { grid-template-columns: 1fr; }
  .illustrated-grid img { height: 250px; }
}

/* --- Splash Screen Overlay --- */
.splash-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #132513;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  overflow: hidden;
}

.splash-overlay-content {
  max-width: 90%;
  max-height: 90%;
  animation: pulseScale 2s infinite ease-in-out;
}

.splash-overlay-content img {
  width: 100%;
  height: auto;
  max-width: 850px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.splash-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes pulseScale {
  0% { transform: scale(0.98); opacity: 0.95; }
  50% { transform: scale(1.02); opacity: 1; }
  100% { transform: scale(0.98); opacity: 0.95; }
}
