@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #3498db;
    --secondary-color: #2980b9;
    --background-color: #1a1a2e;
    --text-color: #ffffff;
    --secondary-text-color: #a0a0a0;
}
.learn-more {
    display: inline-block;
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 12px !important;
}

.learn-more:hover {
    color: #2980b9;
} 

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

nav {
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-subtext {
    font-size: 0.8rem;
    color: var(--secondary-text-color);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: 600;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--background-color);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--background-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

header {
    background: linear-gradient(135deg, var(--background-color), #000000);
    color: var(--text-color);
    padding: 8rem 0 4rem;
    text-align: center;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

header p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--secondary-text-color);
}

.search-bar {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.search-bar input {
    width: 100%;
    padding: 1rem 3rem 1rem 1rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
}

.search-bar input::placeholder {
    color: var(--secondary-text-color);
}

.search-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
}

main {
    padding: 4rem 0;
}

section {
    margin-bottom: 4rem;
}
.boton {
    display: inline-block;
    padding: 0.2rem 12px;
    background-color: #0ea5e9; 
    color: white; 
    text-decoration: none; 
    border-radius: 20px; 
    font-family: Arial, sans-serif;
    font-size: 16px;
    transition: background-color 0.3s ease; /* animación suave */
  }
  
  .boton:hover {
    background-color: #362a2a; /* color cuando pasas el mouse */
  }
  

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(52, 152, 219, 0.3);
}

.service-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-card h3 {
    margin-bottom: 0.5rem;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--secondary-text-color);
    margin-bottom: 1rem;
}

.service-card button,.service-card a{
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-weight: 600;
}

.image-bg {
    background: url("images/360\ call.jpeg") no-repeat center/cover;
    padding: 2rem;
    border-radius: 1rem; /* Bordes redondeados */
    color: white; /* Asegura que el texto sea legible */
}


.service-card button:hover,.service-card a:hover {
    background-color: var(--primary-color);
    color: var(--background-color);
}

.about {
    background: linear-gradient(135deg, #1a1a1a, #1a1a2e); /* fondo con degradado */
    padding: 4rem 0;
}

.about p {
    max-width: 800px;
    margin: 0 auto 2rem;
    text-align: center;
    color: var(--secondary-text-color);
}

.contact form {
    display: grid;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.contact input,
.contact textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--secondary-text-color);
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
}

.contact textarea {
    height: 150px;
}

footer {
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--text-color);
    padding: 2rem 0;
    text-align: center;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links a {
    color: var(--text-color);
    font-size: 1.5rem;
    margin-left: 1rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        padding: 1rem 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 1rem 0;
    }

    .menu-toggle {
        display: block;
    }

    header {
        padding: 6rem 0 3rem;
    }

    header h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    footer .container {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Estilo general de la sección */
    body{
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #121212;
    color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.blog-section {
    background-color: #1a1a1a;
    padding: 60px 20px;
    text-align: center;
}

/* Título de la sección */
.blog-section h2 {
    font-size: 2rem;
    color: white;
    margin-bottom: 40px;
}

/* Diseño de la cuadrícula */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Tarjetas de blog */
.blog-card {
    background: #222;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    text-align: left;
}

/* Efecto hover */
.blog-card:hover {
    transform: translateY(-5px);
}

/* Títulos de las tarjetas */
.blog-card h3 {
    font-size: 1.5rem;
    color:#3498db;
}

/* Descripción */
.blog-card p {
    color: #ccc;
    line-height: 1.6;
}

/* Enlace "Leer más" */
.blog-card a {
    display: inline-block;
    margin-top: 15px;
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
}

.blog-card a:hover {
    text-decoration: underline;
}



.calendar-section {
    background-color: #121212;
    color: #d0eaff;
    padding: 60px 20px;
    text-align: center;
  }
  
  .calendar-container {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .calendar {
    background-color: #111827;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 0 15px rgba(30, 144, 255, 0.4);
  }
  
  .calendar-header .month {
    font-size: 1.5rem;
    color: #66b3ff;
    font-weight: bold;
  }
  
  .calendar-body {
    margin-top: 20px;
  }
  
  .day-names, .days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
  }
  
  .day-names span {
    font-weight: bold;
    color: #4fc3f7;
  }
  
  .days span {
    background: #1e293b;
    padding: 10px;
    border-radius: 10px;
    transition: background 0.3s ease;
  }
  
  .days span:hover {
    background: #38bdf8;
    cursor: pointer;
    color: black;
  }
  
  .calendar-btn {
    margin-top: 20px;
    display: inline-block;
    background: #38bdf8;
    color: #222;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s ease;
  }
  
  .calendar-btn:hover {
    background: #0ea5e9;
  }


/* Contenedor del footer */
footer {
    background-color: #222;
    background: linear-gradient(135deg, #1a1a1a, #1a1a2e); /* fondo con degradado */
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

/* Títulos de las secciones */
footer strong {
    font-size: 1.2em;
    color: #3498db;
    display: block;
    margin-bottom: 10px;
}

/* Enlaces */
footer a {
    color: #ecf0f1;
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.9em;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #3498db;
}

/* Secciones */
footer .section {
    margin-bottom: 20px;
}

/* Legal y copyright */
footer .legal {
    margin-top: 20px;
    font-size: 0.9em;
    background: linear-gradient(135deg, #1a1a1a, #1a1a2e); /* fondo con degradado */
}

footer .copyright {
    margin-top: 20px;
    font-size: 0.8em;
    background: linear-gradient(135deg, #1a1a1a, #1a1a2e); /* fondo con degradado */
}

/* Separador */
footer .separator {
    margin: 0 10px;
    background: linear-gradient(135deg, #1a1a1a, #1a1a2e); /* fondo con degradado */
}

/* Efecto hover para los enlaces de redes sociales */
footer .social-links a:hover {
    transform: translateY(-3px);
}

/* Estilo responsivo */
@media (max-width: 768px) {
    footer a {
        display: block;
        margin: 10px 0;
    }

    footer .separator {
        display: none;
    }
}

/*estilo de la seccion del video*/
.video-card {
    width: 90%;
    max-width: 700px;
    margin: 50px auto;
    padding: 25px;
    background: linear-gradient(135deg, #1a1a1a, #1a1a2e); /* fondo con degradado */
    border-radius: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
    text-align: center;
  }
  
  .video-card h2 {
    margin-bottom: 20px;
    font-family: 'Arial', sans-serif;
    color: #fff;
  }
  
  .video-card video {
    width: 100%;
    height: auto;
    border-radius: 15px;
    outline: none;
  }
  .contenedor-sobres {
    background: linear-gradient(135deg, #1a1a1a, #1a1a2e); /* fondo con degradado */
    display: flex; /* ACTIVAMOS FLEX */
    justify-content: center; /* centrado horizontal */
    gap: 20px; /* espacio entre tarjetas */
    flex-wrap: wrap; /* para que se acomoden en móviles si no caben */
    padding: 40px 0;
  }
  
  .sobre {
    position: relative;
    width: 350px; /* tamaño fijo para cada tarjeta */
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
  }
  
  .sobre img.card-img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  .card-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    padding: 20px;
    color: white;
    background: rgba(0, 0, 0, 0.4); /* fondo semi-transparente */
    width: 100%;
    height: 100%;
  }
  
  .card-title {
    font-size: 20px;
    margin-bottom: 10px;
  }
  
  .card-text {
    font-size: 14px;
    
    
  }
  :root {
    --color-primary-white: rgb(240, 240, 240);
  }
  
  .main-tarjeta {
    background: linear-gradient(135deg, #1a1a1a, #1a1a2e); /* fondo con degradado */
    display: flex;
    text-align: justify;
    justify-content: center;
    align-items: center;
    padding: 100px;
    font-family: 'Roboto', sans-serif;
  }
  
  .main-tarjeta .card {
    width: 50rem;
    height: 36rem;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    color: var(--color-primary-white);
    box-shadow: 0 10px 30px 5px rgba(0, 0, 0, 0.2);
  }
  
  
  .main-tarjeta .card img {
    position: absolute;
    object-fit: cover;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.9;
    transition: opacity .2s ease-out;
  }
  
  .main-tarjeta .card-content {
    position: absolute;
    inset: 0;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }
  
  .main-tarjeta .card h2 {
    margin-bottom: 15px;
    text-transform: uppercase;
    font-family: 'Roboto Condensed', sans-serif;
  }
  
  .main-tarjeta .card p {
    opacity: 0;
    max-width: 100%;
    margin-bottom: 100px;
    transition: opacity .3s ease-out;
  }
  
  .main-tarjeta .card a.button {
    display: inline-flex;
    align-items: center;
    opacity: 0;
    color: var(--color-primary-white);
    text-decoration: none;
    transition: opacity .3s ease-out;
    font-weight: bold;
  }
  
  .main-tarjeta .card:hover p,
  .main-tarjeta .card:hover a.button {
    opacity: 1;
    
  }
  
  .main-tarjeta .card:hover img {
    opacity: 1;
  }
  
  .material-symbols-outlined {
    margin-left: 8px;
  } 
  .justificado {
    text-align: justify;
  }
  
  .card-content {
    text-align: justify;
}


  

  
  