/* USSVCF Officers Page Specific Styles */

/* Hero Section for USSVCF Officers Page */
.hero-ussvcf-officers {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  z-index: 1;
}

/* Override any Bootstrap container padding */
.hero-ussvcf-officers .container,
.hero-ussvcf-officers .container-fluid {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

/* Hero image styling - full width */
.hero-ussvcf-officers .hero-image {
  width: 100%;
  height: 40vh;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: brightness(0.7);
  background-color: #090933;
  margin: 0 !important;
  padding: 0 !important;
}

/* Content container */
.ussvcf-officers-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

/* Page title styling */
.ussvcf-officers-page-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #090933;
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
}

.ussvcf-officers-page-subtitle {
  font-size: 1.1rem;
  color: #6c757d;
  text-align: center;
  margin-bottom: 3rem;
  font-style: italic;
}

.ussvcf-officers-page-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(135deg, #090933 0%, #262c83 100%);
  border-radius: 2px;
}

/* Officers grid container */
.ussvcf-officers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* Individual officer card */
.ussvcf-officer-card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 6px 20px rgba(9, 9, 51, 0.1);
  border: 2px solid rgba(9, 9, 51, 0.1);
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  max-width: 320px;
  margin: 0 auto;
  min-height: 400px;
}

.ussvcf-officer-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(9, 9, 51, 0.18);
  border-color: #090933;
}

/* Officer card body */
.ussvcf-officer-card .card-body {
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: white;
  justify-content: space-between;
}

/* Officer image styling */
.ussvcf-officer-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem auto;
  border: 3px solid #e9ecef;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.ussvcf-officer-card:hover .ussvcf-officer-image {
  border-color: #090933;
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(9, 9, 51, 0.15);
}

/* Placeholder for vacant positions */
.ussvcf-officer-placeholder {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #6c757d 0%, #adb5bd 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  border: 3px solid #e9ecef;
  flex-shrink: 0;
  color: white;
  font-weight: 600;
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.2;
}

/* Officer information */
.ussvcf-officer-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
}

.ussvcf-officer-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #090933;
  margin-bottom: 0.5rem;
  line-height: 1.3;
  min-height: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ussvcf-officer-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #090933;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  min-height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.ussvcf-officer-tenure {
  font-size: 0.85rem;
  color: #6c757d;
  margin-bottom: 1.5rem;
  font-style: italic;
  min-height: 1.2rem;
}

/* Officer contact button */
.ussvcf-officer-contact {
  margin-top: auto;
  padding-top: 1rem;
  flex-shrink: 0;
}

.ussvcf-officer-contact .btn {
  background: linear-gradient(135deg, #090933 0%, #262c83 100%);
  border: none;
  color: white;
  padding: 0.6rem 1.5rem;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  width: 100%;
  justify-content: center;
}

.ussvcf-officer-contact .btn:hover {
  background: linear-gradient(135deg, #262c83 0%, #090933 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(9, 9, 51, 0.25);
  color: white;
}

/* Disabled buttons for vacant positions */
.ussvcf-officer-contact .btn.disabled {
  background: linear-gradient(135deg, #6c757d 0%, #adb5bd 100%) !important;
  cursor: not-allowed;
  opacity: 0.6;
  pointer-events: none;
}

/* Term indicator */
.term-indicator {
  background: linear-gradient(135deg, #e8f4fd 0%, #f0f8ff 100%);
  border: 1px solid #b3d9f2;
  border-radius: 0.5rem;
  padding: 0.75rem;
  margin-bottom: 2rem;
  text-align: center;
  color: #0066cc;
  font-weight: 600;
  border-left: 4px solid #090933;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .ussvcf-officers-content {
    padding: 2.5rem 1.5rem;
  }
  
  .ussvcf-officers-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }
  
  .ussvcf-officer-card {
    min-height: 380px;
  }
  
  .ussvcf-officer-card .card-body {
    padding: 1.75rem;
  }
  
  .ussvcf-officer-image,
  .ussvcf-officer-placeholder {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 767.98px) {
  .ussvcf-officers-content {
    padding: 2rem 1rem;
  }
  
  .ussvcf-officers-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
  }
  
  .ussvcf-officer-card {
    min-height: 360px;
  }
  
  .ussvcf-officer-image,
  .ussvcf-officer-placeholder {
    width: 90px;
    height: 90px;
  }
  
  .ussvcf-officer-name {
    font-size: 1.1rem;
    min-height: 2.2rem;
  }
  
  .ussvcf-officer-title {
    font-size: 0.9rem;
    min-height: 2.8rem;
  }
  
  .ussvcf-officer-info {
    min-height: 160px;
  }
}

@media (max-width: 575.98px) {
  .ussvcf-officers-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .ussvcf-officer-card {
    max-width: 300px;
    min-height: 340px;
  }
  
  .ussvcf-officer-image,
  .ussvcf-officer-placeholder {
    width: 85px;
    height: 85px;
  }
  
  .ussvcf-officer-info {
    min-height: 150px;
  }
}

/* Animation for cards on load */
.ussvcf-officer-card {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced typography */
.ussvcf-officers-content h1,
.ussvcf-officers-content h2,
.ussvcf-officers-content h3 {
  color: #090933;
}

.ussvcf-officers-content p {
  color: #495057;
}