@font-face {
  font-family: "bootstrap-icons";
  src: url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/fonts/bootstrap-icons.woff2") format("woff2"),
    url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/fonts/bootstrap-icons.woff") format("woff");
  font-display: swap;
  size-adjust: 100%;
  ascent-override: 95%;
  descent-override: 20%;
  line-gap-override: 15%;
}


 :root {
     --dark-blue: #0d1b2a;
     --accent: #1e3a8a;
     --cream: #fdf6e3;
     --white: #ffffff;
 }

 body {
     font-family: 'Segoe UI', sans-serif;
     color: #0f172a;
     background-color: var(--white);
 }

 .navbar {
     background-color: #1e293b;
     /* opacity: 0.5; */
 }

 .navbar .nav-link,
 .navbar-brand,
 .navbar .btn {
     color: #fff !important;
     transition: all 0.3s ease;
 }

 .navbar-nav .nav-link {
     position: relative;
     transition: color 0.3s ease;
 }

 .navbar-nav .nav-link:hover {
     color: #ffd700 !important;
     text-shadow: 0 0 6px rgba(255, 215, 0, 0.7);
 }

 .navbar-nav .nav-link::after {
     content: "";
     position: absolute;
     width: 0;
     height: 2px;
     left: 50%;
     bottom: 0;
     background: #ffd700;
     transition: all 0.3s ease;
 }

 .navbar-nav .nav-link:hover::after {
     width: 100%;
     left: 0;
 }

 .nav-link img {
     /* width: 80%; */
 }


 .wp-icon-only {
     /* width: 16%; */
     display: inline-block;
     background-image: url('./wpwhite.svg');
     background-size: 24px;
     background-repeat: no-repeat;
     background-position-y: center;
     background-position-x: 12%;
     padding-left: 60px;

 }

 @media (max-width: 600px) {
     .wp-icon-only {
         /* width: 16%; */
         display: inline-block;
         background-image: url('./wpwhite.svg');
         background-size: 24px;
         background-repeat: no-repeat;
         background-position-y: center;
         background-position-x: 12%;
         padding-left: 40px;

     }
 }

 .wp-icon-only:hover {
     /* Cambia la imagen a la versión negra al pasar el mouse */
     background-image: url('./wpblack.svg');
 }

 .hero {
     background-image: linear-gradient(rgba(13, 27, 42, .25), rgba(13, 27, 42, .25)), url('hero-san-martin.png');
     background-size: cover;
     background-position: center;
     color: #fff;
     min-height: 100vh;
     display: flex;
     align-items: center;
     justify-content: center;
     text-align: center;
     padding: 4rem 1rem;
     filter: contrast(110%) brightness(105%);
 }

 .hero h1,
 .hero p {
     text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
 }

 .section {
     padding: 4rem 1rem;
     position: relative;
     overflow: hidden;
 }

 .btn-accent {
     background-color: var(--accent);
     color: white;
     border: none;
 }

 .btn-accent:hover {
     background-color: #3b82f6;
 }

 .btn-outline-hero {
     background-color: transparent;
     border: 2px solid #fff;
     color: #fff;
     font-weight: 500;
     transition: all 0.3s ease;
 }

 .btn-outline-hero:hover {
     background-color: #fff;
     color: #0d1b2a;
 }

 .card {
     border: 1px solid rgba(255, 255, 255, 0.8);
     border-radius: .5rem;
     text-align: center;
     background: rgba(0, 0, 0, 0.2);
     color: #fff;
     backdrop-filter: blur(2px);
 }

 .card-body {
     padding: 2rem;
 }

 .card-title {
     font-size: 1.4rem;
     font-weight: 600;
     text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
 }

 .icon-top {
     font-size: 2rem;
     color: #fff;
     opacity: 0.85;
 }

 footer {
     background-color: #1e293b;
     color: #cbd5e1;
     padding: 2rem 1rem;
     text-align: center;
 }

 footer img {
     max-height: 60px;
 }

 .bg-video {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     object-fit: cover;
     z-index: 0;
 }

 #institucional,
 #contacto {
     min-height: 100vh;
     display: flex;
     align-items: center;
 }

 #institucional .container,
 #contacto .container {
     position: relative;
     z-index: 2;
 }

 /* Le agrego opacidad a las secciones para que el scroll no cambie en relacion a los colores de la web */

 #granlogia {
     color: #fff;
     text-decoration: none;
 }

 #institucional,
 #faq {
     position: relative;
     color: #fff;
 }

 #institucional::before,
 #faq::before {
     content: "";
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(13, 27, 42, 0.4);
     z-index: 1;
 }

 #institucional,
 #faq,
 .container {
     position: relative;
     z-index: 2;
 }

 .icono-whatsapp-btn {
     height: 22px;
     width: auto;
     vertical-align: middle;
     margin-right: 8px;
 }

 .faq-section {
     background-color: #e2e3e5;
     background-image: url('estrella-cielo.png');
     background-size: cover;
     background-position: center;
     text-align: center;
     padding: 4rem 1rem;
     color: #fff;
 }

 .faq-section h2 {
     color: #fff;
     margin-bottom: 2rem;
 }

 .faq-section .accordion-item {
     margin: 0.5rem auto;
     border: 1px solid #fff;
     border-radius: .5rem;
     background: transparent;
     max-width: 800px;
 }

 .faq-section .accordion-button {
     background: transparent;
     color: #fff;
     font-weight: 600;
     justify-content: center;
     text-align: center;
 }

 .faq-section .accordion-button:not(.collapsed) {
     box-shadow: none;
 }

 .faq-section .accordion-body {
     background: rgba(255, 255, 255, 0.1);
     border-top: 1px solid #fff;
     color: #fff;
     text-align: center;
 }

 .faq-section .accordion-button:focus {
     box-shadow: none !important;
     outline: none !important;
 }

 .faq-section .accordion-button::after {
     filter: brightness(0) invert(1);
 }

 #contacto {
     background-color: #f3f4f6;
     text-align: center;
     padding: 4rem 1rem;
 }

 #contacto h2 {
     margin-bottom: 2rem;
 }

 #contacto form {
     max-width: 600px;
     margin: 0 auto;
     text-align: left;
 }





 /* Texto alineado */
 .footer-center {
     text-align: center;
     /* por defecto centrado en móvil */
 }

 @media (max-width: 600px) {
     .fw-bold {
         font-size: 20px;
     }

     .navbar-collapse {
         flex-direction: row;
     }

     .btncontacto {
         display: flex;
         flex-direction: column;
         width: 80%;
         gap: 10px;
         margin: 0 auto;
         padding: 0;
     }

     .footer-center {}

     .date {
         text-align: left;
         /* font-size: 12px; */
     }

     .formresponsive {
         flex-direction: column;
     }

     .textos h2 {
         text-align: left;
     }

     .textos p {

         /* font-size: 12px; */
     }

     #contacto h2 {
         margin-bottom: 0;
     }

     .info {
         margin-bottom: 50px;
     }

     .formulario button {
         background-color: #1E293B;
     }
 }

 .formulario button {
     background-color: #1E293B;
 }

 /* Texto principal */
 .footer-text {
     margin-bottom: 0.5rem;
     /* font-size: 15px; */
     font-weight: 700;
 }

 /* Grupo de íconos */
 .footer-icons {
     display: flex;
     justify-content: center;
     align-content: center;
     gap: 8px;
     align-items: center;
     margin: 1rem 0;
 }

 .ee {
     display: flex;
     flex-direction: row;
 }

 @media (max-width: 600px) {
     .footer-icons {
         flex-direction: row;
         margin: 20px;
         /* gap: 10px; */
         padding: 0;
         align-items: normal;
         align-content: center;
     }


     .ee {
         display: flex;
         flex-direction: row;
         gap: 10px;
     }

     .footer-icons p {
         /* font-size: 12px; */
         margin: 0;
         padding: 0;
     }
 }

 /* Links */
 .footer-icons a {
     color: #fff;
     margin-left: 5px;
     text-decoration: none;
 }

 .footer-icons a:hover {
     text-decoration: underline;
 }

 /* Copyright */
 .footer-copy {
     /* margin-top: 10px; */
     font-size: 14px;
 }

 @media (max-width: 600px) {
     .footer-copy {
         margin: 0;
         padding: 0;
     }
 }
