/* Reset y estilos base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Header Styles */
.header-top {
  background: rgba(151, 115, 44, 1);
  color: white;
  padding: 8px 0;
  font-size: 14px;
}

.header-top-content {
  max-width: 1688px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

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

.contact-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.location-info {
  display: flex;
  align-items: center;
  gap: 5px;
}

.main-header {
  background: rgba(151, 115, 44, 1);
  padding: 15px 0;
}

.header-content {
  max-width: 1688px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 0 20px;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 15px;
  color: white;
}

.logo {
  width: 60px;
  height: 60px;
  background-color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: rgba(151, 115, 44, 1);
  font-size: 18px;
}

.logo-text h1 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 2px;
}

.logo-text p {
  font-size: 14px;
  opacity: 0.9;
}

/* Navigation */
.navigation {
  background: rgba(151, 115, 44, 0.9);
  padding: 12px 0;
}

.nav-content {
  max-width: 1688px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-menu {
  display: flex;
  gap: 30px;
  list-style: none;
  flex-wrap: wrap;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: opacity 0.3s;
}

.nav-menu a:hover {
  opacity: 0.8;
}

/* Main Content */
.main-content {
  background-color: white;
  min-height: 60vh;
  padding: 40px 0;
}

.container {
  max-width: 1688px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-header {
  text-align: center;
  margin-bottom: 50px;
}

.page-header h2 {
  color: #333;
  font-size: 36px;
  margin-bottom: 20px;
}

.page-header p {
  font-size: 18px;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* President Highlight Section */
.president-highlight {
  background: white;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 50px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: start;
}

.president-photo {
  width: 300px;
  height: 400px;
  border-radius: 12px;
  background: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  color: #6c757d;
  border: 3px solid rgba(151, 115, 44, 1);
  overflow: hidden;
}

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

.president-info h3 {
  color: rgba(151, 115, 44, 1);
  font-size: 32px;
  margin-bottom: 10px;
  font-weight: 700;
}

.president-position {
  color: #b8860b;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.president-bio {
  color: #555;
  line-height: 1.8;
  margin-bottom: 30px;
  font-size: 16px;
}

.president-contact {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid rgba(151, 115, 44, 1);
}

.president-contact h4 {
  color: rgba(151, 115, 44, 1);
  margin-bottom: 15px;
  font-size: 18px;
}

.contact-item-president {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
}

.contact-icon {
  width: 20px;
  height: 20px;
  background: rgba(151, 115, 44, 1);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

/* <CHANGE> Optimized officials grid layout */
.officials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.official-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid #e9ecef;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.official-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.official-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  width: 100%;
}

.official-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  color: #6c757d;
  border: 3px solid rgba(151, 115, 44, 1);
  flex-shrink: 0;
  overflow: hidden;
}

/* <CHANGE> Image styling for photo circles */
.official-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.official-basic-info {
  width: 100%;
}

.official-basic-info h3 {
  color: rgba(151, 115, 44, 1);
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.official-position {
  color: #b8860b;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.official-info {
  color: #666;
  margin-bottom: 15px;
  line-height: 1.6;
  font-size: 13px;
  display: none;
}

.contact-details {
  background: #f8f9fa;
  padding: 12px;
  border-radius: 6px;
  margin-top: 15px;
  width: 100%;
  display: none;
}

.contact-details p {
  margin-bottom: 5px;
  font-size: 12px;
  text-align: left;
}

.contact-details strong {
  color: rgba(151, 115, 44, 1);
}

/* Footer */
.footer {
  background-color: #3a3a3a;
  color: white;
  padding: 50px 0 30px;
}

.footer-content {
  max-width: 1688px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-left {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.contact-section h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: white;
  font-weight: 600;
}

.contact-item-footer {
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.5;
}

.contact-item-footer strong {
  display: block;
  margin-bottom: 5px;
  font-size: 15px;
}

.contact-item-footer span {
  font-size: 18px;
  margin-top: 2px;
}

.hours-section h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: white;
  font-weight: 600;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #555;
  font-size: 15px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.footer-column h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: white;
  font-weight: 700;
}

.footer-column ul {
  list-style: none;
}

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

.footer-column ul li a {
  color: #ccc;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s;
  line-height: 1.4;
}

.footer-column ul li a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #555;
  font-size: 15px;
  color: #ccc;
}

.footer-right {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-top-content {
    flex-direction: column;
    gap: 10px;
  }

  .contact-info {
    flex-direction: column;
    gap: 10px;
  }

  .nav-menu {
    flex-direction: column;
    gap: 15px;
  }

  .page-header h2 {
    font-size: 28px;
  }

  .president-highlight {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 30px 20px;
  }

  .president-photo {
    width: 250px;
    height: 300px;
    margin: 0 auto;
  }

  .president-info h3 {
    font-size: 28px;
  }

  .officials-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }

  .official-photo {
    width: 140px;
    height: 140px;
  }

  .official-basic-info h3 {
    font-size: 14px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-right {
    gap: 30px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 40px 0 20px;
  }

  .footer-content {
    gap: 30px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .officials-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .official-photo {
    width: 120px;
    height: 120px;
  }
}