* {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #172026;
    
  }
  
  /* Header */
  header {
    top: 0;
    left: 0;
    z-index: 110;
    position: fixed;
    width: 100%;
    padding: 10px 0;
    display: flex;
    align-items: center;
    transition: 0.1s;
    justify-content: space-around;
    background: linear-gradient(90deg, black, purple, white);
  }
  
  .menu-hamburguesa {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: grey;
  }
  
  .menu-hamburguesa i {
    font-size: 2rem;
  }
  
  .abajo{
    background-color: #ffffff;
    box-shadow: 0px 7px 12px 0 rgba(20, 20, 20, 0.3);
  }
  
  .logo{
    display: flex;
    align-items: center;
    gap: 15px;
  }
  
  .logo img{
    width: 125px;
    height: 70px;
  }
  
  nav ul {
    gap: 20px;
    padding: 0;
    list-style: none;
    width: 100%;
    display: flex;
    justify-content: space-around;
  }
  
  nav a {
    text-decoration: none;
    text-transform: capitalize;
    color: black;
    font-weight: bold;
    font-size: 1.2rem;
    position: relative;
  }
  
  nav a:hover{
    color: black;
  }
  
  nav a::before{
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0%;
    height: 3px;
    background-color: black;
    transition: all .6s;
  }
  
  nav a:hover::before{
    width: 100%;
  }
  
  nav p{
    font-size: 1.2rem;
    color: black;
  }
  /* main */
  main{
    padding-top: 90px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .sections {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
  }
  
  .sections h2{
    color: #172026;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
  }
  
  .sections h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 25%;
    height: 4px;
    background:linear-gradient(90deg, white, purple);
    border-radius: 2px;
    }
  
  .section {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  /* Sección ¿Qué es? */
  .que-es-section h2 {
    color: #172026;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
  }
  
  .que-es-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 35%;
    height: 4px;
    background:linear-gradient(90deg, white, purple);
    border-radius: 2px;
    }
  
  .que-es-texto {
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 50px;
  }
  
  .que-es-texto .intro {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #34495e;
    margin-bottom: 2rem;
    text-align: justify;
  }
  
  .manifestaciones {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    }
    
  .manifestaciones h3 {
    color: #2ecc71;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    }
  
  .manifestaciones ul {
      list-style: none;
    padding: 0;
  }
  
  .manifestaciones li {
    font-size: 1.1rem;
    color: #34495e;
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
  }
  
  .manifestaciones li i {
    color: #2ecc71;
    position: absolute;
    left: 0;
    top: 0.2rem;
    }
  
  .que-es-texto .conclusion {
    font-size: 1rem;
    line-height: 1.8;
    color: #34495e;
    margin-top: 2rem;
    text-align: center;
  }
  
  /* Sección Tipos de Bullying */
  .tipos-section h2 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
  }
  
  .tipos-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30%;
    height: 4px;
    background: linear-gradient(90deg, #172026, #2ecc71);
    border-radius: 2px;
    }
  
  .tipos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    }
  
  .tipo-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .tipo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.35);
  }
  
  .tipo-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
  }
  
  .tipo-img img {
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
      transition: transform 0.3s ease;
    }
  
  .tipo-contenido {
    padding: 1.5rem;
    }
  
  .tipo-contenido h3 {
    color: purple;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    }
    
  
  .tipo-contenido p {
    color: #34495e;
    line-height: 1.6;
    margin-bottom: 1rem;
  }
  
  .btn-saber-mas {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: #2ecc71;
    color: white;
      text-decoration: none;
    border-radius: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
  
  .btn-saber-mas:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid #2ecc71;
    background: #ffffff;
    color: #2ecc71;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
  
  /* Sección de Video */
  .video-section h2 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
  }
  
  .video-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30%;
    height: 4px;
    background:linear-gradient(90deg, white, purple);
    border-radius: 2px;
  }
  
  .video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
  
  .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
      width: 100%;
    height: 100%;
      border: none;
    }
  
    footer {
      background: linear-gradient(90deg, black, purple, white);
      display: flex;
      justify-content: center;
      text-align: center;
      gap: 15px;
      padding: 20px;
      margin-top: 40px;
      color: white;
      font-size: 0.9rem;
    }
    footer p{
      color: black;
    }
  
  /* Media Queries */
  @media screen and (max-width: 1600px) {
  
  }
  
  @media screen and (max-width: 1024px) {
    .tipos {
      grid-template-columns: 1fr;
      max-width: 800px;
    }
  
    .tipo {
      display: flex;
      flex-direction: column;
    }
  
    .tipo .img {
      height: 300px;
    }
  }
  
  @media screen and (max-width: 768px) {
    .menu-hamburguesa {
      display: block;
    }
  
    nav {
      position: fixed;
      top: 90px;
      left: -100%;
      width: 100%;
      height: calc(100vh - 90px);
      background-color: #ffffff;
      transition: 0.3s;
    }
  
    nav.active {
      left: 0;
    }
  
    nav ul {
      flex-direction: column;
      align-items: center;
      padding: 20px 0;
    }
  
    .tipos {
      padding: 15px;
      gap: 20px;
    }
  
    .tipo .img {
      height: 250px;
    }
  
    .tipo .texto {
      padding: 15px;
    }
  
    .tipo .texto h3 {
      font-size: 1.3rem;
    }
  
    .tipo .texto p {
      font-size: 0.95rem;
    }
  
    .sections {
      padding: 1rem;
    }
  
    .section {
      padding: 1.5rem;
    }
  
    .que-es-section h2,
    .tipos-section h2,
    .video-section h2 {
      font-size: 2rem;
    }
  
    .que-es-texto .intro,
    .que-es-texto .conclusion {
      font-size: 1.1rem;
    }
  
    .manifestaciones {
      padding: 1.5rem;
    }
  
    .manifestaciones h3 {
      font-size: 1.3rem;
    }
  
    .manifestaciones li {
      font-size: 1rem;
    }
  
    .tipo-contenido h3 {
      font-size: 1.3rem;
    }
  }
  
  @media screen and (max-width: 480px) {
    .logo h1 {
      font-size: 2rem;
    }
  
    .logo img {
      width: 100px;
      height: 60px;
    }
  
    .tipos {
      padding: 10px;
      gap: 15px;
    }
  
    .tipo .img {
      height: 200px;
    }
  
    .tipo .texto {
      padding: 12px;
    }
  
    .tipo .texto h3 {
      font-size: 1.2rem;
    }
  
    .tipo .texto p {
      font-size: 0.9rem;
    }
  
    .sections {
      padding: 0.5rem;
    }
  
    .section {
      padding: 1rem;
    }
  
    .que-es-section h2,
    .tipos-section h2,
    .video-section h2 {
      font-size: 1.8rem;
    }
  
    .que-es-texto .intro,
    .que-es-texto .conclusion {
      font-size: 1rem;
    }
  
    .manifestaciones {
      padding: 1rem;
    }
  
    .manifestaciones h3 {
      font-size: 1.2rem;
    }
  
    .manifestaciones li {
      font-size: 0.9rem;
    }
  
    .tipo-contenido h3 {
      font-size: 1.2rem;
    }
  
    .btn-saber-mas {
      padding: 0.6rem 1.2rem;
      font-size: 0.9rem;
    }
  }




  
  /* Secciones */
  
  
  /* Secciones */
  
  main{
    padding-top: 90px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .sections{
    gap: 50px;
    width: 90%;
    display: grid;
    padding: 40px 20px;  
  }
  .sections h1{
    color: #172026;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
  }
  
  .sections h1::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 4px;
    background:linear-gradient(90deg, white, purple);
    border-radius: 2px;
  }
  
  .texto-inicial{
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 80%;  
    margin: 0 auto;
  }
  
  .texto-inicial h1{
    font-weight: bold;
    color: purple;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
  }
  
  .texto-inicial h1::after{
    width: 0%;
  }
  
  .texto-inicial h2{
    font-weight: bold;
    color: #666;
    border-bottom: 0px solid #04BFAD;
    font-size: 1.3rem;
    text-align: center;
    position: relative;
  }
  
  .casos {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 40px 20px;
    width: 80%;
    margin: 0 auto;
  }
  
  .categorias {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 50px;
  }
  
  .categoria h2 {
    color: #172026;
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
  }
  
  
  .cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }
  
  .card {
    text-decoration: none;
    background-color: #ffffff;
    border: 2px solid purple;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
  }
  
  .card:hover{
    background-color: purple;
  }
  
  .card-content {
    position: relative;
    z-index: 1;
  }
  
  .card-expanded {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    background-color: #ffffff;
    border: 2px solid black;
    padding: 30px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 101;
    display: flex;
    flex-direction: column;
    border-radius: 15px;
    box-shadow: 0 0 600px rgba(0, 0, 0, 0.5);
  }
  
  .card.expanded .card-expanded {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
  }
  
  .card.expanded {
    z-index: 102;
  }
  
  .card-expanded .card-img {
    width: 100%;
    height: 300px;
    margin-bottom: 20px;
  }
  
  .card-expanded h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #04BFAD;
  }
  
  .card-expanded h3:hover {
    color: purple;
  }
  
  .card-expanded p {
    color: #172026;
    margin: 10px 0;
    font-size: 1.1rem;
    line-height: 1.6;
  }
  
  .close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 103;
  }
  
  .close-button::before,
  .close-button::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: purple;
    top: 50%;
    left: 0;
  }
  
  .close-button::before {
    transform: rotate(45deg);
  }
  
  .close-button::after {
    transform: rotate(-45deg);
  }
  
  .card-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
  }
  
  .card-img img {
    width: 100%;
    height: 100%;
   
   transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* En móviles (iPhone, Android, tablets) se desactiva el hover */
@media (hover: none) {
  .card:hover img {
    transform: none !important;
  }
}

  

  
  .card h3 {
    color: black;
    font-size: 1.2rem;
    padding: 15px;
    text-align: center;
    margin: 0;
  }
  
  .card h3:hover{
    color: #ffffff;
  }
  
  .card-expanded h3:hover {
    color: purple;
  }
  
  .casos-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }
  
  .caso-card {
    display: flex;
    background-color: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }
  
  .caso-card .contenido {
    flex: 0 0 65%;
    padding: 30px;
  }
  
  .caso-card .imagen {
    flex: 0 0 35%;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }
  
  .caso-card .imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
  }
  
  .caso-card h2 {
    color: #04BFAD;
    font-size: 1.8rem;
    margin-bottom: 10px;
  }
  
  .caso-card h3 {
    color: #172026;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: normal;
  }
  
  .caso-card p {
    color: #172026;
    font-size: 1.1rem;
    line-height: 1.6;
  }
  
  iframe {
    width: 100%;
    height: 315px;
    border-radius: 10px;
    margin-top: 10px;
  }
  
  .cta {
    text-align: center;
    padding: 20px;
    color: purple;
    font-size: 1.5em;
    font-weight: bold;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 0px 10px purple;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .highlight {
    background-color: #ffe6f2;
    padding: 10px;
    border-left: 5px solid #04BFAD;
    margin: 10px 0;
  }
  
  /* footer */

  
  /* Media Queries */
  @media screen and (max-width: 1600px) {
  
  }
  
  @media screen and (max-width: 1024px) {
    .casos {
      padding: 30px 15px;
    }
  
    .caso-card {
      flex-direction: column;
    }
  
    .caso-card .contenido {
      flex: 0 0 100%;
      padding: 25px;
    }
  
    .caso-card .imagen {
      flex: 0 0 300px;
      order: -1;
    }
  
    .caso-card h2 {
      font-size: 1.6rem;
    }
  
    .caso-card h3 {
      font-size: 1.1rem;
    }
  
    .caso-card p {
      font-size: 1rem;
    }
  
    .videos-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 25px;
    }
  
    .videos h1 {
      font-size: 2.2rem;
    }
  
    .video-info h2 {
      font-size: 1.3rem;
    }
  
    .cards-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  
    .categoria {
      padding: 25px;
    }
  
    .categoria h2 {
      font-size: 1.8rem;
    }
  
    .card-expanded {
      width: 95%;
      padding: 25px;
    }
  
    .card-expanded .card-img {
      height: 250px;
    }
  
    .card-expanded h3 {
      font-size: 1.8rem;
    }
  
    .card-expanded p {
      font-size: 1rem;
    }
  }
  
  @media screen and (max-width: 768px) {
    .menu-hamburguesa {
      display: block;
    }
  
    nav {
      position: fixed;
      top: 90px;
      left: -100%;
      width: 100%;
      height: calc(100vh - 90px);
      background-color: #ffffff;
      transition: 0.3s;
    }
  
    nav.active {
      left: 0;
    }
  
    nav ul {
      flex-direction: column;
      align-items: center;
      padding: 20px 0;
    }
    .casos h1 {
      font-size: 2rem;
      margin-bottom: 30px;
    }
  
    .casos-grid {
      gap: 30px;
    }
  
    .caso-card .contenido {
      padding: 20px;
    }
  
    .caso-card .imagen {
      flex: 0 0 250px;
    }
  
    .videos {
      padding: 30px 15px;
    }
  
    .videos h1 {
      font-size: 2rem;
      margin-bottom: 30px;
    }
  
    .videos-grid {
      gap: 20px;
    }
  
    .video-info {
      padding: 15px;
    }
  
    .video-info h2 {
      font-size: 1.2rem;
    }
  
    .video-info p {
      font-size: 0.95rem;
    }
  
    .categorias {
      gap: 30px;
    }
  
    .categoria {
      padding: 20px;
    }
  
    .categoria h2 {
      font-size: 1.6rem;
      margin-bottom: 20px;
    }
  
    .card-img {
      height: 180px;
    }
  
    .card h3 {
      font-size: 1.1rem;
      padding: 12px;
    }
  
    .card-expanded {
      padding: 20px;
    }
    
    .card-expanded .card-img {
      height: 200px;
    }
  
    .card-expanded h3 {
      font-size: 1.6rem;
    }
  
    .card-expanded p {
      font-size: 0.95rem;
    }
  }
  
  @media screen and (max-width: 720px){
    .cards-grid {
      gap: 10px;
    }
  }
  
  @media screen and (max-width: 645px){
    .cards-grid {
      grid-template-columns: 1fr;
    }
  }
  
  @media screen and (max-width: 480px) {
    .logo h1 {
      font-size: 2rem;
    }
  
    .logo img {
      width: 100px;
      height: 60px;
    }
    .casos {
      padding: 20px 10px;
    }
  
    .casos h1 {
      font-size: 1.8rem;
      margin-bottom: 20px;
    }
  
    .casos-grid {
      gap: 20px;
    }
  
    .caso-card .contenido {
      padding: 15px;
    }
  
    .caso-card .imagen {
      flex: 0 0 200px;
    }
  
    .caso-card h2 {
      font-size: 1.4rem;
    }
  
    .caso-card h3 {
      font-size: 1rem;
    }
  
    .caso-card p {
      font-size: 0.95rem;
    }
  
    .videos-grid {
      grid-template-columns: 1fr;
      gap: 20px;
    }
  
    .videos h1 {
      font-size: 1.8rem;
      margin-bottom: 20px;
    }
  
    .video-info h2 {
      font-size: 1.1rem;
    }
  
    .video-info p {
      font-size: 0.9rem;
    }
  
    .cards-grid {
      grid-template-columns: 1fr;
    }
  
    .categoria {
      padding: 15px;
    }
  
    .categoria h2 {
      font-size: 1.4rem;
    }
  
    .card-img {
      height: 160px;
    }
  
    .card h3 {
      font-size: 1rem;
      padding: 10px;
    }
  
    .card-expanded {
      padding: 15px;
    }
    
    .card-expanded .card-img {
      height: 180px;
    }
  
    .card-expanded h3 {
      font-size: 1.4rem;
    }
  
    .card-expanded p {
      font-size: 0.9rem;
    }
  }

  
  
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
  }
  
  .overlay.active {
    opacity: 1;
    visibility: visible;
  }
  .categoria h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 25%;
    height: 4px;
    background:linear-gradient(90deg, white, purple);
    border-radius: 2px;
    }
  
  
  