
.course-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.course-item:hover .course-image {
  transform: scale(1.1);
}

.course-figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgb(0 0 0 / 80%);
  color: #FFD700;
  padding: 10px;
  text-align: center;
  font-weight: bold;
  font-family: Montserrat, sans-serif;
}

.whatsapp-section {
  background: linear-gradient(135deg, #000, #1a1a1a);
  padding: 50px 0;
  text-align: center;
}

.whatsapp-container {
  max-width: 400px;
  margin: auto;
  background: #fff;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgb(0 0 0 / 30%);
  position: relative;
  overflow: hidden;
}

.whatsapp-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgb(37 211 102 / 10%) 0%, transparent 70%);
  pointer-events: none;
}

.whatsapp-logo {
  width: 60px;
  margin-bottom: 15px;
}

.whatsapp-title {
  color: #25D366;
  margin: 0;
  font-size: 1.4rem;
  text-align: center;
  font-family: Montserrat, sans-serif;
}

.whatsapp-text {
  color: #333;
  margin: 15px 0;
  font-size: 1rem;
}

.whatsapp-btn {
  display: inline-block;
  background-color: #25D366;
  color: #fff;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgb(0 0 0 / 20%);
  font-family: Montserrat, sans-serif;
}

.whatsapp-btn:hover {
  background-color: #128C7E;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgb(0 0 0 / 30%);
}

.whatsapp-btn i {
  margin-right: 8px;
}

.footer {
  background: linear-gradient(135deg, #0c0c0c, #000);
  padding: 50px 0 20px;
  color: #fff;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
  animation: filmGrain 12s linear infinite;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.footer-column {
  flex: 1;
  min-width: 300px;
  margin-bottom: 30px;
  padding: 0 15px;
}

.footer-logo {
  width: 300px;
  height: auto;
  border-radius: 15px;
  margin-bottom: 20px;
}

.footer-column p {
  line-height: 1.6;
  color: #ccc;
}

.footer-column h6 {
  color: #FFD700;
  margin-bottom: 20px;
  font-size: 1.3rem;
  font-family: Montserrat, sans-serif;
}

.footer-contact {
  list-style: none;
  padding: 0;
}

.footer-contact li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}

.footer-contact i {
  color: #FFD700;
  margin-right: 10px;
  margin-top: 5px;
  min-width: 16px;
}

.footer-contact address {
  font-style: normal;
  color: #ccc;
}

.footer-contact a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: #FFD700;
}

.map-container {
  width: 100%;
  height: 200px;
  border: 1px solid #333;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 15px;
}

.footer-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 10px;
}

.footer-caption {
  text-align: center;
  color: #ccc;
  font-size: 0.9rem;
}

.copyright {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid #333;
  margin-top: 30px;
  color: #999;
  position: relative;
  z-index: 2;
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #FFD700;
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 10px rgb(0 0 0 / 30%);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
  z-index: 1000;
}

.back-to-top:hover {
  background: #000;
  color: #FFD700;
  transform: translateY(-5px);
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

@keyframes spinReel { from { transform: translateY(-50%) rotate(0deg); } to { transform: translateY(-50%) rotate(360deg); } }

@keyframes projectorScan { 0% { transform: translateX(-50%) rotate(45deg) translateY(-100%); } 100% { transform: translateX(-50%) rotate(45deg) translateY(100%); } }

@keyframes flash { 0%, 20%, 40%, 60%, 80% { opacity: 0; } 10%, 30%, 50%, 70%, 100% { opacity: 1; } }

@keyframes curtainOpen { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

@keyframes curtainOpenRight { 0% { transform: translateX(0); } 100% { transform: translateX(100%); } }

@keyframes marqueeGlow { 0% { opacity: 0.1; transform: scale(1); } 100% { opacity: 0.5; transform: scale(1.2); } }

@keyframes bulbFlicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% { opacity: 1; box-shadow: 0 0 10px #FFEB3B, 0 0 20px #FFEB3B; }
  20%, 24%, 55% { opacity: 0.7; box-shadow: 0 0 5px #FFEB3B, 0 0 10px #FFEB3B; }
}

@keyframes filmGrain { 0% { background-position: 0 0; } 100% { background-position: 100% 100%; } }

@keyframes clapboardFlip { 0%, 100% { transform: rotate(10deg); } 50% { transform: rotate(-5deg); } }

@keyframes floatParticle { 0% { transform: translateY(0) translateX(0); opacity: 0; } 50% { opacity: 0.8; } 100% { transform: translateY(-100vh) translateX(20px); opacity: 0; } }

@keyframes ledBlink { 0%, 49% { opacity: 0.3; transform: scale(0.8); } 50%, 100% { opacity: 1; transform: scale(1.1); } }

@keyframes smallLedBlink { 0%, 80% { opacity: 0.2; transform: scale(0.7); } 85%, 100% { opacity: 1; transform: scale(1); } }

@keyframes letterGlow { 0% { text-shadow: 0 0 5px rgb(255 235 59 / 30%); opacity: 0.8; } 100% { text-shadow: 0 0 15px #FFEB3B, 0 0 25px #FFEB3B; opacity: 1; } }

@media (width <= 1200px) {
  .film-reel { display: none; }
}

@media (width <= 992px) {
  .cine-card { width: calc(50% - 20px); }
  .program-card { width: 90%; margin: 20px 5%; }
  .feature-item { flex: 1 1 45%; }
  .marquee-title { font-size: 2rem; }
}

@media (width <= 768px) {
  .modal-content { width: 95%; padding: 15px 15px 15px 40px; }
  .modal-content-text h2 { font-size: 1.5em; }
  .modal-content-text p { font-size: 0.9em; }
  .close { font-size: 25px; top: 5px; right: 5px; }
  .elements li { min-width: 150px; }
  .elements i { font-size: 1.1em; }
  .elements h6.heading { font-size: 0.9em; }
  footer a { font-size: 0.8em; }
  .cine-title { font-size: 2.2rem; }
  .cine-subtitle { font-size: 1rem; }
  .cine-card { width: 100%; max-width: 350px; }
  .cine-content { padding: 30px 15px; }
  .program-card { width: 95%; height: 400px; }
  .feature-item { flex: 1 1 100%; }
  .marquee-title { font-size: 1.5rem; letter-spacing: 3px; }
  
  
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    .header1 {
      width: 100%;
      margin: 0;
      padding: 0;
    }
    #topbar, #logo, #mainav {
      width: 100%;
      max-width: none;
      margin: 0 auto;
      padding: 0 15px;
    }
    #topbar ul {
      display: flex;
      justify-content: center;
      list-style: none;
      padding: 10px 0;
      font-family: 'Roboto', sans-serif;
      font-size: 14px;
      color: #333;
    }
    #topbar ul li {
      margin: 0 15px;
      display: flex;
      align-items: center;
    }
    #topbar ul li i {
      margin-right: 8px;
      color: #007bff;
    }
    #logo {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 20px 15px;
    }
    @media (max-width: 768px) {
      #topbar ul, #logo {
        flex-direction: column;
        align-items: center;
      }
      #logo {
        text-align: center;
      }
    }

    #mainav {
      font-family: 'Montserrat', sans-serif;
    }
    #mainav .menu-toggle {
      display: none;
      color: #fff;
      font-size: 18px;
      padding: 15px;
      cursor: pointer;
    }
    #mainav ul.clear {
      display: flex;
      justify-content: center;
      list-style: none;
      padding: 15px 0;
    }
    #mainav ul li {
      position: relative;
      margin: 0 20px;
    }
    #mainav ul li a {
      color: #fff;
      text-decoration: none;
      font-size: 16px;
      font-weight: 500;
      padding: 10px 15px;
      transition: all 0.3s ease;
    }
    #mainav ul li a:hover, #mainav ul li.active a {
      background-color: #007bff;
      border-radius: 5px;
    }
    #mainav ul li ul {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      background-color: #444;
      min-width: 200px;
      border-radius: 5px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      z-index: 1000;
    }
    #mainav ul li:hover ul {
      display: block;
    }
    #mainav ul li ul li {
      margin: 0;
    }
    #mainav ul li ul li a {
      display: block;
      padding: 10px 15px;
      font-size: 14px;
      color: #fff;
    }
    #mainav ul li ul li a:hover {
      background-color: #007bff;
    }
    @media (max-width: 768px) {
      #mainav .menu-toggle {
        display: block;
      }
      #mainav ul.clear {
        display: none;
        flex-direction: column;
        align-items: center;
      }
      #mainav ul.clear.active {
        display: flex;
      }
      #mainav ul li {
        margin: 10px 0;
      }
      #mainav ul li ul {
        position: static;
        background-color: #555;
      }
    }

    .carousel {
      width: 100%;
      margin: 0;
    }
    .hoc.clear {
      max-width: none;
    }

    .servicios-virtuales .icon-container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 20px;
      justify-items: center;
      padding: 20px 0;
      max-width: 1200px;
      margin: 0 auto;
    }
    .servicios-virtuales .icon-container li {
      list-style: none;
      text-align: center;
    }
    .servicios-virtuales .icon-container article {
      background-color: #fff;
      padding: 20px;
      border-radius: 10px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .servicios-virtuales .icon-container article:hover {
      transform: translateY(-5px);
      box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    }
    .servicios-virtuales .icon-container .icono-grande {
      font-size: 40px;
      color: #007bff;
      margin-bottom: 10px;
      transition: color 0.3s ease;
    }
    .servicios-virtuales .icon-container article:hover .icono-grande {
      color: #0056b3;
    }
    .servicios-virtuales .icon-container h6 {
      font-family: 'Poppins', sans-serif;
      font-size: 18px;
      color: #333;
      margin: 10px 0 0;
    }
    .servicios-virtuales .icon-container a {
      text-decoration: none;
      color: inherit;
    }
    @media (max-width: 768px) {
      .servicios-virtuales .icon-container {
        grid-template-columns: 1fr;
      }
    }