body {
    font-family: Arial, sans-serif;
  }
  main{
    margin: 105px 0;
    line-height: 1.4;
    box-sizing: border-box;
}


  .blog-title {
    color: var(--Neutral-07, #0A2640);
    text-align: center;
    font-size: clamp(25px, 8vw, 55px);
    font-style: normal;
    font-weight: 700;
    margin: 0;
    padding-top: 80px;
  }
  
  .quote {
    color: var(--Neutral-06, #495460);
    text-align: center;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
    display: flex;
    justify-content: center;
    margin: 0 30px;
  }
  
  .quote p {
    margin: 10px 0;
  }

.process {
    padding: 100px 6%;
    background-color: #F9F9F7;
}

.process h2 {
    font-size: 2.4rem;
}

#tab_section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
    font-size: 1.4rem;
    padding-bottom: 0;
}

/* Add this to your existing CSS or create a new CSS file */
.tab_btn {
    cursor: pointer;
    padding: 10px 20px;
    color: #333;
    text-align: center;
    line-height: 1.6;
    font-weight: 500;
}



.tab_btn.active {
    background-color: #fff;
    color: red;
    margin-top: 0;
    border-bottom: 2px red solid;
    box-shadow: #3333330e 0 -9px 20px 9px;
}

.tabsection {
    background-color: #fff;
    margin-top: 0;
    border-top: 1px solid #4d4c4c5e;
}

.hidden {
    display: none;
}


.section-info p {
    color: #333333a2;
    font-size: 1.6rem;
}


.section-container {
    padding: 2rem;
    display: flex;
    align-items: center;
}



@media (max-width:940px) {
    #tab_section {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
        grid-auto-flow: row;
        font-size: 1.6rem;
    }

    .section-container {
        flex-wrap: wrap;
        justify-content: center;
    }


}


/* ------------------------------------- */
.header-message {
    text-align: center;
    margin: 20px 0;
    font-size: 16px;
    font-weight: bold;
    color: #333;
  }

  .header-message span {
    color: #AD343E;
  }

  .blog-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin: 50px auto;
    max-width: 1200px;
  }

  .card {
    border-radius: 12px;
    border: 1px solid var(--Neutral-02, #F9F9F7);
    background: var(--Neutral-01, #FFF);
    overflow: hidden;
    box-shadow: 0px 2.979px 59.574px 0px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
  }

.card:hover {
    transform: scale(1.05);
}

.card video {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
}

.card .info {
    color: var(--Neutral-05, #737865);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    margin: 0;
    text-align: justify;
    margin-top: 10px;
}

.card h2 {
    color: var(--Neutral-07, #2C2F24);
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 26px;
    text-align: center;
    padding: 0 10px;
}

.card a {
    color: #AD343E;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    width: 100%;
    margin-top: 20px;
    display: inline-block;
}

.card .card-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card button {
    color: #fff;
    background-color: #AD343E;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 8px;
    margin-top: 10px;
    transition: background-color 0.3s;
}

.card button:hover {
    background-color: #8B2B31;
}

/* Hover Effect for Card Video */
.card video:hover {
    filter: brightness(0.7);
    cursor: pointer;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.card .card-img {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
}

.modal-content {
    position: relative;
    width: 90%;
    height: 80%;
    max-width: 900px;
    background-color: #111;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.modal-header {
    font-size: 24px;
    color: #fff;
    margin-bottom: 10px;
    text-align: center;
    width: 100%;
    padding: 10px;
    background: linear-gradient(45deg, #6a0572, #a903db);
    border-radius: 12px;
    margin-top: 5px;
}



.modal-close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 999;
}

.modal-close:hover,
.modal-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
.modal-video {
  width: 100%;
  height: 100%;
  border-radius:12px 12px  0 0 ;
}

.modal-img {
  width: 80%;
  height: auto;
  border-radius: 12px;
}
/* ------------------------------------------------------------------- */

  .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
  }

  .pagination button {
    margin: 0 10px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    background-color: #AD343E;
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
  }

  .pagination button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
  }

  .page-indicator {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 0 20px;
  }

  .page-indicator span {
    display: inline-block;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 20px;
    background-color: #f0f0f0;
    color: #333;
    font-size: 16px;
  }

  .page-indicator .active {
    background-color: #AD343E;
    color: #fff;
  }

  @media (max-width: 768px) {
    .blog-container {
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
      gap: 16px;
      padding: 0 10px;
    }
  
    .card h2 {
      font-size: 18px;
    }
  
    .pagination button {
      width: 35px;
      height: 35px;
      font-size: 14px;
    }
  
    .page-indicator span {
      padding: 8px 12px;
      font-size: 14px;
    }
  }
  
  @media (max-width: 480px) {
    .blog-container {
      grid-template-columns: 1fr;
      gap: 12px;
      padding: 0 10px;
    }
  
    .card h2 {
      font-size: 16px;
    }
  
    .pagination button {
      width: 30px;
      height: 30px;
      font-size: 12px;
    }
  
    .page-indicator span {
      padding: 6px 10px;
      font-size: 12px;
    }
    .modal-img {
      width: 100%;
      height: auto;
      border-radius: 12px;
    }
  }