body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    background: url('/imagen/cielo.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #333;
  }

  header {
    background: linear-gradient(to right, #0d47a1, #1976d2, #64b5f6);
    color: white;
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  
  .header-left {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  
  header img {
    height: 100px;
  }
  
  .header-text {
    text-align: center;
    flex: 1;
  }
  
  .header-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2em;
    margin: 0;
  }
  
  nav {
    background: linear-gradient(to right, #002f6c, #0d47a1, #1565c0);
    display: flex;
    justify-content: center;
    position: relative;
  }
  
  nav a {
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    display: inline-block;
    position: relative;
  }
  
  nav a:hover {
    background-color: rgba(255,255,255,0.15);
  }
  
  /* Dropdown */
  .dropdown {
    position: relative;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: linear-gradient(to bottom, #0d47a1, #1565c0);
    min-width: 200px;
    z-index: 1;
  }
  
  .dropdown-content a {
    display: block;
    padding: 12px 20px;
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
  }

  .banner {
    background: url('/imagen/asun.jpg') no-repeat center;
    background-size: cover;
    background-position: 55% 45%;
    height: 250px;
    position: relative;
  }

  .banner::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
  }

  .banner h2 {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 2.2em;
    text-align: center;
  }

  .container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
  }

  h3 {
    font-family: 'Playfair Display', serif;
    color: #5a2a27;
    font-size: 1.8em;
    margin-top: 30px;
  }

  .historia-texto {
    line-height: 1.8;
    font-size: 1.1em;
    text-align: justify;
    margin-bottom: 20px;
  }

  .grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px 0;
  }

  .group-card {
    display: flex;
    align-items: center;
    padding: 15px;
    background-color: #fff;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
  }

  .group-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  }

  .group-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
  }

  .group-card h2 {
    font-size: 1.1em;
    margin: 0;
  }

  .inactive {
    background-color: #ccc !important;
    opacity: 0.6;
    pointer-events: none;
  }

  .logo {
    display: block;
    margin: 30px auto;
    width: 100px;
    height: auto;
  }

  footer {
    background: linear-gradient(to right, #002f6c, #0d47a1, #1976d2);
    color: white;
    text-align: center;
    padding: 30px 10px;
  }

  @media (max-width: 768px) {
    .dropdown-content {
      position: static;
    }
  }