/* Base Styles */
:root {
  --navy-blue: #001f3f;
  --royal-blue: #0056b3;
  --sky-blue: #87CEEB;
  --light-blue: #E6F2FF;
  --white: #FFFFFF;
  --off-white: #F8F9FA;
  --gray: #6C757D;
  --dark-gray: #343A40;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden; 
}

body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  background-color: var(--off-white);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--navy-blue);
}

a {
  text-decoration: none;
  color: inherit;
}

/* Container Styles */
.cen-container {
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 20px;
  width: 100%;
}

/* Page Header */
.header {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  width: 100%;
}

.header h1 {
  font-size: 2.5rem;
  color: var(--navy-blue);
  margin-bottom: 10px;
}

.wave {
  position: relative;
  width: 100%;
  height: 10px;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" fill="%23001f3f"/></svg>');
  background-size: 1200px 100px;
  margin-top: 10px;
}

/* Members Container */
.members-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
  width: 100%;
}

.member-card {
  background: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 31, 63, 0.1);
  transition: var(--transition);
  cursor: pointer;
  border-left: 4px solid var(--royal-blue);
  width: 100%;
}

.member-card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 31, 63, 0.2);
  border-left: 4px solid var(--navy-blue);
}

.member-info h3 {
  color: var(--navy-blue);
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.branch {
  color: var(--royal-blue);
  font-weight: 500;
  display: flex;
  align-items: center;
}

.branch::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: var(--royal-blue);
  border-radius: 50%;
  margin-right: 8px;
}

/* Animations */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.slide-up {
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 0.8s ease-out forwards;
}

.delay-1 {
  animation-delay: 0.3s;
}

.slide-left {
  opacity: 0;
  transform: translateX(-30px);
  animation: slideLeft 0.8s ease-out forwards;
}

.slide-right {
  opacity: 0;
  transform: translateX(30px);
  animation: slideRight 0.8s ease-out forwards;
}

.fade-in {
  opacity: 0;
  animation: fadeIn 1s ease-out forwards;
}

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  animation: scaleIn 0.8s ease-out forwards;
}

/* Responsive view */
@media (max-width: 1200px) {
  /* Large desktop adjustments */
  .cen-container {
    max-width: 1000px;
  }
  
  .member-card {
    padding: 18px;
  }
}

@media (max-width: 992px) {
  /* Tablet landscape / small desktop */
  .header h1 {
    font-size: 2.2rem;
    margin-bottom: 8px;
  }
  
  .members-container {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
  }
  
  .member-info h3 {
    font-size: 1.05rem;
  }
  
  .branch {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  /* Tablet portrait */
  .header {
    margin-bottom: 25px;
  }
  
  .header h1 {
    font-size: 1.8rem;
  }
  
  .wave {
    height: 8px;
    background-size: 800px 80px;
    margin-top: 8px;
  }
  
  .members-container {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
  }
  
  .member-card {
    padding: 16px;
  }
  
  .member-info h3 {
    font-size: 1rem;
    margin-bottom: 8px;
  }
}

@media (max-width: 576px) {
  /* Mobile devices */
  .cen-container {
    padding: 0 15px;
    margin: 20px auto;
  }
  
  .header h1 {
    font-size: 1.6rem;
    margin-bottom: 5px;
  }
  
  .wave {
    height: 6px;
    background-size: 600px 60px;
    margin-top: 5px;
  }
  
  .members-container {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 20px;
  }
  
  .member-card {
    padding: 15px 20px;
    border-left-width: 3px;
  }
  
  .member-info h3 {
    font-size: 1.05rem;
  }
  
  .branch {
    font-size: 0.92rem;
  }
  
  .branch::before {
    width: 8px;
    height: 8px;
  }
}

@media (max-width: 400px) {
  /* Small mobile devices */
  .header h1 {
    font-size: 1.4rem;
    margin-bottom: 3px;
  }
  
  .wave {
    margin-top: 3px;
  }
  
  .members-container {
    gap: 12px;
  }
  
  .member-card {
    padding: 14px 18px;
  }
  
  .member-info h3 {
    font-size: 1rem;
  }
  
  .branch {
    font-size: 0.88rem;
  }
  
  .slide-up {
    animation-duration: 0.6s;
  }
  
  .fade-in {
    animation-duration: 0.8s;
  }
}