@import url(/css/all.css);
.main-content-area {
        display: flex;
        flex-flow: column;
        margin-left: auto;
        width: 100%;
        min-height: 100vh;
}
.content-wrapper {
        width: 100%;
}
.notification-bell{
        width: 50px; height: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 25px;
        color: black;
        transform-origin: top center;
        will-change: transform;
        animation: bellCycle 10s ease-in-out infinite;
        margin-right: 10px;
}
@keyframes bellCycle {
      0%, 100% { transform: rotate(0deg); }
  
      /* 1st burst (around 0.0s - 0.8s) */
      2%  { transform: rotate(-15deg) translateX(-1px); }
      4%  { transform: rotate(15deg)  translateX(1px); }
      6%  { transform: rotate(-8deg)  translateX(-0.5px); }
      8%  { transform: rotate(0deg); }
  
      /* 2nd burst (around 2.5s - 3.3s) */
      27% { transform: rotate(-15deg) translateX(-1px); }
      29% { transform: rotate(15deg)  translateX(1px); }
      31% { transform: rotate(-8deg)  translateX(-0.5px); }
      33% { transform: rotate(0deg); }
  
      /* 3rd burst (around 5.0s - 5.8s) */
      52% { transform: rotate(-15deg) translateX(-1px); }
      54% { transform: rotate(15deg)  translateX(1px); }
      56% { transform: rotate(-8deg)  translateX(-0.5px); }
      58% { transform: rotate(0deg); }
  
      /* 4th burst (around 7.5s - 8.3s) */
      77% { transform: rotate(-15deg) translateX(-1px); }
      79% { transform: rotate(15deg)  translateX(1px); }
      81% { transform: rotate(-8deg)  translateX(-0.5px); }
      83% { transform: rotate(0deg); }
} 
@media (prefers-reduced-motion: reduce) {
      .bell { animation: none; transform: none; }
}
.cards-section {
      padding: 20px 0;
      display: flex;
      flex-flow: column;
      width: 100%;
}
.reward-container {
      background-color: var(--light_grey);
      border-radius: 5px;
      height: fit-content;
}
.main-content-area {
      display: flex;
      flex-flow: column;
      margin-left: auto;
      width: 100%;
      min-height: 100vh;
}
.content-wrapper {
      width: 100%;
      max-width: 1200px;
}
.welcome-header {
      width: 100%;
}
.welcome-title-wrapper {
      display: flex;
      justify-content: space-between;
      align-items: center;
}
.refer-image-section {
      display: flex;
}
.refer-image-container {
      height: 30vh;
      width: 100%;
      background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/photos/womeninlib.jpg');
      background-repeat: no-repeat;
      background-size: cover;
      background-position: center;
      border-radius: 5px;
      position: relative;
}
.image-text {
      position: absolute;
      bottom: 0;
      right: 0;
      margin: 0; 
      padding: 10px;
      font-size: 16px;
      color: var(--bg_sec);
      font-weight: 600;
}
.rewards-section {
      display: flex;
}
.reward-content {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
}
.reward-image {
      width: 25%;
      display: flex;
      justify-content: center;
      align-items: center;
}
.responsive-image {
      max-width: 100%;
      height: auto;
}
.reward-text {
      width: calc(75% - 30px);
      display: flex;
      justify-content: center;
      align-items: flex-start;
      flex-flow: column;
      gap: 10px;
}
.sponsor-box {
      background-color: var(--bg);
      color: white;
      padding: 5% 2rem;
      border-radius: 10px;
}
.cards-row {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 100px;
}
.card-item {
      background: var(--bg);
      width: 100%;
      color: var(--white);
      border-radius: 10px;
      height: 250px;
      text-decoration: none;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding: 1rem;
      transition: 1s;
}
.card-text-content {
      display: flex;
      flex-flow: column;
      gap: 10px;
      position: relative;
}
.card-text-content i{
        position: absolute;
        top: -12px; right: -12px;
        font-size: 20px !important;
        padding: 5px;
        color: white;
        border-radius: 50%;
        z-index: 10;
}
.card-icon {
        display: flex;
        justify-content: space-between;
        gap: 10px;
        align-items: center;
        width: 100%;
}
.card_number{
        font-size: 40px !important;
}
.card-icon i {
        font-size: 40px;
}
@media (min-width: 992px) {
      .main-content-area {
            width: 100%;
      }
}
.modal {
      display: none;
      position: fixed;
      z-index: 1000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      overflow: auto;
      background-color: rgba(0, 0, 0, 0.4);
      justify-content: center;
      align-items: center;
}
.modal-content {
      background-color: #fefefe;
      margin: auto;
      padding: 20px;
      border: 1px solid var(--light_grey);
      width: 80%;
      max-width: 500px;
      border-radius: 10px;
      position: relative;
      text-align: center;
      display: flex;
      flex-flow: column;
      gap: 10px;
}

@media screen and (min-width : 700px) {
      .card-item{
            width: calc(50% - 5px);
      }
}
@media screen and (min-width : 1200px) {
      .card-item{
            width: calc(33% - 6.66px);
      }
      .card-text-content h4{
            font-size: 20px
      }
}
@media (max-width: 991.98px) {
      .main-content-area {
            width: 100%;
      }
      .reward-container {
            width: 100%; /* Ensures full width. */
      }
      .reward-content {
            flex-flow: column;
            align-items: center;
            text-align: center;
            gap: 10px;
      }
      .reward-image {
            width: 50%;
      }
      .reward-text {
            width: 100%;
            align-items: center;
      }
}
